{"id":"CVE-2025-37873","state":"PUBLISHED","title":"eth: bnxt: fix missing ring index trim on error path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\neth: bnxt: fix missing ring index trim on error path\n\nCommit under Fixes converted tx_prod to be free running but missed\nmasking it on the Tx error path. This crashes on error conditions,\nfor example when DMA mapping fails.","publishedAt":"2025-05-09T06:44:01.394Z","updatedAt":"2026-10-15T21:52:01.949Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6d1add95536bafe585c500ad8114af7ed4225a0f","status":"affected","lessThan":"21e70f694bc0dcb40174b0940cc52a7769fc19e0","versionType":"git"},{"version":"6d1add95536bafe585c500ad8114af7ed4225a0f","status":"affected","lessThan":"3742c55de00266fa7c8fd2c5d61a453d223a9cd1","versionType":"git"},{"version":"6d1add95536bafe585c500ad8114af7ed4225a0f","status":"affected","lessThan":"12f2d033fae957d84c2c0ce604d2a077e61fa2c0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.25","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.4","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt.c"]}],"references":["https://git.kernel.org/stable/c/21e70f694bc0dcb40174b0940cc52a7769fc19e0","https://git.kernel.org/stable/c/3742c55de00266fa7c8fd2c5d61a453d223a9cd1","https://git.kernel.org/stable/c/12f2d033fae957d84c2c0ce604d2a077e61fa2c0"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/37xxx/CVE-2025-37873.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37873","state":"PUBLISHED","datePublished":"2025-05-09T06:44:01.394Z","dateUpdated":"2026-10-15T21:52:01.949Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.959Z"},"containers":{"cna":{"title":"eth: bnxt: fix missing ring index trim on error path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\neth: bnxt: fix missing ring index trim on error path\n\nCommit under Fixes converted tx_prod to be free running but missed\nmasking it on the Tx error path. This crashes on error conditions,\nfor example when DMA mapping fails."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6d1add95536bafe585c500ad8114af7ed4225a0f","status":"affected","lessThan":"21e70f694bc0dcb40174b0940cc52a7769fc19e0","versionType":"git"},{"version":"6d1add95536bafe585c500ad8114af7ed4225a0f","status":"affected","lessThan":"3742c55de00266fa7c8fd2c5d61a453d223a9cd1","versionType":"git"},{"version":"6d1add95536bafe585c500ad8114af7ed4225a0f","status":"affected","lessThan":"12f2d033fae957d84c2c0ce604d2a077e61fa2c0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.25","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.4","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/broadcom/bnxt/bnxt.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/21e70f694bc0dcb40174b0940cc52a7769fc19e0"},{"url":"https://git.kernel.org/stable/c/3742c55de00266fa7c8fd2c5d61a453d223a9cd1"},{"url":"https://git.kernel.org/stable/c/12f2d033fae957d84c2c0ce604d2a077e61fa2c0"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The defect is in `bnxt_start_xmit()`, the driver's local transmit path, reached by a local process sending packets through the bnxt interface; it does not parse remote peer data, so a remote attacker cannot directly drive the error path.\nAC:L - The error conditions are resource-exhaustion states the attacker can themselves induce (swiotlb/IOMMU exhaustion for `dma_map_single()`, memory pressure for `skb_pad()`/`skb_cow_head()`), and `tx_prod` exceeds `tx_ring_mask` ~99.2% of the time and is steerable by simply sending packets.\nPR:L - Any unprivileged local user can transmit packets out the bnxt NIC via ordinary sockets and generate the memory/DMA pressure needed; no capability, netlink permission, or admin gate exists on this path.\nUI:N - The OOB write occurs entirely within the attacker's own `sendmsg()`/xmit path with no victim action required.\nS:U - The corruption stays within kernel memory managed by the same security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The unmasked index yields an out-of-bounds write up to ~2.6 MB past a 20 KB vzalloc'd ring into neighbouring vmalloc objects (kernel stacks, other rings, module data); zeroing a pointer or length field in an adjacent structure is memory corruption that can be leveraged for information disclosure.\nI:H - This is a genuine out-of-bounds write with an attacker-steerable offset over a multi-megabyte window of vmalloc space, corrupting unrelated kernel structures.\nA:H - The commit states outright that the unmasked index \"crashes on error conditions\"; the write typically lands on a vmalloc guard page or unmapped region, producing a kernel oops/panic."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:57:58.207Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.25"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.14.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-37873","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-15T21:45:36.602410Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T21:52:01.949Z"}}]}}}