GHSA-45MW-67H2-39RW

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

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

eth: bnxt: resize Rx head buffers when rx-copybreak changes

Since rx-copybreak became configurable, bnxt_set_ring_params() sizes the head buffers to fit at least rx_copybreak bytes, and the copybreak path in bnxt_copy_data() syncs rx_copybreak bytes of the head buffer. bnxt_set_tunable() however only updates bp->rx_copybreak, and nothing on the open path recalculates the ring parameters. After raising rx-copybreak the head buffers keep their old size until some other setting changes, and bnxt_copy_data() syncs past their end, into the next buffer in the page or past the end of the page:

DMA-API: bnxt_en 0000:01:00.0: device driver tries to sync DMA memory it has not allocated [device address=0x00000002aa210c40] [size=1024 bytes] WARNING: kernel/dma/debug.c:1162 at check_sync+0x577/0x1eb0, CPU#22: swapper/22/0 Call Trace: debug_dma_sync_single_for_cpu+0x66/0x90 bnxt_copy_data+0x12f/0x290 bnxt_rx_pkt+0x24ea/0x50f0 __bnxt_poll_work+0x42c/0xc00 bnxt_poll_p5+0x579/0x17a0 __napi_poll+0x8b/0x2c0 net_rx_action+0x58f/0xbb0

Here the head buffers were still sized for the 640B HDS threshold, four 1kB buffers per page, while rx-copybreak was raised to 1024. Without coherent DMA or with swiotlb the oversized sync can corrupt a neighboring buffer owned by the device or by an skb.

The device must be down for rx-copybreak to change, so recalculate the ring parameters right away, like bnxt_set_ringparam() does.

Hit while testing patch 1, tested on BCM57504 - boot; set rx-copybreak to 1024 with the link down (CONFIG_DMA_API_DEBUG); ifup.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-142888"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T04:18:27Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\neth: bnxt: resize Rx head buffers when rx-copybreak changes\n\nSince rx-copybreak became configurable, bnxt_set_ring_params() sizes\nthe head buffers to fit at least rx_copybreak bytes, and the copybreak\npath in bnxt_copy_data() syncs rx_copybreak bytes of the head buffer.\nbnxt_set_tunable() however only updates bp-\u003erx_copybreak, and nothing\non the open path recalculates the ring parameters. After raising\nrx-copybreak the head buffers keep their old size until some other\nsetting changes, and bnxt_copy_data() syncs past their end, into the\nnext buffer in the page or past the end of the page:\n\n  DMA-API: bnxt_en 0000:01:00.0: device driver tries to sync DMA memory it has not allocated [device address=0x00000002aa210c40] [size=1024 bytes]\n  WARNING: kernel/dma/debug.c:1162 at check_sync+0x577/0x1eb0, CPU#22: swapper/22/0\n  Call Trace:\n   \u003cIRQ\u003e\n   debug_dma_sync_single_for_cpu+0x66/0x90\n   bnxt_copy_data+0x12f/0x290\n   bnxt_rx_pkt+0x24ea/0x50f0\n   __bnxt_poll_work+0x42c/0xc00\n   bnxt_poll_p5+0x579/0x17a0\n   __napi_poll+0x8b/0x2c0\n   net_rx_action+0x58f/0xbb0\n\nHere the head buffers were still sized for the 640B HDS threshold,\nfour 1kB buffers per page, while rx-copybreak was raised to 1024.\nWithout coherent DMA or with swiotlb the oversized sync can corrupt\na neighboring buffer owned by the device or by an skb.\n\nThe device must be down for rx-copybreak to change, so recalculate the\nring parameters right away, like bnxt_set_ringparam() does.\n\nHit while testing patch 1, tested on BCM57504 - boot; set rx-copybreak\nto 1024 with the link down (CONFIG_DMA_API_DEBUG); ifup.",
  "id": "GHSA-45mw-67h2-39rw",
  "modified": "2026-12-03T06:30:37Z",
  "published": "2026-12-03T06:30:37Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142888"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/09f10efee6f93863ea71489ce84563f4d51787f6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/25c6ce4d12bfc36a24d6fd9ba346eaf44acf21bc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83cf50667da2c1e3af21c096beda98396bd8ca47"
    }
  ],
  "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.