RDMA/rvt: Return NULL after port allocation failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b7129930d1ec46c03a0de07fdce6c29f75795006, Kernel 2982eaf3b9d2d953318c74cd6f1b7576ea6d7b1f, Kernel 32d2cdb0f3cac430b04124c3b7248851fe2037f8 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: RDMA/rvt: Return NULL after port allocation failure rvt_alloc_device() deallocates the IB device when its port array cannot be allocated but then returns the pointer to the released allocation. Callers treat any non-NULL value as valid and dereference it, resulting in a use-after-free. Return NULL immediately after deallocation so callers can propagate the allocation failure.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ff6acd69518e0a84bd9c9b7f1bd4313f7076db97 <b7129930d1ec46c03a0de07fdce6c29f75795006, >=ff6acd69518e0a84bd9c9b7f1bd4313f7076db97 <2982eaf3b9d2d953318c74cd6f1b7576ea6d7b1f, >=ff6acd69518e0a84bd9c9b7f1bd4313f7076db97 <32d2cdb0f3cac430b04124c3b7248851fe2037f8, >=ff6acd69518e0a84bd9c9b7f1bd4313f7076db97 <5a1a7a5e2fe1a15824fa9ae5edd8f008259471d1, >=ff6acd69518e0a84bd9c9b7f1bd4313f7076db97 <80968b42d13080bf7bc1f3ee17fef126ce2ad98f, >=ff6acd69518e0a84bd9c9b7f1bd4313f7076db97 <b1e1b25723af44328524c7b54433e4bf0ab9930c, =4.6 | b7129930d1ec46c03a0de07fdce6c29f75795006, 2982eaf3b9d2d953318c74cd6f1b7576ea6d7b1f, 32d2cdb0f3cac430b04124c3b7248851fe2037f8, 5a1a7a5e2fe1a15824fa9ae5edd8f008259471d1, 80968b42d13080bf7bc1f3ee17fef126ce2ad98f, b1e1b25723af44328524c7b54433e4bf0ab9930c |
| linux-kernel: Kernel | >=6.13.0 <6.18.57, >=6.19.0 <7.2.6, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=4.6.0 <6.1.191 | 6.18.57, 7.2.6, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket