CVE-2026-143215: net: fix mac_len of skbs copied by generic XDP

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: fix maclen of skbs copied by generic XDP

skbppcowdata() copies the header fields of the old skb with skbcopyheader(). skbcopyheader() does not copy maclen.

Generic XDP uses skbppcowdata() for programs with frags support. After such a program, the skb can have maclen 0. cpumapgenericredirect() and tc ingress then get the position of the Ethernet header wrong.

Copy maclen in skbppcowdata(), as devmapgenericredirect() does after skbcopy().

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.9.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux<=6.12.117-1, <=6.12.118-1, <=7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Which traffic paths are affected?

The issue applies when generic XDP runs a program with fragment support, causing skb_pp_cow_data() to copy an skb without preserving mac_len. Subsequent CPU-map generic redirects or TC ingress processing can then calculate the Ethernet header position incorrectly.

2

How can I identify whether the affected condition occurred?

Inspect skbs after execution of a generic XDP program with fragment support. An affected skb can have mac_len set to 0 before it reaches cpu_map_generic_redirect() or TC ingress.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203