CVE-2026-143343

Source
https://cve.org/CVERecord?id=CVE-2026-143343
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143343.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143343
Downstream
Published
2026-12-03T09:22:03Z
Modified
2026-12-03T11:02:05Z
Summary
net: stmmac: copy XDP metadata in AF_XDP zero-copy RX
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143343.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bba2556efad66e7eaa56fece13f7708caa1187f8
Fixed
4d55db82f14624c76beb90fe851570afa9fe4c28
Fixed
c2ba6a602e4a57d43f9026f4100c5c9aac44eaa0
Fixed
92a4801fdebf726719f561e08cc20fc04e3fddba
Fixed
e04314bb574107b98d0eae6617e8a5af2ff4b453
Fixed
41d78e9ac0984f0e9577e5312e62400b5a6760c8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143343.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.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-143343.json"