RDMA/hfi1: Preserve unit 0 on 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 fd4d3ad5f244a867166d1e2da7ece3d82878ec81, Kernel 0feb29d434e6cc0ebefec4f77be014c85ad751b0, Kernel 2e3809ad8911f5d5581b3f046bd628417bface76 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Preserve unit 0 on allocation failure hfi1_free_devdata() assumes that the device was inserted into the unit table and unconditionally erases dd->unit. If xa_alloc_irq() fails, the zero-initialized unit remains zero, so full cleanup can remove an unrelated device from index 0. Release only the rdmavt allocation and return immediately while the unit table has not acquired the device.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=03b92789e5cfdac66805c1a98f1ec67336199d56 <fd4d3ad5f244a867166d1e2da7ece3d82878ec81, >=03b92789e5cfdac66805c1a98f1ec67336199d56 <0feb29d434e6cc0ebefec4f77be014c85ad751b0, >=03b92789e5cfdac66805c1a98f1ec67336199d56 <2e3809ad8911f5d5581b3f046bd628417bface76, >=03b92789e5cfdac66805c1a98f1ec67336199d56 <3d0e5252b8d0345ef494763ca31e3ddd666e02cb, >=03b92789e5cfdac66805c1a98f1ec67336199d56 <3f1e196eb66b8cd3882e373794d6cea46f150a20, >=03b92789e5cfdac66805c1a98f1ec67336199d56 <4204f5c0312ba136181a6e148ffa0bfaf95a4cc1, >=03b92789e5cfdac66805c1a98f1ec67336199d56 <4ff9d58d34758e9633078b37e8d5289b513ff80e, >=03b92789e5cfdac66805c1a98f1ec67336199d56 <852637d3ee56aed8ea3ee8948eda21eca406c051, =5.2 | fd4d3ad5f244a867166d1e2da7ece3d82878ec81, 0feb29d434e6cc0ebefec4f77be014c85ad751b0, 2e3809ad8911f5d5581b3f046bd628417bface76, 3d0e5252b8d0345ef494763ca31e3ddd666e02cb, 3f1e196eb66b8cd3882e373794d6cea46f150a20, 4204f5c0312ba136181a6e148ffa0bfaf95a4cc1, 4ff9d58d34758e9633078b37e8d5289b513ff80e, 852637d3ee56aed8ea3ee8948eda21eca406c051 |
| linux-kernel: Kernel | >=5.16.0 <6.1.188, >=5.2.0 <5.10.270, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.11.0 <5.15.221 | 6.1.188, 5.10.270, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.15.221 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket