{"vuln_id":"CVE-2026-99522","aliases":[],"description":"kernel: kernel: Denial of Service via use-after-free in irdma device removal","published_at":"2026-11-19T14:44:33Z","modified_at":"2026-11-19T15:18:07.807000Z","first_seen_at":"2026-11-21T19:15:15.262800Z","severity":"medium","severity_source":"redhat","cvss_score":4.1,"cvss_vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-825"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00172,"epss_percentile":0.0669,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99522"},"matched_alias":null,"items":[{"id":8854,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99522: In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: avoid use-after-free in icrdma_remove icrdma_remove() dereferences iwdev after…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: avoid use-after-free in icrdma_remove\n\nicrdma_remove() dereferences iwdev after calling\nirdma_ib_unregister_device():\n\n  irdma_ib_unregister_device(iwdev)\n    -> ib_unregister_device(&iwdev->ibdev)\n      -> __ib_unregister_device()\n        -> ib_dealloc_device()\n\nirdma registers irdma_ib_dealloc_device() as the dealloc_driver\ncallback in its ib_device_ops. The RDMA core explicitly documents\nib_unregister_device() that when ops.dealloc_driver is used, ib_dev\nwill be freed upon return from the function.\n\nThe ib_device is embedded in struct irdma_device and iwdev itself was\nallocated by ib_alloc_device(irdma_device, ibdev). Consequently, once\nirdma_ib_unregister_device() returns, iwdev must no longer be\ndereferenced.\n\nHowever, icrdma_remove() currently accesses iwdev->rf afterwards when\ndeinitializing interrupts, destroying ah_tbl_lock, and freeing rf.\nAlthough the final ib_device storage is released with kfree_rcu(), the\nobject lifetime has already ended and callers must not rely on the RCU\ngrace period to continue dereferencing iwdev.\n\nSave iwdev->rf before unregistering the RDMA device and use the saved\npointer for the remaining cleanup.\n\nThis issue was found by manual code inspection.\n\nReferences:\nhttps://git.kernel.org/stable/c/47eb0ec18f7bbd40cf1f1d261f15ef3c03e4c8d6\nhttps://git.kernel.org/stable/c/8a8088b899e4cdfe558428cd6113d45df81625be\nhttps://git.kernel.org/stable/c/e5388f15d595dd4d7599a43e9cb58c0656a6aec6","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99522","published_at":"2026-11-19T15:18:07.807000Z","updated_at":"2026-11-19T15:18:07.807000Z","fetched_at":"2026-11-21T19:15:31.484538Z","severity":"medium","cvss_score":4.1,"epss":0.00172,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99522","vuln_ids":["CVE-2026-99522"],"tags":[],"cluster_id":899,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8854","html":"https://vulnwatch.ve1ve2.com/item/8854"}},{"id":1160,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99522: kernel: kernel: Denial of Service via use-after-free in irdma device removal","summary":"kernel: kernel: Denial of Service via use-after-free in irdma device removal","url":"https://access.redhat.com/security/cve/cve-2026-99522","published_at":"2026-11-19T14:44:33Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.893925Z","severity":"medium","cvss_score":4.1,"epss":0.00172,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99522","vuln_ids":["CVE-2026-99522"],"tags":["redhat"],"cluster_id":899,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1160","html":"https://vulnwatch.ve1ve2.com/item/1160"}}]}