{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "19c6f534f63608fbf966897b2c64fefcb916dc08"
            },
            {
              "fixed": "7e86d6a8aba86ed6adbf2c54ee16dba52df14fcb"
            },
            {
              "fixed": "c04d9b1cbf2ae04eeb25e4ad1ff6fe018e28cbfd"
            },
            {
              "fixed": "137d068cc7d8a95270d96b90addba9ff0f938dfe"
            },
            {
              "fixed": "263a5514cb9535380734b5e300b298f82570eb57"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.2.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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143340.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: don't free XDP buffers in fdma tx clear with budget 0\n\nlan966x_fdma_tx_clear_buf() runs from the NAPI poll and frees the\nbuffers of completed tx DCBs with napi_consume_skb(),\npage_pool_recycle_direct() and xdp_return_frame_bulk().\n\nnetpoll calls the NAPI poll with a budget of 0 and hardirqs disabled.\nWith a budget of 0, a driver cannot call any XDP or page pool API.\n\nBefore this patch, the XDP_TX pages and ndo_xdp_xmit frames are freed\nregardless of the budget. With netconsole on the port that owns the\nFDMA NAPI, such a buffer is freed with hardirqs disabled, and\n__page_pool_put_page() warns via lockdep_assert_no_hardirq().\n\nLeave the XDP buffers of completed DCBs in place when the budget is 0,\nand free them in the next NAPI poll. napi_consume_skb() already handles\na budget of 0, so skbs are still freed.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with a\nmodified kernel that runs the NAPI poll with a budget of 0 and hardirqs\ndisabled. With the fix the warning is gone.",
  "id": "CVE-2026-143340",
  "modified": "2026-12-03T10:45:43.192127092Z",
  "published": "2026-12-03T09:22:01.353Z",
  "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/137d068cc7d8a95270d96b90addba9ff0f938dfe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/263a5514cb9535380734b5e300b298f82570eb57"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7e86d6a8aba86ed6adbf2c54ee16dba52df14fcb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c04d9b1cbf2ae04eeb25e4ad1ff6fe018e28cbfd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143340.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143340"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: lan966x: don't free XDP buffers in fdma tx clear with budget 0"
}