Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/efa: Keep admin queues alive while IRQ is registered The management IRQ handler accesses both the admin completion queue and the async event queue. The driver registered the IRQ before constructing these queues and destroyed them before freeing the IRQ, so the handler's lifetime was not contained by the resources it accesses. Initialize the queues with interrupts masked, request the IRQ, and then switch to interrupt mode. On removal, reset the device and free the IRQ before destroying the queues. Also reset the device before destroying the queues if IRQ registration fails, because the device already has their DMA addresses.
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
b7f5e880f3774ff1934ce272e1c3b673a3a9c414 to < 0a8a105978e5ace0d885964317c5aed8ab4c0a0caffectedb7f5e880f3774ff1934ce272e1c3b673a3a9c414 to < 00f7df59543cce445cfd2f109ace88c17d8aef4daffectedb7f5e880f3774ff1934ce272e1c3b673a3a9c414 to < bc7e64bad96c23fb343f47689670d0037f1a65e7affectedb7f5e880f3774ff1934ce272e1c3b673a3a9c414 to < d2a1c0bf4139c17b8d7668322b78c28d8c5b2dd0affectedb7f5e880f3774ff1934ce272e1c3b673a3a9c414 to < cf5520d1c931a70ccce0a1a247113bcec47a42beaffectedb7f5e880f3774ff1934ce272e1c3b673a3a9c414 to < e08aca85c02ff290f785f07acae758f0daf5f49eaffected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/0a8a105978e5ace0d885964317c5aed8ab4c0a0c ↗
- https://git.kernel.org/stable/c/00f7df59543cce445cfd2f109ace88c17d8aef4d ↗
- https://git.kernel.org/stable/c/bc7e64bad96c23fb343f47689670d0037f1a65e7 ↗
- https://git.kernel.org/stable/c/d2a1c0bf4139c17b8d7668322b78c28d8c5b2dd0 ↗
- https://git.kernel.org/stable/c/cf5520d1c931a70ccce0a1a247113bcec47a42be ↗
- https://git.kernel.org/stable/c/e08aca85c02ff290f785f07acae758f0daf5f49e ↗