PT-2026-151733

CVE-2026-99522

·

تاريخ النشر

2026-11-19

·

تاريخ التحديث

2026-11-19

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾