Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
03b92789e5cfdac66805c1a98f1ec67336199d56 to < 852637d3ee56aed8ea3ee8948eda21eca406c051affected03b92789e5cfdac66805c1a98f1ec67336199d56 to < 3d0e5252b8d0345ef494763ca31e3ddd666e02cbaffected03b92789e5cfdac66805c1a98f1ec67336199d56 to < 0feb29d434e6cc0ebefec4f77be014c85ad751b0affected03b92789e5cfdac66805c1a98f1ec67336199d56 to < 3f1e196eb66b8cd3882e373794d6cea46f150a20affected03b92789e5cfdac66805c1a98f1ec67336199d56 to < 4ff9d58d34758e9633078b37e8d5289b513ff80eaffected03b92789e5cfdac66805c1a98f1ec67336199d56 to < fd4d3ad5f244a867166d1e2da7ece3d82878ec81affected03b92789e5cfdac66805c1a98f1ec67336199d56 to < 4204f5c0312ba136181a6e148ffa0bfaf95a4cc1affected03b92789e5cfdac66805c1a98f1ec67336199d56 to < 2e3809ad8911f5d5581b3f046bd628417bface76affected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/852637d3ee56aed8ea3ee8948eda21eca406c051 ↗
- https://git.kernel.org/stable/c/3d0e5252b8d0345ef494763ca31e3ddd666e02cb ↗
- https://git.kernel.org/stable/c/0feb29d434e6cc0ebefec4f77be014c85ad751b0 ↗
- https://git.kernel.org/stable/c/3f1e196eb66b8cd3882e373794d6cea46f150a20 ↗
- https://git.kernel.org/stable/c/4ff9d58d34758e9633078b37e8d5289b513ff80e ↗
- https://git.kernel.org/stable/c/fd4d3ad5f244a867166d1e2da7ece3d82878ec81 ↗
- https://git.kernel.org/stable/c/4204f5c0312ba136181a6e148ffa0bfaf95a4cc1 ↗
- https://git.kernel.org/stable/c/2e3809ad8911f5d5581b3f046bd628417bface76 ↗