{"api_version":"1","generated_at":"2026-11-30T19:24:03+00:00","cve":"CVE-2026-139170","urls":{"html":"https://cve.report/CVE-2026-139170","api":"https://cve.report/api/cve/CVE-2026-139170.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139170","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139170"},"summary":{"title":"net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit\n\nlan966x_fdma_xmit_xdpf() transmits both XDP_TX frames and xdp_frames\nfrom ndo_xdp_xmit, and builds the DB with\nlan966x_fdma_xdp_tx_dataptr_cb(), which adds XDP_PACKET_HEADROOM to the\nstored DMA address.\n\nBefore this patch, the headroom is also added for xdp_frames. For\nXDP_TX the stored address is the start of the page pool page, but for an\nxdp_frame it is the mapping of the IFH placed in front of the frame\ndata, so frames from ndo_xdp_xmit are read from XDP_PACKET_HEADROOM\nbytes after their IFH.\n\nUse the plain tx dataptr callback for xdp_frames.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with an\nXDP program redirecting frames from one port to another: none of the 20\nframes arrived intact on the link partner. With the fix all 20 did.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:36","updated_at":"2026-11-30 14:18:36"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9d869f0432c3571756b6694b4dd33eaec3f457b6","name":"https://git.kernel.org/stable/c/9d869f0432c3571756b6694b4dd33eaec3f457b6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/92b35a3669db7cfb2fff5a58a09c2a3d3640bf89","name":"https://git.kernel.org/stable/c/92b35a3669db7cfb2fff5a58a09c2a3d3640bf89","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dd75b001792e2f67538b6bdc7ee66f4d352fbca9","name":"https://git.kernel.org/stable/c/dd75b001792e2f67538b6bdc7ee66f4d352fbca9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ce3192e0dafa829e76edefecc16a32589b53c875","name":"https://git.kernel.org/stable/c/ce3192e0dafa829e76edefecc16a32589b53c875","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139170","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139170","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf 9d869f0432c3571756b6694b4dd33eaec3f457b6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf dd75b001792e2f67538b6bdc7ee66f4d352fbca9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf 92b35a3669db7cfb2fff5a58a09c2a3d3640bf89 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf ce3192e0dafa829e76edefecc16a32589b53c875 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9d869f0432c3571756b6694b4dd33eaec3f457b6","status":"affected","version":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","versionType":"git"},{"lessThan":"dd75b001792e2f67538b6bdc7ee66f4d352fbca9","status":"affected","version":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","versionType":"git"},{"lessThan":"92b35a3669db7cfb2fff5a58a09c2a3d3640bf89","status":"affected","version":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","versionType":"git"},{"lessThan":"ce3192e0dafa829e76edefecc16a32589b53c875","status":"affected","version":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_fdma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.12"},{"lessThan":"6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit\n\nlan966x_fdma_xmit_xdpf() transmits both XDP_TX frames and xdp_frames\nfrom ndo_xdp_xmit, and builds the DB with\nlan966x_fdma_xdp_tx_dataptr_cb(), which adds XDP_PACKET_HEADROOM to the\nstored DMA address.\n\nBefore this patch, the headroom is also added for xdp_frames. For\nXDP_TX the stored address is the start of the page pool page, but for an\nxdp_frame it is the mapping of the IFH placed in front of the frame\ndata, so frames from ndo_xdp_xmit are read from XDP_PACKET_HEADROOM\nbytes after their IFH.\n\nUse the plain tx dataptr callback for xdp_frames.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with an\nXDP program redirecting frames from one port to another: none of the 20\nframes arrived intact on the link partner. With the fix all 20 did."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:13.751Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9d869f0432c3571756b6694b4dd33eaec3f457b6"},{"url":"https://git.kernel.org/stable/c/dd75b001792e2f67538b6bdc7ee66f4d352fbca9"},{"url":"https://git.kernel.org/stable/c/92b35a3669db7cfb2fff5a58a09c2a3d3640bf89"},{"url":"https://git.kernel.org/stable/c/ce3192e0dafa829e76edefecc16a32589b53c875"}],"title":"net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139170","datePublished":"2026-11-30T13:32:13.751Z","dateReserved":"2026-11-30T13:22:15.918Z","dateUpdated":"2026-11-30T13:32:13.751Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:36","lastModifiedDate":"2026-11-30 14:18:36","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139170","Ordinal":"1","Title":"net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit","CVE":"CVE-2026-139170","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139170","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit\n\nlan966x_fdma_xmit_xdpf() transmits both XDP_TX frames and xdp_frames\nfrom ndo_xdp_xmit, and builds the DB with\nlan966x_fdma_xdp_tx_dataptr_cb(), which adds XDP_PACKET_HEADROOM to the\nstored DMA address.\n\nBefore this patch, the headroom is also added for xdp_frames. For\nXDP_TX the stored address is the start of the page pool page, but for an\nxdp_frame it is the mapping of the IFH placed in front of the frame\ndata, so frames from ndo_xdp_xmit are read from XDP_PACKET_HEADROOM\nbytes after their IFH.\n\nUse the plain tx dataptr callback for xdp_frames.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with an\nXDP program redirecting frames from one port to another: none of the 20\nframes arrived intact on the link partner. With the fix all 20 did.","Type":"Description","Title":"net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit"}]}}}