# CVE-2026-99522: RDMA/irdma: avoid use-after-free in icrdma\_remove

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-19T14:44:33.890Z
- **Modified:** 2026-11-19T15:18:07.807Z

## Who should check

- Anyone running Linux \>= 8498a30e1b9484629598cce97d200f517445e26b, \< e5388f15d595dd4d7599a43e9cb58c0656a6aec6; \>= 8498a30e1b9484629598cce97d200f517445e26b, \< 47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6; \>= 8498a30e1b9484629598cce97d200f517445e26b, \< 8a8088b899e4cdfe558428cd6113d45df81625be
- Anyone running Linux 5.14

## Description

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

RDMA/irdma: avoid use-after-free in icrdma\_remove

icrdma\_remove() dereferences iwdev after calling
irdma\_ib\_unregister\_device():

  irdma\_ib\_unregister\_device(iwdev)
    -\> ib\_unregister\_device(&iwdev-\>ibdev)
      -\> \_\_ib\_unregister\_device()
        -\> ib\_dealloc\_device()

irdma registers irdma\_ib\_dealloc\_device() as the dealloc\_driver
callback in its ib\_device\_ops. The RDMA core explicitly documents
ib\_unregister\_device() that when ops.dealloc\_driver is used, ib\_dev
will be freed upon return from the function.

The ib\_device is embedded in struct irdma\_device and iwdev itself was
allocated by ib\_alloc\_device(irdma\_device, ibdev). Consequently, once
irdma\_ib\_unregister\_device() returns, iwdev must no longer be
dereferenced.

However, icrdma\_remove() currently accesses iwdev-\>rf afterwards when
deinitializing interrupts, destroying ah\_tbl\_lock, and freeing rf.
Although the final ib\_device storage is released with kfree\_rcu(), the
object lifetime has already ended and callers must not rely on the RCU
grace period to continue dereferencing iwdev.

Save iwdev-\>rf before unregistering the RDMA device and use the saved
pointer for the remaining cleanup.

This issue was found by manual code inspection.

## Affected and fixed versions

- Linux: \>= 8498a30e1b9484629598cce97d200f517445e26b, \< e5388f15d595dd4d7599a43e9cb58c0656a6aec6; \>= 8498a30e1b9484629598cce97d200f517445e26b, \< 47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6; \>= 8498a30e1b9484629598cce97d200f517445e26b, \< 8a8088b899e4cdfe558428cd6113d45df81625be (cvelist)
- Linux: 5.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

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

Details: https://flawdb.com/CVE-2026-99522.md
Affected: Linux >= 8498a30e1b9484629598cce97d200f517445e26b, < e5388f15d595dd4d7599a43e9cb58c0656a6aec6; >= 8498a30e1b9484629598cce97d200f517445e26b, < 47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6; >= 8498a30e1b9484629598cce97d200f517445e26b, < 8a8088b899e4cdfe558428cd6113d45df81625be; Linux 5.14
Fixed in: Linux 47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6, Linux 8a8088b899e4cdfe558428cd6113d45df81625be

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

There is no confirmed exploitation: CVE-2026-99522 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 8498a30e1b9484629598cce97d200f517445e26b, \< e5388f15d595dd4d7599a43e9cb58c0656a6aec6; \>= 8498a30e1b9484629598cce97d200f517445e26b, \< 47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6; \>= 8498a30e1b9484629598cce97d200f517445e26b, \< 8a8088b899e4cdfe558428cd6113d45df81625be; Linux 5.14.

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

Yes. Fixed in Linux 47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6, Linux 8a8088b899e4cdfe558428cd6113d45df81625be. Upgrade Linux to 8a8088b899e4cdfe558428cd6113d45df81625be or later.

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

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/e5388f15d595dd4d7599a43e9cb58c0656a6aec6>
- other: <https://git.kernel.org/stable/c/47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6>
- other: <https://git.kernel.org/stable/c/8a8088b899e4cdfe558428cd6113d45df81625be>

## 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-99522>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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