RDMA/efa: Keep admin queues alive while IRQ is registered
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b7f5e880f3774ff1934ce272e1c3b673a3a9c414 · < e08aca85c02ff290f785f07acae758f0daf5f49e| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The RDMA/efa management IRQ handler can access admin and async event queues before they are constructed or after they are destroyed. The input does not specify an attacker action or whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with the RDMA/efa driver should check their kernel versions; affected versions are not specified.