# CVE-2023-53286: RDMA/mlx5: Return the firmware result upon destroying QP/RQ

> 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.25% (percentile 10, 2026-11-26)
- **Published:** 2025-09-16T08:11:19.426Z
- **Modified:** 2026-08-05T09:13:23.607Z

## Who should check

- Anyone running Linux \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 73311dd831858d797cf8ebe140654ed519b41c36; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 1a650d3ccd79cdd5796edd864683a6b8dd0bf576; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 5fe7815e784bf21061885f8112a7108aef5c45bd; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 04704c201bb08efaf96d7b1396c6864f8984e244; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 22664c06e997087fe37f9ba208008c948571214a
- Anyone running Linux 5.8

## Description

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

RDMA/mlx5: Return the firmware result upon destroying QP/RQ

Previously when destroying a QP/RQ, the result of the firmware
destruction function was ignored and upper layers weren't informed
about the failure.
Which in turn could lead to various problems since when upper layer
isn't aware of the failure it continues its operation thinking that the
related QP/RQ was successfully destroyed while it actually wasn't,
which could lead to the below kernel WARN.

Currently, we return the correct firmware destruction status to upper
layers which in case of the RQ would be mlx5\_ib\_destroy\_wq() which
was already capable of handling RQ destruction failure or in case of
a QP to destroy\_qp\_common(), which now would actually warn upon qp
destruction failure.

WARNING: CPU: 3 PID: 995 at drivers/infiniband/core/rdma\_core.c:940 uverbs\_destroy\_ufile\_hw+0xcb/0xe0 \[ib\_uverbs\]
Modules linked in: xt\_conntrack xt\_MASQUERADE nf\_conntrack\_netlink nfnetlink xt\_addrtype iptable\_nat nf\_nat br\_netfilter rpcrdma rdma\_ucm ib\_iser libiscsi scsi\_transport\_iscsi rdma\_cm ib\_umad ib\_ipoib iw\_cm ib\_cm mlx5\_ib ib\_uverbs ib\_core overlay mlx5\_core fuse
CPU: 3 PID: 995 Comm: python3 Not tainted 5.16.0-rc5+ \#1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
RIP: 0010:uverbs\_destroy\_ufile\_hw+0xcb/0xe0 \[ib\_uverbs\]
Code: 41 5c 41 5d 41 5e e9 44 34 f0 e0 48 89 df e8 4c 77 ff ff 49 8b 86 10 01 00 00 48 85 c0 74 a1 4c 89 e7 ff d0 eb 9a 0f 0b eb c1 \<0f\> 0b be 04 00 00 00 48 89 df e8 b6 f6 ff ff e9 75 ff ff ff 90 0f
RSP: 0018:ffff8881533e3e78 EFLAGS: 00010287
RAX: ffff88811b2cf3e0 RBX: ffff888106209700 RCX: 0000000000000000
RDX: ffff888106209780 RSI: ffff8881533e3d30 RDI: ffff888109b101a0
RBP: 0000000000000001 R08: ffff888127cb381c R09: 0de9890000000009
R10: ffff888127cb3800 R11: 0000000000000000 R12: ffff888106209780
R13: ffff888106209750 R14: ffff888100f20660 R15: 0000000000000000
FS:  00007f8be353b740(0000) GS:ffff88852c980000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8bd5b117c0 CR3: 000000012cd8a004 CR4: 0000000000370ea0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 ib\_uverbs\_close+0x1a/0x90 \[ib\_uverbs\]
 \_\_fput+0x82/0x230
 task\_work\_run+0x59/0x90
 exit\_to\_user\_mode\_prepare+0x138/0x140
 syscall\_exit\_to\_user\_mode+0x1d/0x50
 ? \_\_x64\_sys\_close+0xe/0x40
 do\_syscall\_64+0x4a/0x90
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
RIP: 0033:0x7f8be3ae0abb
Code: 03 00 00 00 0f 05 48 3d 00 f0 ff ff 77 41 c3 48 83 ec 18 89 7c 24 0c e8 83 43 f9 ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 c1 43 f9 ff 8b 44
RSP: 002b:00007ffdb51909c0 EFLAGS: 00000293 ORIG\_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000557bb7f7c020 RCX: 00007f8be3ae0abb
RDX: 0000557bb7c74010 RSI: 0000557bb7f14ca0 RDI: 0000000000000005
RBP: 0000557bb7fbd598 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000557bb7fbd5b8
R13: 0000557bb7fbd5a8 R14: 0000000000001000 R15: 0000557bb7f7c020
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 73311dd831858d797cf8ebe140654ed519b41c36; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 1a650d3ccd79cdd5796edd864683a6b8dd0bf576; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 5fe7815e784bf21061885f8112a7108aef5c45bd; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 04704c201bb08efaf96d7b1396c6864f8984e244; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 22664c06e997087fe37f9ba208008c948571214a (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 22664c06e997087fe37f9ba208008c948571214a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53286.md
Affected: Linux >= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, < 73311dd831858d797cf8ebe140654ed519b41c36; >= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, < 1a650d3ccd79cdd5796edd864683a6b8dd0bf576; >= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, < 5fe7815e784bf21061885f8112a7108aef5c45bd; >= 333fbaa0255b8d471fc7ae7…
Fixed in: Linux 73311dd831858d797cf8ebe140654ed519b41c36, Linux 1a650d3ccd79cdd5796edd864683a6b8dd0bf576, Linux 5fe7815e784bf21061885f8112a7108aef5c45bd, Linux 04704c201bb08efaf96d7b1396c6864f8984e244, Linux 22664c06e997087fe37f9ba208008c948571214a

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

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

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

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

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

Linux \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 73311dd831858d797cf8ebe140654ed519b41c36; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 1a650d3ccd79cdd5796edd864683a6b8dd0bf576; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 5fe7815e784bf21061885f8112a7108aef5c45bd; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 04704c201bb08efaf96d7b1396c6864f8984e244; \>= 333fbaa0255b8d471fc7ae767ef3a1766c732d6d, \< 22664c06e997087fe37f9ba208008c948571214a; Linux 5.8.

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

Yes. Fixed in Linux 73311dd831858d797cf8ebe140654ed519b41c36, Linux 1a650d3ccd79cdd5796edd864683a6b8dd0bf576, Linux 5fe7815e784bf21061885f8112a7108aef5c45bd, Linux 04704c201bb08efaf96d7b1396c6864f8984e244, Linux 22664c06e997087fe37f9ba208008c948571214a. Upgrade Linux to 22664c06e997087fe37f9ba208008c948571214a or later.

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

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/73311dd831858d797cf8ebe140654ed519b41c36>
- patch: <https://git.kernel.org/stable/c/1a650d3ccd79cdd5796edd864683a6b8dd0bf576>
- patch: <https://git.kernel.org/stable/c/5fe7815e784bf21061885f8112a7108aef5c45bd>
- patch: <https://git.kernel.org/stable/c/04704c201bb08efaf96d7b1396c6864f8984e244>
- patch: <https://git.kernel.org/stable/c/22664c06e997087fe37f9ba208008c948571214a>

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

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