{"id":"CVE-2026-143343","summary":"net: stmmac: copy XDP metadata in AF_XDP zero-copy RX","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: copy XDP metadata in AF_XDP zero-copy RX\n\nstmmac_construct_skb_zc() reserves headroom for the XDP metadata and\nrecords the length reported by the XDP program, but only copies the\npacket data starting at xdp-\u003edata. The bytes in\n[xdp-\u003edata_meta, xdp-\u003edata) are never copied into the new skb, so the\nskb advertises metadata that is not there: after eth_type_trans()\nanchors mac_header, data_meta points at uninitialized headroom instead\nof what the program wrote.\n\nCopy the metadata together with the packet data starting at\nxdp-\u003edata_meta, leaving skb-\u003edata at the start of the frame and the\nmetadata immediately before it, and record its length. This keeps\ndata_meta valid for the stack and TC BPF after eth_type_trans() anchors\nmac_header.","modified":"2026-12-03T11:02:05.845152572Z","published":"2026-12-03T09:22:03.255Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143343.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41d78e9ac0984f0e9577e5312e62400b5a6760c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d55db82f14624c76beb90fe851570afa9fe4c28"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92a4801fdebf726719f561e08cc20fc04e3fddba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2ba6a602e4a57d43f9026f4100c5c9aac44eaa0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e04314bb574107b98d0eae6617e8a5af2ff4b453"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143343.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143343"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}