CVE-2026-143352
not scored yetbpf: Move the transport header with the moved headers
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < 68c1f1d96482156bab8ded8685a3226d8f6ff0ee; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < 5f811231250a81da3a5218b9a7664def7e39d294; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < adcc9f8e68e6d7172cab2b3358aba1668fab07ee; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < d1c921433fd533dd4d512aa2b158405d860567e0; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < e5d26cdbbce358235f3cd12f6c0112dc6937bcca; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < a9d08fe60fa728ce0e3a99085241e8e790fb14c6 | 68c1f1d96482156bab8ded8685a3226d8f6ff0ee, 5f811231250a81da3a5218b9a7664def7e39d294, adcc9f8e68e6d7172cab2b3358aba1668fab07ee, d1c921433fd533dd4d512aa2b158405d860567e0, e5d26cdbbce358235f3cd12f6c0112dc6937bcca, a9d08fe60fa728ce0e3a99085241e8e790fb14c6 |
| CVE List | Linux | Linux | = 4.18 |
References
- https://git.kernel.org/stable/c/5f811231250a81da3a5218b9a7664def7e39d294
- https://git.kernel.org/stable/c/68c1f1d96482156bab8ded8685a3226d8f6ff0ee
- https://git.kernel.org/stable/c/a9d08fe60fa728ce0e3a99085241e8e790fb14c6
- https://git.kernel.org/stable/c/adcc9f8e68e6d7172cab2b3358aba1668fab07ee
- https://git.kernel.org/stable/c/d1c921433fd533dd4d512aa2b158405d860567e0
- https://git.kernel.org/stable/c/e5d26cdbbce358235f3cd12f6c0112dc6937bcca
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)