Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143215

net: fix mac_len of skbs copied by generic XDP

Description

In the Linux kernel, the following vulnerability has been resolved: net: fix mac_len of skbs copied by generic XDP skb_pp_cow_data() copies the header fields of the old skb with skb_copy_header(). skb_copy_header() does not copy mac_len. Generic XDP uses skb_pp_cow_data() for programs with frags support. After such a program, the skb can have mac_len 0. cpu_map_generic_redirect() and tc ingress then get the position of the Ethernet header wrong. Copy mac_len in skb_pp_cow_data(), as dev_map_generic_redirect() does after skb_copy().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e6d5dbdd20aa6a86974af51deb9414cd2e7794cb to < 24982032f1d9849adb22ffe570d1cbfb381a378faffected
  • e6d5dbdd20aa6a86974af51deb9414cd2e7794cb to < e56eefcd48eafb8b65690a6bd226b5c1f55b60c1affected
  • e6d5dbdd20aa6a86974af51deb9414cd2e7794cb to < 98ef41482363a4be954ebfa3df0c9268a4556461affected
  • e6d5dbdd20aa6a86974af51deb9414cd2e7794cb to < 71578e43b8a6723025579a08a707f4975a3cd567affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.12.120 to ≤ 6.12.*unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References