GHSA-VJ5W-4H85-72WR

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32
VLAI
Details

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

eth: bnxt: hand XDP frags over to the copybreak skb

With a multi-buffer XDP program attached, a packet only has agg buffers if it filled its head buffer, which in page mode holds most of a page. The program can still move the start of the packet forward with bpf_xdp_adjust_head() and leave at most rx_copybreak bytes in the head. bnxt_rx_pkt() then copies the head into a new skb, puts the head page back on the ring, and calls bnxt_xdp_build_skb() on the copy. bnxt_xdp_build_skb() only sets nr_frags and the skb's length accounting, because it expects an skb built around the head page, sharing its shinfo with the xdp_buff. The copy ends up with nr_frags set but no frag descriptors, and the stack later reads and releases whatever its frags array happens to contain. The real frags leak.

Copy the frag descriptors to the new skb in bnxt_copy_xdp(), so that bnxt_xdp_build_skb() finds the frags where it expects them. The frags now belong to the skb, and the head page goes back on the ring as before.

Pointed out in LLM review of the first patch of the series. Confirmed by reading the code, the unfixed kernel was not run with the reproducer below. Tested on a BCM57504 at MTU 9000 with rx-copybreak raised to 1024 and a frags-capable XDP program moving the start of multi-buffer frames 3000B forward with bpf_xdp_adjust_head(), receiving 8000B ICMPv6 echo requests (a head and two agg buffers each). All 60k frames took the copybreak path with frags attached, the sampled skbs reached GRO with len=4998 data_len=4492 nr_frags=2, and were freed by the stack with the page pools' inflight count staying flat, no KASAN or DEBUG_PAGEALLOC splats.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-139101"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:18:18Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\neth: bnxt: hand XDP frags over to the copybreak skb\n\nWith a multi-buffer XDP program attached, a packet only has agg\nbuffers if it filled its head buffer, which in page mode holds most\nof a page. The program can still move the start of the packet forward\nwith bpf_xdp_adjust_head() and leave at most rx_copybreak bytes in the\nhead. bnxt_rx_pkt() then copies the head into a new skb, puts the head\npage back on the ring, and calls bnxt_xdp_build_skb() on the copy.\nbnxt_xdp_build_skb() only sets nr_frags and the skb\u0027s length\naccounting, because it expects an skb built around the head page,\nsharing its shinfo with the xdp_buff. The copy ends up with nr_frags\nset but no frag descriptors, and the stack later reads and releases\nwhatever its frags array happens to contain. The real frags leak.\n\nCopy the frag descriptors to the new skb in bnxt_copy_xdp(), so that\nbnxt_xdp_build_skb() finds the frags where it expects them. The frags\nnow belong to the skb, and the head page goes back on the ring as\nbefore.\n\nPointed out in LLM review of the first patch of the series.\nConfirmed by reading the code, the unfixed kernel was not run with\nthe reproducer below.\nTested on a BCM57504 at MTU 9000 with rx-copybreak raised to 1024\nand a frags-capable XDP program moving the start of multi-buffer\nframes 3000B forward with bpf_xdp_adjust_head(), receiving 8000B\nICMPv6 echo requests (a head and two agg buffers each). All 60k\nframes took the copybreak path with frags attached, the sampled skbs\nreached GRO with len=4998 data_len=4492 nr_frags=2, and were freed by\nthe stack with the page pools\u0027 inflight count staying flat, no KASAN\nor DEBUG_PAGEALLOC splats.",
  "id": "GHSA-vj5w-4h85-72wr",
  "modified": "2026-11-30T15:32:17Z",
  "published": "2026-11-30T15:32:17Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139101"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/364b88b54fc260d22ee318bae862c2d7d8c31dc6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3c018b9073a30bd24ee2e3263a5986f427e5dfa7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/637705bb477f0bf86c7c5c8b5785605b5f1560df"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7b2b3f09c51dc080db58d3bcae641d2629e05004"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/972281a89a906c0637a7b967653cd900fea38189"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/db338bccf2d2ff676ae2c78714af3de5c3ce18d2"
    }
  ],
  "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.