GHSA-97FM-J9W2-G3PG

Vulnerability from github – Published: 2026-12-03 12:31 – Updated: 2026-12-03 12:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

net: mana: fix XDP_REDIRECT of pre-allocated RX buffers

mana_pre_alloc_rxbufs() fills the RX rings with plain pages from dev_alloc_pages() (from_pool == false), but the rxq is registered with MEM_TYPE_PAGE_POOL and mana_run_xdp() builds every xdp_buff with that rxq info. mana_rx_skb() frees a !from_pool buffer correctly on XDP_PASS, XDP_TX and XDP_DROP, but a redirected buffer is freed through its memory model: __xdp_return() hands the plain page to page_pool_put_full_netmem(). This triggers the WARN in include/net/page_pool/helpers.h, breaks the page refcount, RX refills fail and the queue stops receiving.

The pre-allocated buffers fill the whole ring of every rxq created by an MTU change, by ethtool -L / -G and, since commit 730ff06d3f5c ("net: mana: Use page pool fragments for RX buffers instead of full pages to improve memory efficiency."), by every XDP attach and detach. So on current kernels the first ring of redirected packets after attaching an XDP program always hits this.

Reproduced on 7.2.11, and on 6.12.113 after ethtool -L, on an Azure MANA VF: an XDP program that redirects UDP to an XSKMAP with an AF_XDP socket in copy mode gives WARNINGs at __xdp_return+0x249 (stack __xsk_map_redirect, xdp_do_redirect, mana_run_xdp, mana_poll), then the queue stops.

Give each rxq a second xdp_rxq_info registered with MEM_TYPE_PAGE_SHARED, the model these buffers had before the page pool was added, and use it for buffers that are not from the pool. Those buffers are already DMA-unmapped by mana_refill_rx_oob() before XDP runs, and page_frag_free() frees them whatever their order. Allocating the pre-allocated buffers from the page pool instead would need the pools to exist before the rxqs and to outlive them, a much larger change.

Found, fixed and tested with an AI coding assistant (Claude Code).

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-143214"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T10:17:59Z",
    "severity": null
  },
  "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": "GHSA-97fm-j9w2-g3pg",
  "modified": "2026-12-03T12:31:08Z",
  "published": "2026-12-03T12:31:08Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143214"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67869597fab06abaa5b977cb7004532269fc960b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/720f35b64fc736c70343407e00318874f32ef0e3"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.