CVE-2026-143351

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Check the offset in bpf_skb_generic_{push,pop}()

To make room for len bytes at offset off, bpf_skb_generic_push() moves the first off bytes and clears len bytes after them. It assumes that the first off bytes are in the linear part. But in bpf_skb_adjust_room() off can be the end of the IP header, and this header can be in a frag. Then the function reads and writes after skb->tail, and can damage skb_shared_info.

bpf_skb_generic_pop() checks off + len, but this u32 sum can wrap to a small value. bpf_skb_adjust_room() and bpf_skb_change_proto() calculate off from skb_mac_header_len(). This length is a very large u32 when network_header < mac_header. Then the check can pass, and memmove() reads and writes far outside the skb.

Return -ENOMEM from both functions, like the present check, when off > skb->len. Thus the sum cannot wrap. In bpf_skb_generic_push() also pull the first off bytes into the linear part. Now bpf_skb_adjust_room() fails when a prog grows an skb that ends before off. network_header stays wrong.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143352In the Linux kernel, the following vulnerability has been resolved: bpf: Move the transport header with the moved headers bpf_skb_net_hdr_CVE-2026-143353In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let lwt_in progs call into IPv6 when it is disabled With ipCVE-2026-143354In the Linux kernel, the following vulnerability has been resolved: bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol CVE-2026-143355In the Linux kernel, the following vulnerability has been resolved: bpf: Reset skb->cb after an lwt prog pushes an IP header IPCB(skb)->opCVE-2026-143356In the Linux kernel, the following vulnerability has been resolved: bpf: Move the MAC header in bpf_lwt_seg6_adjust_srh() bpf_skb_net_hdr_CVE-2026-143357In the Linux kernel, the following vulnerability has been resolved: bpf: Don't look for the SRH again in the End.BPF helpers A packet can CVE-2026-143358In the Linux kernel, the following vulnerability has been resolved: bpf: Set a dst for test runs of lwt_in progs When an lwt prog runs on CVE-2026-143359In the Linux kernel, the following vulnerability has been resolved: bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6 The mode BPF_LWT_ENCVE-2026-143368.2PIA's OIDC issuer allowlist for Jenkins tokens uses a bare string-prefix check (issuer.startswith(' https://ci.eclipse.org ') in is_issuer_kCVE-2026-143360In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let bpf_skb_adjust_room() raise gso_size to GSO_BY_FRAGS WhCVE-2026-143361In the Linux kernel, the following vulnerability has been resolved: bpf, cgroup: Keep the skb network offset signed cgroup_skb progs see aCVE-2026-143362In the Linux kernel, the following vulnerability has been resolved: bpf: Require prog fd or capability for cgroup detach Since the commit
CVE-2026-143351: Unscored | Vulnix