# CVE-2023-54048: RDMA/bnxt\_re: Prevent handling any completions after qp destroy

> 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-24T12:22:58.910Z
- **Modified:** 2026-10-15T22:17:51.657Z

## Who should check

- Anyone running Linux \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b79a0e71d6e8692e0b6da05f8aaa7d69191cf7e7; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b8500538b8f5b2cd86b02754c8de83eaa7a2d6ba; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< 7faa6097694164380ed19600c7a7993d071270b9; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b5bbc6551297447d3cca55cf907079e206e9cd82
- Anyone running Linux 4.11

## Description

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

RDMA/bnxt\_re: Prevent handling any completions after qp destroy

HW may generate completions that indicates QP is destroyed.
Driver should not be scheduling any more completion handlers
for this QP, after the QP is destroyed. Since CQs are active
during the QP destroy, driver may still schedule completion
handlers. This can cause a race where the destroy\_cq and poll\_cq
running simultaneously.

Snippet of kernel panic while doing bnxt\_re driver load unload in loop.
This indicates a poll after the CQ is freed. 

\[77786.481636\] Call Trace:
\[77786.481640\]  \<TASK\>
\[77786.481644\]  bnxt\_re\_poll\_cq+0x14a/0x620 \[bnxt\_re\]
\[77786.481658\]  ? kvm\_clock\_read+0x14/0x30
\[77786.481693\]  \_\_ib\_process\_cq+0x57/0x190 \[ib\_core\]
\[77786.481728\]  ib\_cq\_poll\_work+0x26/0x80 \[ib\_core\]
\[77786.481761\]  process\_one\_work+0x1e5/0x3f0
\[77786.481768\]  worker\_thread+0x50/0x3a0
\[77786.481785\]  ? \_\_pfx\_worker\_thread+0x10/0x10
\[77786.481790\]  kthread+0xe2/0x110
\[77786.481794\]  ? \_\_pfx\_kthread+0x10/0x10
\[77786.481797\]  ret\_from\_fork+0x2c/0x50

To avoid this, complete all completion handlers before returning the
destroy QP. If free\_cq is called soon after destroy\_qp,  IB stack
will cancel the CQ work before invoking the destroy\_cq verb and
this will prevent any race mentioned.

## Affected and fixed versions

- Linux: \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b79a0e71d6e8692e0b6da05f8aaa7d69191cf7e7; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b8500538b8f5b2cd86b02754c8de83eaa7a2d6ba; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< 7faa6097694164380ed19600c7a7993d071270b9; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b5bbc6551297447d3cca55cf907079e206e9cd82 (cvelist)
- Linux: 4.11 (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-2023-54048. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54048.md
Affected: Linux >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, < b79a0e71d6e8692e0b6da05f8aaa7d69191cf7e7; >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, < b8500538b8f5b2cd86b02754c8de83eaa7a2d6ba; >= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, < 7faa6097694164380ed19600c7a7993d071270b9; >= 1ac5a404797523cedaf424a…
Fixed in: Linux 7faa6097694164380ed19600c7a7993d071270b9

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-2023-54048 being exploited?

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

### How serious is CVE-2023-54048?

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

### Which versions are affected by CVE-2023-54048?

Linux \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b79a0e71d6e8692e0b6da05f8aaa7d69191cf7e7; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b8500538b8f5b2cd86b02754c8de83eaa7a2d6ba; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< 7faa6097694164380ed19600c7a7993d071270b9; \>= 1ac5a404797523cedaf424a3aaa3cf8f9548dff8, \< b5bbc6551297447d3cca55cf907079e206e9cd82; Linux 4.11.

### Is there a fix for CVE-2023-54048?

Yes. Fixed in Linux 7faa6097694164380ed19600c7a7993d071270b9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54048?

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

- other: <https://git.kernel.org/stable/c/b79a0e71d6e8692e0b6da05f8aaa7d69191cf7e7>
- other: <https://git.kernel.org/stable/c/b8500538b8f5b2cd86b02754c8de83eaa7a2d6ba>
- other: <https://git.kernel.org/stable/c/7faa6097694164380ed19600c7a7993d071270b9>
- other: <https://git.kernel.org/stable/c/b5bbc6551297447d3cca55cf907079e206e9cd82>

## 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-2023-54048>

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