# CVE-2025-21973: eth: bnxt: fix kernel panic in the bnxt\_get\_queue\_stats{rx \| tx}

> 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.29% (percentile 14, 2026-11-28)
- **Published:** 2025-04-01T15:47:05.506Z
- **Modified:** 2026-11-05T21:17:46.657Z

## Who should check

- Anyone running Linux \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< f059a0fd733078c3832fd0f3a3037aa5975d3d36; \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< adb830085f0fc3a09a0fc8b64fed2e7c8d244665; \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< f09af5fdfbd9b0fcee73aab1116904c53b199e97
- Anyone running Linux 6.9

## Description

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

eth: bnxt: fix kernel panic in the bnxt\_get\_queue\_stats{rx \| tx}

When qstats-get operation is executed, callbacks of netdev\_stats\_ops
are called. The bnxt\_get\_queue\_stats{rx \| tx} collect per-queue stats
from sw\_stats in the rings.
But {rx \| tx \| cp}\_ring are allocated when the interface is up.
So, these rings are not allocated when the interface is down.

The qstats-get is allowed even if the interface is down. However,
the bnxt\_get\_queue\_stats{rx \| tx}() accesses cp\_ring and tx\_ring
without null check.
So, it needs to avoid accessing rings if the interface is down.

Reproducer:
 ip link set $interface down
 ./cli.py --spec netdev.yaml --dump qstats-get
OR
 ip link set $interface down
 python ./stats.py

Splat looks like:
 BUG: kernel NULL pointer dereference, address: 0000000000000000
 \#PF: supervisor read access in kernel mode
 \#PF: error\_code(0x0000) - not-present page
 PGD 1680fa067 P4D 1680fa067 PUD 16be3b067 PMD 0
 Oops: Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
 CPU: 0 UID: 0 PID: 1495 Comm: python3 Not tainted 6.14.0-rc4+ \#32 5cd0f999d5a15c574ac72b3e4b907341
 Hardware name: ASUS System Product Name/PRIME Z690-P D4, BIOS 0603 11/01/2021
 RIP: 0010:bnxt\_get\_queue\_stats\_rx+0xf/0x70 \[bnxt\_en\]
 Code: c6 87 b5 18 00 00 02 eb a2 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 01
 RSP: 0018:ffffabef43cdb7e0 EFLAGS: 00010282
 RAX: 0000000000000000 RBX: ffffffffc04c8710 RCX: 0000000000000000
 RDX: ffffabef43cdb858 RSI: 0000000000000000 RDI: ffff8d504e850000
 RBP: ffff8d506c9f9c00 R08: 0000000000000004 R09: ffff8d506bcd901c
 R10: 0000000000000015 R11: ffff8d506bcd9000 R12: 0000000000000000
 R13: ffffabef43cdb8c0 R14: ffff8d504e850000 R15: 0000000000000000
 FS:  00007f2c5462b080(0000) GS:ffff8d575f600000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000000 CR3: 0000000167fd0000 CR4: 00000000007506f0
 PKRU: 55555554
 Call Trace:
  \<TASK\>
  ? \_\_die+0x20/0x70
  ? page\_fault\_oops+0x15a/0x460
  ? sched\_balance\_find\_src\_group+0x58d/0xd10
  ? exc\_page\_fault+0x6e/0x180
  ? asm\_exc\_page\_fault+0x22/0x30
  ? bnxt\_get\_queue\_stats\_rx+0xf/0x70 \[bnxt\_en cdd546fd48563c280cfd30e9647efa420db07bf1\]
  netdev\_nl\_stats\_by\_netdev+0x2b1/0x4e0
  ? xas\_load+0x9/0xb0
  ? xas\_find+0x183/0x1d0
  ? xa\_find+0x8b/0xe0
  netdev\_nl\_qstats\_get\_dumpit+0xbf/0x1e0
  genl\_dumpit+0x31/0x90
  netlink\_dump+0x1a8/0x360

## Affected and fixed versions

- Linux: \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< f059a0fd733078c3832fd0f3a3037aa5975d3d36; \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< adb830085f0fc3a09a0fc8b64fed2e7c8d244665; \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< f09af5fdfbd9b0fcee73aab1116904c53b199e97 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-21973.md
Affected: Linux >= af7b3b4adda592cb49e202f3617454d5dda4c5b5, < f059a0fd733078c3832fd0f3a3037aa5975d3d36; >= af7b3b4adda592cb49e202f3617454d5dda4c5b5, < adb830085f0fc3a09a0fc8b64fed2e7c8d244665; >= af7b3b4adda592cb49e202f3617454d5dda4c5b5, < f09af5fdfbd9b0fcee73aab1116904c53b199e97; Linux 6.9
Fixed in: no fixed version listed yet

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-21973 being exploited?

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

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

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

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

Linux \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< f059a0fd733078c3832fd0f3a3037aa5975d3d36; \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< adb830085f0fc3a09a0fc8b64fed2e7c8d244665; \>= af7b3b4adda592cb49e202f3617454d5dda4c5b5, \< f09af5fdfbd9b0fcee73aab1116904c53b199e97; Linux 6.9.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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/f059a0fd733078c3832fd0f3a3037aa5975d3d36>
- patch: <https://git.kernel.org/stable/c/adb830085f0fc3a09a0fc8b64fed2e7c8d244665>
- patch: <https://git.kernel.org/stable/c/f09af5fdfbd9b0fcee73aab1116904c53b199e97>

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

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