CVE-2025-37911 Details
Description
In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix out-of-bound memcpy() during ethtool -w When retrieving the FW coredump using ethtool, it can sometimes cause memory corruption: BUG: KFENCE: memory corruption in __bnxt_get_coredump+0x3ef/0x670 [bnxt_en] Corrupted memory at 0x000000008f0f30e8 [ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ] (in kfence-#45): __bnxt_get_coredump+0x3ef/0x670 [bnxt_en] ethtool_get_dump_data+0xdc/0x1a0 __dev_ethtool+0xa1e/0x1af0 dev_ethtool+0xa8/0x170 dev_ioctl+0x1b5/0x580 sock_do_ioctl+0xab/0xf0 sock_ioctl+0x1ce/0x2e0 __x64_sys_ioctl+0x87/0xc0 do_syscall_64+0x5c/0xf0 entry_SYSCALL_64_after_hwframe+0x78/0x80 ... This happens when copying the coredump segment list in bnxt_hwrm_dbg_dma_data() with the HWRM_DBG_COREDUMP_LIST FW command. The info->dest_buf buffer is allocated based on the number of coredump segments returned by the FW. The segment list is then DMA'ed by the FW and the length of the DMA is returned by FW. The driver then copies this DMA'ed segment list to info->dest_buf. In some cases, this DMA length may exceed the info->dest_buf length and cause the above BUG condition. Fix it by capping the copy length to not exceed the length of info->dest_buf. The extra DMA data contains no useful information. This code path is shared for the HWRM_DBG_COREDUMP_LIST and the HWRM_DBG_COREDUMP_RETRIEVE FW commands. The buffering is different for these 2 FW commands. To simplify the logic, we need to move the line to adjust the buffer length for HWRM_DBG_COREDUMP_RETRIEVE up, so that the new check to cap the copy length will work for both commands.
A vulnerability in the Linux kernel's bnxt_en Ethernet driver has been identified, involving an out-of-bounds memory copy during the retrieval of firmware coredumps via ethtool. This issue can lead to memory corruption. The vulnerability arises when the driver copies a list of coredump segments from the firmware, using a buffer that may not be adequately sized to handle the data, causing the memory corruption issue. The problem occurs with the HWRM_DBG_COREDUMP_LIST and HWRM_DBG_COREDUMP_RETRIEVE firmware commands, where the length of the data returned by the firmware can exceed the allocated buffer size, leading to the corruption.
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 Oct 15, 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/43292b83424158fa6ec458799f3cb9c54d18c484 | kernel.org | Patch |
| https://git.kernel.org/stable/c/44807af79efd0d78fa36383dd865ddfe7992c0a6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/44d81a9ebf0cad92512e0ffdf7412bfe20db66ec | kernel.org | Patch |
| https://git.kernel.org/stable/c/4d69864915a3a052538e4ba76cd6fd77cfc64ebe | kernel.org | Patch |
| https://git.kernel.org/stable/c/69b10dd23ab826d0c7f2d9ab311842251978d0c1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6b87bd94f34370bbf1dfa59352bed8efab5bf419 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html | CVE | Mailing List |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.19.95, < 4.20 >= 5.4.8, < 5.5 >= 5.5.1, < 5.15.182 >= 5.16, < 6.1.138 >= 6.2, < 6.6.90 >= 6.7, < 6.12.28 >= 6.13, < 6.14.6 5.5 - 5.5 rc3 5.5 rc4 5.5 rc5 5.5 rc6 5.5 rc7 6.15 rc1 6.15 rc2 6.15 rc3 6.15 rc4 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | CVE Modified | CVE |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 17, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 20, 2025 | New CVE Received | kernel.org |