# CVE-2026-31395: bnxt\_en: fix OOB access in DBG\_BUF\_PRODUCER async event handler

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-04-03T15:15:59.590Z
- **Modified:** 2026-11-05T22:18:28.453Z

## Who should check

- Anyone running Linux \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< 19aa416eed9e4aaf1bbe8da0f7bd9a9be31158c8; \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< b7c7a275447c6d4bf4a36a134682e2e4e20efd4b; \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3
- Anyone running Linux 6.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

bnxt\_en: fix OOB access in DBG\_BUF\_PRODUCER async event handler

The ASYNC\_EVENT\_CMPL\_EVENT\_ID\_DBG\_BUF\_PRODUCER handler in
bnxt\_async\_event\_process() uses a firmware-supplied 'type' field
directly as an index into bp-\>bs\_trace\[\] without bounds validation.

The 'type' field is a 16-bit value extracted from DMA-mapped completion
ring memory that the NIC writes directly to host RAM. A malicious or
compromised NIC can supply any value from 0 to 65535, causing an
out-of-bounds access into kernel heap memory.

The bnxt\_bs\_trace\_check\_wrap() call then dereferences bs\_trace-\>magic\_byte
and writes to bs\_trace-\>last\_offset and bs\_trace-\>wrapped, leading to
kernel memory corruption or a crash.

Fix by adding a bounds check and defining BNXT\_TRACE\_MAX as
DBG\_LOG\_BUFFER\_FLUSH\_REQ\_TYPE\_ERR\_QPC\_TRACE + 1 to cover all currently
defined firmware trace types (0x0 through 0xc).

## Affected and fixed versions

- Linux: \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< 19aa416eed9e4aaf1bbe8da0f7bd9a9be31158c8; \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< b7c7a275447c6d4bf4a36a134682e2e4e20efd4b; \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-31395.md
Affected: Linux >= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, < 19aa416eed9e4aaf1bbe8da0f7bd9a9be31158c8; >= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, < b7c7a275447c6d4bf4a36a134682e2e4e20efd4b; >= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, < 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3; Linux 6.13
Fixed in: Linux 19aa416eed9e4aaf1bbe8da0f7bd9a9be31158c8, Linux 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3

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-2026-31395 being exploited?

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

### How serious is CVE-2026-31395?

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

### Which versions are affected by CVE-2026-31395?

Linux \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< 19aa416eed9e4aaf1bbe8da0f7bd9a9be31158c8; \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< b7c7a275447c6d4bf4a36a134682e2e4e20efd4b; \>= 84fcd9449fd7882ddfb05ba64d75f9be2d29b2e9, \< 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3; Linux 6.13.

### Is there a fix for CVE-2026-31395?

Yes. Fixed in Linux 19aa416eed9e4aaf1bbe8da0f7bd9a9be31158c8, Linux 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3. Upgrade Linux to 64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3 or later.

### How do I check if I'm affected by CVE-2026-31395?

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/19aa416eed9e4aaf1bbe8da0f7bd9a9be31158c8>
- patch: <https://git.kernel.org/stable/c/b7c7a275447c6d4bf4a36a134682e2e4e20efd4b>
- patch: <https://git.kernel.org/stable/c/64dcbde7f8f870a4f2d9daf24ffb06f9748b5dd3>

## 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-2026-31395>

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