# CVE-2026-92512: RDMA/core: Fix use after free in ib\_query\_qp()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:10:22.114Z
- **Modified:** 2026-10-19T10:16:51.653Z

## Who should check

- Anyone running Linux \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 2ef2ea52ae41bd9efa83139e97ae839de7e17156; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< a608af8cde3dd38936b356bbdeedea0653a05b3f; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 8998829739c31fdbc892078e4449887d902e5dc9; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 038cf231b7099ba6202dcc0c1ea01525122df09f; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 001383248e5d754bbddb7ae2a8573bc8501c85d8; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e
- Anyone running Linux 5.15

## Description

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

RDMA/core: Fix use after free in ib\_query\_qp()

When querying a QP via the netlink flow the only synchronization
mechanism for the said QP is rdma\_restrack\_get(), meanwhile during the
QP destroy path rdma\_restrack\_del() is called at the end of the
ib\_destroy\_qp\_user() function which is too late, since by then the
vendor specific resources for said QP would already be destroyed, and
till the rdma\_restrack\_del() is called this QP can still be accessed,
which could cause the use after free below.

Fix this by moving the rdma\_restrack\_begin\_del() to the start of the
ib\_destroy\_qp\_user(), which in turn waits for all usages of the QP to be
done then removes it from the database to prevent access to it while it
is being destroyed.

RIP: 0010:ib\_query\_qp+0x15/0x50 \[ib\_core\]
Code: 48 83 05 5d 8e b9 ff 01 eb b5 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 c7 46 40 00 00 00 00 48 c7 46 78 00 00 00 00 \<48\> 8b 07 48 8b 80 88 01 00 00 48 85 c0 74 1a 48 83 05 54 91 b9 ff
RSP: 0018:ff11000108a8f2f0 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ff11000108a8f370 RCX: ff11000108a8f370
RDX: 0000000000000000 RSI: ff11000108a8f3d8 RDI: 0000000000000000
RBP: ff1100010de5a000 R08: 0000000000000e80 R09: 0000000000000004
R10: ff110001057a604c R11: 0000000000000000 R12: ff11000108a8f370
R13: ff110001090e8000 R14: 0000000000000000 R15: ff110001057a602c
FS:  00007f2ffd8db6c0(0000) GS:ff110008dc90b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000010b9a7004 CR4: 0000000000373eb0
Call Trace:
 \<TASK\>
 mlx5\_ib\_gsi\_query\_qp+0x21/0x50 \[mlx5\_ib\]
 mlx5\_ib\_query\_qp+0x689/0x9d0 \[mlx5\_ib\]
 ib\_query\_qp+0x35/0x50 \[ib\_core\]
 fill\_res\_qp\_entry\_query.isra.0+0x47/0x280 \[ib\_core\]
 ? \_\_wake\_up+0x40/0x50
 ? netlink\_broadcast\_filtered+0x15a/0x550
 ? kobject\_uevent\_env+0x562/0x710
 ? ep\_poll\_callback+0x242/0x270
 ? \_\_nla\_put+0xc/0x20
 ? nla\_put+0x28/0x40
 ? nla\_put\_string+0x2e/0x40 \[ib\_core\]
 fill\_res\_qp\_entry+0x138/0x190 \[ib\_core\]
 res\_get\_common\_dumpit+0x4a5/0x800 \[ib\_core\]
 ? fill\_res\_qp\_entry\_query.isra.0+0x280/0x280 \[ib\_core\]
 nldev\_res\_get\_qp\_dumpit+0x1e/0x30 \[ib\_core\]
 netlink\_dump+0x16f/0x450
 \_\_netlink\_dump\_start+0x1ce/0x2e0
 rdma\_nl\_rcv\_msg+0x1d3/0x330 \[ib\_core\]
 ? nldev\_res\_get\_qp\_raw\_dumpit+0x30/0x30 \[ib\_core\]
 rdma\_nl\_rcv\_skb.constprop.0.isra.0+0x108/0x180 \[ib\_core\]
 rdma\_nl\_rcv+0x12/0x20 \[ib\_core\]
 netlink\_unicast+0x255/0x380
 ? \_\_alloc\_skb+0xfa/0x1e0
 netlink\_sendmsg+0x1f3/0x420
 \_\_sock\_sendmsg+0x38/0x60
 \_\_\_\_sys\_sendmsg+0x1e8/0x230
 ? copy\_msghdr\_from\_user+0xea/0x170
 \_\_\_sys\_sendmsg+0x7c/0xb0
 ? \_\_futex\_wait+0x95/0xf0
 ? \_\_futex\_wake\_mark+0x40/0x40
 ? futex\_wait+0x67/0x100
 ? futex\_wake+0xac/0x1b0
 \_\_sys\_sendmsg+0x5f/0xb0
 do\_syscall\_64+0x55/0xb90
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53

## Affected and fixed versions

- Linux: \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 2ef2ea52ae41bd9efa83139e97ae839de7e17156; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< a608af8cde3dd38936b356bbdeedea0653a05b3f; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 8998829739c31fdbc892078e4449887d902e5dc9; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 038cf231b7099ba6202dcc0c1ea01525122df09f; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 001383248e5d754bbddb7ae2a8573bc8501c85d8; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e 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-92512. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-92512.md
Affected: Linux >= 514aee660df493cd673154a6ba6bab745ec47b8c, < 2ef2ea52ae41bd9efa83139e97ae839de7e17156; >= 514aee660df493cd673154a6ba6bab745ec47b8c, < a608af8cde3dd38936b356bbdeedea0653a05b3f; >= 514aee660df493cd673154a6ba6bab745ec47b8c, < 8998829739c31fdbc892078e4449887d902e5dc9; >= 514aee660df493cd673154a…
Fixed in: Linux 2ef2ea52ae41bd9efa83139e97ae839de7e17156, Linux 8998829739c31fdbc892078e4449887d902e5dc9, Linux 038cf231b7099ba6202dcc0c1ea01525122df09f, Linux 001383248e5d754bbddb7ae2a8573bc8501c85d8, Linux 709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 2ef2ea52ae41bd9efa83139e97ae839de7e17156; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< a608af8cde3dd38936b356bbdeedea0653a05b3f; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 8998829739c31fdbc892078e4449887d902e5dc9; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 038cf231b7099ba6202dcc0c1ea01525122df09f; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 001383248e5d754bbddb7ae2a8573bc8501c85d8; \>= 514aee660df493cd673154a6ba6bab745ec47b8c, \< 709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e; Linux 5.15.

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

Yes. Fixed in Linux 2ef2ea52ae41bd9efa83139e97ae839de7e17156, Linux 8998829739c31fdbc892078e4449887d902e5dc9, Linux 038cf231b7099ba6202dcc0c1ea01525122df09f, Linux 001383248e5d754bbddb7ae2a8573bc8501c85d8, Linux 709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e. Upgrade Linux to 709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e or later.

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

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/2ef2ea52ae41bd9efa83139e97ae839de7e17156>
- other: <https://git.kernel.org/stable/c/a608af8cde3dd38936b356bbdeedea0653a05b3f>
- other: <https://git.kernel.org/stable/c/8998829739c31fdbc892078e4449887d902e5dc9>
- other: <https://git.kernel.org/stable/c/038cf231b7099ba6202dcc0c1ea01525122df09f>
- other: <https://git.kernel.org/stable/c/001383248e5d754bbddb7ae2a8573bc8501c85d8>
- other: <https://git.kernel.org/stable/c/709ba0e5311bd034eb4d9c1c00cc4e1109d6dc3e>

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

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