{"id":"CVE-2026-143215","summary":"net: fix mac_len of skbs copied by generic XDP","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix mac_len of skbs copied by generic XDP\n\nskb_pp_cow_data() copies the header fields of the old skb with\nskb_copy_header(). skb_copy_header() does not copy mac_len.\n\nGeneric XDP uses skb_pp_cow_data() for programs with frags support.\nAfter such a program, the skb can have mac_len 0.\ncpu_map_generic_redirect() and tc ingress then get the position of the\nEthernet header wrong.\n\nCopy mac_len in skb_pp_cow_data(), as dev_map_generic_redirect() does\nafter skb_copy().","modified":"2026-12-03T11:01:40.008146096Z","published":"2026-12-03T09:20:35.272Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143215.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/24982032f1d9849adb22ffe570d1cbfb381a378f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71578e43b8a6723025579a08a707f4975a3cd567"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98ef41482363a4be954ebfa3df0c9268a4556461"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e56eefcd48eafb8b65690a6bd226b5c1f55b60c1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143215.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143215"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb"},{"fixed":"24982032f1d9849adb22ffe570d1cbfb381a378f"},{"fixed":"e56eefcd48eafb8b65690a6bd226b5c1f55b60c1"},{"fixed":"98ef41482363a4be954ebfa3df0c9268a4556461"},{"fixed":"71578e43b8a6723025579a08a707f4975a3cd567"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143215.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.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-143215.json"}}],"schema_version":"1.9.2"}