Missing XDP metadata copy in Linux stmmac AF_XDP receive
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The stmmac Ethernet driver in the Linux kernel from 5.13 does not copy XDP metadata into the new socket buffer during AF_XDP zero-copy receive. The buffer advertises metadata that is uninitialized headroom, so data_meta points at data the XDP program never wrote for the network stack and TC BPF programs.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: copy XDP metadata in AF_XDP zero-copy RX stmmac_construct_skb_zc() reserves headroom for the XDP metadata and records the length reported by the XDP program, but only copies the packet data starting at xdp->data. The bytes in [xdp->data_meta, xdp->data) are never copied into the new skb, so the skb advertises metadata that is not there: after eth_type_trans() anchors mac_header, data_meta points at uninitialized headroom instead of what the program wrote. Copy the metadata together with the packet data starting at xdp->data_meta, leaving skb->data at the start of the frame and the metadata immediately before it, and record its length. This keeps data_meta valid for the stack and TC BPF after eth_type_trans() anchors mac_header.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 5.15.227, 6.12.120, 6.18.66, 7.3.7 or 7.4-rc2, matching the branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA Linux (Linux) Fixed in 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-12-03 Threatist record created from CVE-2026-143343
- 2026-12-03 Alias added: GHSA-8rp8-j563-9574
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
References
Other 5
- https://git.kernel.org/stable/c/4d55db82f14624c76beb90fe851570afa9fe4c28
- https://git.kernel.org/stable/c/c2ba6a602e4a57d43f9026f4100c5c9aac44eaa0
- https://git.kernel.org/stable/c/92a4801fdebf726719f561e08cc20fc04e3fddba
- https://git.kernel.org/stable/c/e04314bb574107b98d0eae6617e8a5af2ff4b453
- https://git.kernel.org/stable/c/41d78e9ac0984f0e9577e5312e62400b5a6760c8
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-143343 · CVE Program
- CVE-2026-143343 · NVD
- FIRST EPSS
- GHSA-8rp8-j563-9574 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-143343 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences