# CVE-2025-39810: bnxt\_en: Fix memory corruption when FW resources change during ifdown

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-16 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2025-39810, DEBIAN-CVE-2025-39810
- Record: https://cvemate.com/vulnerability/CVE-2025-39810 · JSON: https://cvemate.com/vulnerability/CVE-2025-39810/json

## Description

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

bnxt_en: Fix memory corruption when FW resources change during ifdown

bnxt_set_dflt_rings() assumes that it is always called before any TC has
been created.  So it doesn't take bp->num_tc into account and assumes
that it is always 0 or 1.

In the FW resource or capability change scenario, the FW will return
flags in bnxt_hwrm_if_change() that will cause the driver to
reinitialize and call bnxt_cancel_reservations().  This will lead to
bnxt_init_dflt_ring_mode() calling bnxt_set_dflt_rings() and bp->num_tc
may be greater than 1.  This will cause bp->tx_ring[] to be sized too
small and cause memory corruption in bnxt_alloc_cp_rings().

Fix it by properly scaling the TX rings by bp->num_tc in the code
paths mentioned above.  Add 2 helper functions to determine
bp->tx_nr_rings and bp->tx_nr_rings_per_tc.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.208%, percentile 11.587%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 149)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.48-1 \| \< 6.16.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-245.265 \| \< 5.15.0-202.212 \| \< 6.8.0-106.106
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1167.178 \| \< 5.15.0-1119.126 \| \< 6.8.0-1050.53
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1167.178~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1050.53~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1167.178+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1119.126+fips1 \| \< 6.8.0-1050.53+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1172.178 \| \< 5.15.0-1125.134 \| \< 6.8.0-1051.57
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 25)

- <https://git.kernel.org/stable/c/d00e98977ef519280b075d783653e2c492fffbb6>
- <https://git.kernel.org/stable/c/9ab6a9950f152e094395d2e3967f889857daa185>
- <https://git.kernel.org/stable/c/2747328ba2714f1a7454208dbbc1dc0631990b4a>
- <https://ubuntu.com/security/CVE-2025-39810>
- <https://www.cve.org/CVERecord?id=CVE-2025-39810>
- <https://git.kernel.org/linus/2747328ba2714f1a7454208dbbc1dc0631990b4a>
- <https://ubuntu.com/security/notices/USN-8095-1>
- <https://ubuntu.com/security/notices/USN-8100-1>
- <https://ubuntu.com/security/notices/USN-8095-2>
- <https://ubuntu.com/security/notices/USN-8095-3>
- <https://ubuntu.com/security/notices/USN-8095-4>
- <https://ubuntu.com/security/notices/USN-8125-1>
- <https://ubuntu.com/security/notices/USN-8126-1>
- <https://ubuntu.com/security/notices/USN-8095-5>
- <https://ubuntu.com/security/notices/USN-8165-1>
- <https://ubuntu.com/security/notices/USN-8261-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-39810>
- <https://git.kernel.org/stable/c/dc797a4bbbcac6d19e6e2508e4df685755cd94a5>
- <https://git.kernel.org/stable/c/c0082a8947cf1a543013346d10c1857f0c57db83>
- <https://ubuntu.com/security/notices/USN-8962-1>

---

Data as of 2026-12-05T04:45:16.654Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
