# CVE-2025-37911: bnxt\_en: Fix out-of-bound memcpy() during ethtool -w

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2025-05-20T15:21:43.278Z
- **Modified:** 2026-10-15T22:18:20.400Z

## Who should check

- Anyone running Linux \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 69b10dd23ab826d0c7f2d9ab311842251978d0c1; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 43292b83424158fa6ec458799f3cb9c54d18c484; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 4d69864915a3a052538e4ba76cd6fd77cfc64ebe; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 44807af79efd0d78fa36383dd865ddfe7992c0a6; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 44d81a9ebf0cad92512e0ffdf7412bfe20db66ec; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 6b87bd94f34370bbf1dfa59352bed8efab5bf419; 4bf973a1f84aefb64750bdb3afe72d54de3199d7; a76837dd731b68cc3b5690470bc9efa2a8e3801a; \>= 4.19.95, \< 4.20; \>= 5.4.8, \< 5.5
- Anyone running Linux 5.5

## 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.

## Affected and fixed versions

- Linux: \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 69b10dd23ab826d0c7f2d9ab311842251978d0c1; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 43292b83424158fa6ec458799f3cb9c54d18c484; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 4d69864915a3a052538e4ba76cd6fd77cfc64ebe; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 44807af79efd0d78fa36383dd865ddfe7992c0a6; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 44d81a9ebf0cad92512e0ffdf7412bfe20db66ec; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 6b87bd94f34370bbf1dfa59352bed8efab5bf419; 4bf973a1f84aefb64750bdb3afe72d54de3199d7; a76837dd731b68cc3b5690470bc9efa2a8e3801a; \>= 4.19.95, \< 4.20; \>= 5.4.8, \< 5.5 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 5.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37911. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37911.md
Affected: Linux >= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, < 69b10dd23ab826d0c7f2d9ab311842251978d0c1; >= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, < 43292b83424158fa6ec458799f3cb9c54d18c484; >= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, < 4d69864915a3a052538e4ba76cd6fd77cfc64ebe; >= c74751f4c39232c31214ec6…
Fixed in: Linux 69b10dd23ab826d0c7f2d9ab311842251978d0c1, Linux 43292b83424158fa6ec458799f3cb9c54d18c484, Linux 4d69864915a3a052538e4ba76cd6fd77cfc64ebe, Linux 44807af79efd0d78fa36383dd865ddfe7992c0a6, Linux 44d81a9ebf0cad92512e0ffdf7412bfe20db66ec, Linux 6b87bd94f34370bbf1dfa59352bed8efab5bf419, Linux 4.20,…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37911 being exploited?

There is no confirmed exploitation: CVE-2025-37911 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-37911?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37911?

Linux \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 69b10dd23ab826d0c7f2d9ab311842251978d0c1; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 43292b83424158fa6ec458799f3cb9c54d18c484; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 4d69864915a3a052538e4ba76cd6fd77cfc64ebe; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 44807af79efd0d78fa36383dd865ddfe7992c0a6; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 44d81a9ebf0cad92512e0ffdf7412bfe20db66ec; \>= c74751f4c39232c31214ec6a3bc1c7e62f5c728b, \< 6b87bd94f34370bbf1dfa59352bed8efab5bf419; 4bf973a1f84aefb64750bdb3afe72d54de3199d7; a76837dd731b68cc3b5690470bc9efa2a8e3801a; \>= 4.19.95, \< 4.20; \>= 5.4.8, \< 5.5; Linux 5.5.

### Is there a fix for CVE-2025-37911?

Yes. Fixed in Linux 69b10dd23ab826d0c7f2d9ab311842251978d0c1, Linux 43292b83424158fa6ec458799f3cb9c54d18c484, Linux 4d69864915a3a052538e4ba76cd6fd77cfc64ebe, Linux 44807af79efd0d78fa36383dd865ddfe7992c0a6, Linux 44d81a9ebf0cad92512e0ffdf7412bfe20db66ec, Linux 6b87bd94f34370bbf1dfa59352bed8efab5bf419, Linux 4.20, Linux 5.5. Upgrade Linux to 5.5 or later.

### How do I check if I'm affected by CVE-2025-37911?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/69b10dd23ab826d0c7f2d9ab311842251978d0c1>
- patch: <https://git.kernel.org/stable/c/43292b83424158fa6ec458799f3cb9c54d18c484>
- patch: <https://git.kernel.org/stable/c/4d69864915a3a052538e4ba76cd6fd77cfc64ebe>
- patch: <https://git.kernel.org/stable/c/44807af79efd0d78fa36383dd865ddfe7992c0a6>
- patch: <https://git.kernel.org/stable/c/44d81a9ebf0cad92512e0ffdf7412bfe20db66ec>
- patch: <https://git.kernel.org/stable/c/6b87bd94f34370bbf1dfa59352bed8efab5bf419>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37911>

HTML: <https://flawdb.com/CVE-2025-37911> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37911>
