{"id":"CVE-2026-139170","aliases":["CVE-2026-139170"],"related":[],"kind":"vulnerability","state":"published","title":"net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:32:13.751Z","modified":"2026-11-30T14:18:36.003Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","fixed":"9d869f0432c3571756b6694b4dd33eaec3f457b6","status":"affected"},{"type":"git","introduced":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","fixed":"dd75b001792e2f67538b6bdc7ee66f4d352fbca9","status":"affected"},{"type":"git","introduced":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","fixed":"92b35a3669db7cfb2fff5a58a09c2a3d3640bf89","status":"affected"},{"type":"git","introduced":"29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf","fixed":"ce3192e0dafa829e76edefecc16a32589b53c875","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9d869f0432c3571756b6694b4dd33eaec3f457b6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd75b001792e2f67538b6bdc7ee66f4d352fbca9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92b35a3669db7cfb2fff5a58a09c2a3d3640bf89","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce3192e0dafa829e76edefecc16a32589b53c875","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139170","url":"https://www.cve.org/CVERecord?id=CVE-2026-139170","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:13.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139170","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139170","licence":"Public domain","modified":"2026-11-30T14:18:36.003Z"}],"updatedAt":"2026-11-30T14:32:51.716Z","epss":{"score":0.00201,"percentile":0.10484,"date":"2026-12-01T12:00:22.000Z"}}