CVE-2025-39810
Severity CVSS v4.0:
Pending analysis
Type:
CWE-787
Out-of-bounds Write
Publication date:
16/09/2025
Last modified:
14/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
bnxt_en: Fix memory corruption when FW resources change during ifdown<br />
<br />
bnxt_set_dflt_rings() assumes that it is always called before any TC has<br />
been created. So it doesn&#39;t take bp->num_tc into account and assumes<br />
that it is always 0 or 1.<br />
<br />
In the FW resource or capability change scenario, the FW will return<br />
flags in bnxt_hwrm_if_change() that will cause the driver to<br />
reinitialize and call bnxt_cancel_reservations(). This will lead to<br />
bnxt_init_dflt_ring_mode() calling bnxt_set_dflt_rings() and bp->num_tc<br />
may be greater than 1. This will cause bp->tx_ring[] to be sized too<br />
small and cause memory corruption in bnxt_alloc_cp_rings().<br />
<br />
Fix it by properly scaling the TX rings by bp->num_tc in the code<br />
paths mentioned above. Add 2 helper functions to determine<br />
bp->tx_nr_rings and bp->tx_nr_rings_per_tc.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4 (including) | 6.12.45 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.16.5 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



