CVE-2025-39810 Details
Description
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.
A memory corruption vulnerability has been identified in the Linux kernel's bnxt_en Ethernet driver. This issue arises when firmware resources change during the 'ifdown' process. The function 'bnxt_set_dflt_rings()' incorrectly assumes it is always called before any Traffic Classes (TC) are created, leading to a miscalculation of transmission rings. When the firmware indicates a resource change, the driver reinitializes and may encounter more than one TC, causing the transmission ring array to be undersized and resulting in memory corruption. The vulnerability affects several versions of the Linux kernel.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2747328ba2714f1a7454208dbbc1dc0631990b4a | kernel.org | Patch |
| https://git.kernel.org/stable/c/9ab6a9950f152e094395d2e3967f889857daa185 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d00e98977ef519280b075d783653e2c492fffbb6 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-787 | Out-of-bounds Write | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4, < 6.12.45 >= 6.13, < 6.16.5 6.17 rc1 6.17 rc2 6.17 rc3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Sep 16, 2025 | New CVE Received | kernel.org |