bnxt_en: Fix out-of-bound memcpy() during ethtool -w
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.19.95 to before 4.20; 5.4.8 to before 5.5 | 4.20, 5.5 | Patch available | CNA |
| Linux | Linux | 5.5 and later | 5.15.182, 6.1.138, 6.6.90, 6.12.28, 6.14.6, 6.15 | Patch available | CNA |
- Linux VendorLinux Affected 4.19.95 to before 4.20; 5.4.8 to before 5.5 Fixed in 4.20, 5.5 Patch available CNA
- Linux VendorLinux Affected 5.5 and later Fixed in 5.15.182, 6.1.138, 6.6.90, 6.12.28, 6.14.6, 6.15 Patch available CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.19.95 to before 4.20; 5.4.8 to before 5.5; 5.5.1 to before 5.15.182; 5.16 to before 6.1.138; 6.2 to before 6.6.90; 6.7 to before 6.12.28; 6.13 to before 6.14.6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.5:-:*:*:*:*:*:* | 5.5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.5:rc3:*:*:*:*:*:* | 5.5 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.5:rc4:*:*:*:*:*:* | 5.5 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.5:rc5:*:*:*:*:*:* | 5.5 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.5:rc6:*:*:*:*:*:* | 5.5 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.5:rc7:*:*:*:*:*:* | 5.5 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* | 6.15 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* | 6.15 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* | 6.15 rc3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.19.95 to before 4.20; 5.4.8 to before 5.5; 5.5.1 to before 5.15.182; 5.16 to before 6.1.138; 6.2 to before 6.6.90; 6.7 to before 6.12.28; 6.13 to before 6.14.6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.5:-:*:*:*:*:*:* Versions 5.5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.5:rc3:*:*:*:*:*:* Versions 5.5 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.5:rc4:*:*:*:*:*:* Versions 5.5 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.5:rc5:*:*:*:*:*:* Versions 5.5 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.5:rc6:*:*:*:*:*:* Versions 5.5 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.5:rc7:*:*:*:*:*:* Versions 5.5 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* Versions 6.15 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* Versions 6.15 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* Versions 6.15 rc3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.20, 5.5
- Fix · CNA Linux (Linux) Fixed in 5.15.182, 6.1.138, 6.6.90, 6.12.28, 6.14.6, 6.15
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2025-37911
- 2026-10-03 Alias added: GHSA-5j2x-7h59-8p55
- 2026-10-16 CISA SSVC decision points changed
References
Patch 6
- https://git.kernel.org/stable/c/69b10dd23ab826d0c7f2d9ab311842251978d0c1
- https://git.kernel.org/stable/c/43292b83424158fa6ec458799f3cb9c54d18c484
- https://git.kernel.org/stable/c/4d69864915a3a052538e4ba76cd6fd77cfc64ebe
- https://git.kernel.org/stable/c/44807af79efd0d78fa36383dd865ddfe7992c0a6
- https://git.kernel.org/stable/c/44d81a9ebf0cad92512e0ffdf7412bfe20db66ec
- https://git.kernel.org/stable/c/6b87bd94f34370bbf1dfa59352bed8efab5bf419
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-37911 · CVE Program
- CVE-2025-37911 · NVD
- FIRST EPSS
- GHSA-5j2x-7h59-8p55 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-37911 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences