{"id":"CVE-2026-143352","summary":"bpf: Move the transport header with the moved headers","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Move the transport header with the moved headers\n\nbpf_skb_net_hdr_pop() removes len bytes at offset off.\nbpf_skb_net_hdr_push() does the opposite.\n\n           skb-\u003edata       off\n  before   | A             | removed | B            |\n  after              | A             | B            |\n                     skb-\u003edata       off\n\nmac_header and network_header move with A. transport_header moves only when\nit is equal to network_header. inner_transport_header never moves. This is\ncorrect only for a header in B. In bpf_lwt_seg6_adjust_srh()\ntransport_header is in A. bpf_skb_adjust_room() can remove both transport\nheaders. With an incorrect header offset, the stack can drop the skb or\nread outside of it.\n\nAlso move transport_header with A when it is in A. Set it to offset off\nwhen it is in the removed bytes. In BPF_ADJ_ROOM_MAC mode it is then equal\nto network_header. Do not unset it, because skb_gso_validate_mac_len() uses\nit without a check. After a removal, set inner_transport_header to off when\nit is not in B and skb-\u003eencapsulation is set. A has only outer headers.","modified":"2026-12-03T11:02:06.678464362Z","published":"2026-12-03T09:22:09.011Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143352.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f811231250a81da3a5218b9a7664def7e39d294"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68c1f1d96482156bab8ded8685a3226d8f6ff0ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9d08fe60fa728ce0e3a99085241e8e790fb14c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adcc9f8e68e6d7172cab2b3358aba1668fab07ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1c921433fd533dd4d512aa2b158405d860567e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5d26cdbbce358235f3cd12f6c0112dc6937bcca"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143352.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143352"}],"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"},{"fixed":"a9d08fe60fa728ce0e3a99085241e8e790fb14c6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143352.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}