CVE-2026-99522
Last modified
CVE-2026-99522 is a vulnerability of currently unknown severity. 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).
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 8498a30e1b9484629598cce97d200f517445e26b, < e5388f15d595dd4d7599a43e9cb58c0656a6aec6; >= 8498a30e1b9484629598cce97d200f517445e26b, < 47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6; >= 8498a30e1b9484629598cce97d200f517445e26b, < 8a8088b899e4cdfe558428cd6113d45df81625be |
| Linux | Linux | 5.14 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99522?
How severe is CVE-2026-99522?
How do I fix CVE-2026-99522?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99517In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99518In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99519In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9952Use after free in WebAudio in Google Chrome prior to 148.0.7…8.8
- CVE-2026-99520In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99521In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99523In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99524In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99525In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99526In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99527In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99528In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-99522?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
