{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf"
            },
            {
              "fixed": "9d869f0432c3571756b6694b4dd33eaec3f457b6"
            },
            {
              "fixed": "dd75b001792e2f67538b6bdc7ee66f4d352fbca9"
            },
            {
              "fixed": "92b35a3669db7cfb2fff5a58a09c2a3d3640bf89"
            },
            {
              "fixed": "ce3192e0dafa829e76edefecc16a32589b53c875"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139170.json"
  },
  "details": "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.",
  "id": "CVE-2026-139170",
  "modified": "2026-12-01T20:45:28.850966479Z",
  "published": "2026-11-30T13:32:13.751Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92b35a3669db7cfb2fff5a58a09c2a3d3640bf89"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d869f0432c3571756b6694b4dd33eaec3f457b6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ce3192e0dafa829e76edefecc16a32589b53c875"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dd75b001792e2f67538b6bdc7ee66f4d352fbca9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139170.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139170"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit"
}