FKIE_CVE-2026-139104

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: recycle agg buffers when Rx head buffer allocation fails bnxt_rx_pkt() tries to return the aggregation buffers of a packet to the ring when the copybreak allocation fails, but the same logic is missing on the rx_skb_func() failure path. The agg BDs consumed by the device are then never posted again. The agg ring is only refilled one-for-one as completions consume its buffers, so each such failure permanently shrinks it. Under sustained memory pressure the ring drains completely, and the queue stops receiving anything that does not fit into the head buffer, even once memory is available again. Only re-creating the rings (e.g. ifdown / ifup) recovers it. Commit 296d5b541639 ("bnxt_en: Fix aggregation buffer leak under OOM condition.") fixed the copybreak path only. Recently commit bd3beb5c8691 ("eth: bnxt: disable rx-copybreak by default") made the non-copybreak path the default, re-surfacing the issue. With XDP, the agg buffers are attached to the xdp_buff as frags by this point. Their agg ring slots have already been refilled. We need to keep the original head page (and therefore shinfo) around until the xdp_buff cleanup. Note the odd split of ownership here: rx_skb_func() only deals with the head buffer, the agg buffers stay with the caller in whatever state they are in, still on the ring without XDP, or frags of the xdp_buff with XDP. This complicates rx_skb_func() cleaning up all the buffers (head and frags), which would be more intuitive. Discovered in production, severe packet loss would persist after a transient OOM event. Tested on a BCM57504 by failing the head buffer allocations in bnxt_rx_skb() (bpftrace override() of should_failslab() and should_fail_alloc_page()) while receiving 1400B ICMPv6 echo requests. 341k packets were dropped on that queue, enough to drain its 8188 entry agg ring 40 times over, and the queue kept receiving large frames afterwards with no loss and no new HW drops. With a frags-capable XDP_PASS program at MTU 9000, receiving 8000B ICMPv6 echo requests while napi_build_skb() called from bnxt_rx_multi_page_skb() failed, 9.2k packets were dropped, the page pools' inflight count stayed flat and there were no KASAN or DEBUG_PAGEALLOC splats.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/broadcom/bnxt/bnxt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "df48a08a38f744a6a9dd31d5c67872c8d0e3d783",
              "status": "affected",
              "version": "c0c050c58d840994ba842ad1c338a98e7c12b764",
              "versionType": "git"
            },
            {
              "lessThan": "a91d91e41021f9f3fcdea5b440eaf5a8327e638a",
              "status": "affected",
              "version": "c0c050c58d840994ba842ad1c338a98e7c12b764",
              "versionType": "git"
            },
            {
              "lessThan": "db2c610df81e34d497f49b68a0a1681c3f203bdb",
              "status": "affected",
              "version": "c0c050c58d840994ba842ad1c338a98e7c12b764",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/broadcom/bnxt/bnxt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.4"
            },
            {
              "lessThan": "4.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\neth: bnxt: recycle agg buffers when Rx head buffer allocation fails\n\nbnxt_rx_pkt() tries to return the aggregation buffers of a packet\nto the ring when the copybreak allocation fails, but the same logic\nis missing on the rx_skb_func() failure path. The agg BDs consumed\nby the device are then never posted again. The agg ring is only\nrefilled one-for-one as completions consume its buffers, so each\nsuch failure permanently shrinks it. Under sustained memory pressure\nthe ring drains completely, and the queue stops receiving anything\nthat does not fit into the head buffer, even once memory is available\nagain. Only re-creating the rings (e.g. ifdown / ifup) recovers it.\n\nCommit 296d5b541639 (\"bnxt_en: Fix aggregation buffer leak under OOM\ncondition.\") fixed the copybreak path only. Recently\ncommit bd3beb5c8691 (\"eth: bnxt: disable rx-copybreak by default\")\nmade the non-copybreak path the default, re-surfacing the issue.\n\nWith XDP, the agg buffers are attached to the xdp_buff as frags by\nthis point. Their agg ring slots have already been refilled.\nWe need to keep the original head page (and therefore shinfo)\naround until the xdp_buff cleanup.\n\nNote the odd split of ownership here: rx_skb_func() only deals with\nthe head buffer, the agg buffers stay with the caller in whatever\nstate they are in, still on the ring without XDP, or frags of the\nxdp_buff with XDP. This complicates rx_skb_func() cleaning up all\nthe buffers (head and frags), which would be more intuitive.\n\nDiscovered in production, severe packet loss would persist after\na transient OOM event. Tested on a BCM57504 by failing the head\nbuffer allocations in bnxt_rx_skb() (bpftrace override() of\nshould_failslab() and should_fail_alloc_page()) while receiving\n1400B ICMPv6 echo requests. 341k packets were dropped on that queue,\nenough to drain its 8188 entry agg ring 40 times over, and the queue\nkept receiving large frames afterwards with no loss and no new HW drops.\nWith a frags-capable XDP_PASS program at MTU 9000, receiving 8000B\nICMPv6 echo requests while napi_build_skb() called from\nbnxt_rx_multi_page_skb() failed, 9.2k packets were dropped,\nthe page pools\u0027 inflight count stayed flat and\nthere were no KASAN or DEBUG_PAGEALLOC splats."
    }
  ],
  "id": "CVE-2026-139104",
  "lastModified": "2026-11-30T14:18:18.933",
  "metrics": {},
  "published": "2026-11-30T14:18:18.933",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a91d91e41021f9f3fcdea5b440eaf5a8327e638a"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/db2c610df81e34d497f49b68a0a1681c3f203bdb"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/df48a08a38f744a6a9dd31d5c67872c8d0e3d783"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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.