{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143343","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.368Z","datePublished":"2026-12-03T09:22:03.255Z","dateUpdated":"2026-12-03T09:22:03.255Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:22:03.255Z"},"descriptions":[{"lang":"en","value":"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->data. The bytes in\n[xdp->data_meta, xdp->data) 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->data_meta, leaving skb->data 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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"],"versions":[{"version":"bba2556efad66e7eaa56fece13f7708caa1187f8","lessThan":"4d55db82f14624c76beb90fe851570afa9fe4c28","status":"affected","versionType":"git"},{"version":"bba2556efad66e7eaa56fece13f7708caa1187f8","lessThan":"c2ba6a602e4a57d43f9026f4100c5c9aac44eaa0","status":"affected","versionType":"git"},{"version":"bba2556efad66e7eaa56fece13f7708caa1187f8","lessThan":"92a4801fdebf726719f561e08cc20fc04e3fddba","status":"affected","versionType":"git"},{"version":"bba2556efad66e7eaa56fece13f7708caa1187f8","lessThan":"e04314bb574107b98d0eae6617e8a5af2ff4b453","status":"affected","versionType":"git"},{"version":"bba2556efad66e7eaa56fece13f7708caa1187f8","lessThan":"41d78e9ac0984f0e9577e5312e62400b5a6760c8","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"],"versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4d55db82f14624c76beb90fe851570afa9fe4c28"},{"url":"https://git.kernel.org/stable/c/c2ba6a602e4a57d43f9026f4100c5c9aac44eaa0"},{"url":"https://git.kernel.org/stable/c/92a4801fdebf726719f561e08cc20fc04e3fddba"},{"url":"https://git.kernel.org/stable/c/e04314bb574107b98d0eae6617e8a5af2ff4b453"},{"url":"https://git.kernel.org/stable/c/41d78e9ac0984f0e9577e5312e62400b5a6760c8"}],"title":"net: stmmac: copy XDP metadata in AF_XDP zero-copy RX","x_generator":{"engine":"bippy-1.2.0"}}}}