CVE-2026-143352

Source
https://cve.org/CVERecord?id=CVE-2026-143352
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143352.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143352
Downstream
Published
2026-12-03T09:22:09Z
Modified
2026-12-03T11:02:06Z
Summary
bpf: Move the transport header with the moved headers
Details

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

bpf: Move the transport header with the moved headers

bpf_skb_net_hdr_pop() removes len bytes at offset off. bpf_skb_net_hdr_push() does the opposite.

       skb->data       off

before | A | removed | B | after | A | B | skb->data off

mac_header and network_header move with A. transport_header moves only when it is equal to network_header. inner_transport_header never moves. This is correct only for a header in B. In bpf_lwt_seg6_adjust_srh() transport_header is in A. bpf_skb_adjust_room() can remove both transport headers. With an incorrect header offset, the stack can drop the skb or read outside of it.

Also move transport_header with A when it is in A. Set it to offset off when it is in the removed bytes. In BPF_ADJ_ROOM_MAC mode it is then equal to network_header. Do not unset it, because skb_gso_validate_mac_len() uses it without a check. After a removal, set inner_transport_header to off when it is not in B and skb->encapsulation is set. A has only outer headers.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143352.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe94cc290f535709d3c5ebd1e472dfd0aec7ee79
Fixed
68c1f1d96482156bab8ded8685a3226d8f6ff0ee
Fixed
5f811231250a81da3a5218b9a7664def7e39d294
Fixed
adcc9f8e68e6d7172cab2b3358aba1668fab07ee
Fixed
d1c921433fd533dd4d512aa2b158405d860567e0
Fixed
e5d26cdbbce358235f3cd12f6c0112dc6937bcca
Show 1 more event Show fewer events
Fixed
a9d08fe60fa728ce0e3a99085241e8e790fb14c6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143352.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143352.json"