{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b1d13f7a3b5396503e6869ed627bb4eeab9b524f"
            },
            {
              "fixed": "720f35b64fc736c70343407e00318874f32ef0e3"
            },
            {
              "fixed": "67869597fab06abaa5b977cb7004532269fc960b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.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-143214.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mana: fix XDP_REDIRECT of pre-allocated RX buffers\n\nmana_pre_alloc_rxbufs() fills the RX rings with plain pages from\ndev_alloc_pages() (from_pool == false), but the rxq is registered with\nMEM_TYPE_PAGE_POOL and mana_run_xdp() builds every xdp_buff with that\nrxq info. mana_rx_skb() frees a !from_pool buffer correctly on\nXDP_PASS, XDP_TX and XDP_DROP, but a redirected buffer is freed through\nits memory model: __xdp_return() hands the plain page to\npage_pool_put_full_netmem(). This triggers the WARN in\ninclude/net/page_pool/helpers.h, breaks the page refcount, RX refills\nfail and the queue stops receiving.\n\nThe pre-allocated buffers fill the whole ring of every rxq created by\nan MTU change, by ethtool -L / -G and, since\ncommit 730ff06d3f5c (\"net: mana: Use page pool fragments for RX buffers\ninstead of full pages to improve memory efficiency.\"), by every XDP\nattach and detach. So on current kernels the first ring of redirected\npackets after attaching an XDP program always hits this.\n\nReproduced on 7.2.11, and on 6.12.113 after ethtool -L, on an Azure\nMANA VF: an XDP program that redirects UDP to an XSKMAP with an AF_XDP\nsocket in copy mode gives WARNINGs at __xdp_return+0x249 (stack\n__xsk_map_redirect, xdp_do_redirect, mana_run_xdp, mana_poll), then\nthe queue stops.\n\nGive each rxq a second xdp_rxq_info registered with\nMEM_TYPE_PAGE_SHARED, the model these buffers had before the page pool\nwas added, and use it for buffers that are not from the pool. Those\nbuffers are already DMA-unmapped by mana_refill_rx_oob() before XDP\nruns, and page_frag_free() frees them whatever their order. Allocating\nthe pre-allocated buffers from the page pool instead would need the\npools to exist before the rxqs and to outlive them, a much larger\nchange.\n\nFound, fixed and tested with an AI coding assistant (Claude Code).",
  "id": "CVE-2026-143214",
  "modified": "2026-12-03T10:45:19.604706298Z",
  "published": "2026-12-03T09:20:34.630Z",
  "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/67869597fab06abaa5b977cb7004532269fc960b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/720f35b64fc736c70343407e00318874f32ef0e3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143214.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143214"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: mana: fix XDP_REDIRECT of pre-allocated RX buffers"
}