{"id":"CVE-2026-143215","state":"PUBLISHED","title":"net: fix mac_len of skbs copied by generic XDP","description":"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().","publishedAt":"2026-12-03T09:20:35.272Z","updatedAt":"2026-12-03T09:20:35.272Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"24982032f1d9849adb22ffe570d1cbfb381a378f","versionType":"git"},{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"e56eefcd48eafb8b65690a6bd226b5c1f55b60c1","versionType":"git"},{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"98ef41482363a4be954ebfa3df0c9268a4556461","versionType":"git"},{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"71578e43b8a6723025579a08a707f4975a3cd567","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/skbuff.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/skbuff.c"]}],"references":["https://git.kernel.org/stable/c/24982032f1d9849adb22ffe570d1cbfb381a378f","https://git.kernel.org/stable/c/e56eefcd48eafb8b65690a6bd226b5c1f55b60c1","https://git.kernel.org/stable/c/98ef41482363a4be954ebfa3df0c9268a4556461","https://git.kernel.org/stable/c/71578e43b8a6723025579a08a707f4975a3cd567"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143215.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143215","state":"PUBLISHED","datePublished":"2026-12-03T09:20:35.272Z","dateUpdated":"2026-12-03T09:20:35.272Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.360Z"},"containers":{"cna":{"title":"net: fix mac_len of skbs copied by generic XDP","descriptions":[{"lang":"en","value":"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()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"24982032f1d9849adb22ffe570d1cbfb381a378f","versionType":"git"},{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"e56eefcd48eafb8b65690a6bd226b5c1f55b60c1","versionType":"git"},{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"98ef41482363a4be954ebfa3df0c9268a4556461","versionType":"git"},{"version":"e6d5dbdd20aa6a86974af51deb9414cd2e7794cb","status":"affected","lessThan":"71578e43b8a6723025579a08a707f4975a3cd567","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/skbuff.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/skbuff.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/24982032f1d9849adb22ffe570d1cbfb381a378f"},{"url":"https://git.kernel.org/stable/c/e56eefcd48eafb8b65690a6bd226b5c1f55b60c1"},{"url":"https://git.kernel.org/stable/c/98ef41482363a4be954ebfa3df0c9268a4556461"},{"url":"https://git.kernel.org/stable/c/71578e43b8a6723025579a08a707f4975a3cd567"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:35.272Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}