RDMA/efa: Keep EQ resources alive while IRQ is registered
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2a152512a155aaf27c3e67834ffafaed9525a7b5 · < e22a3627b7151754f07f90ea3d1ab6e85f5d93f4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/efa: Keep EQ resources alive while IRQ is registered
The completion IRQ handler accesses the EQ state and DMA buffer. Its IRQ was registered before that state was initialized, while teardown released the buffer before free_irq() synchronized the handler.
Initialize the EQ without arming it, register the IRQ, and then arm it. Reverse the resource order during teardown by freeing the IRQ before destroying the EQ.
From the CVE record · Linux
The Linux kernel RDMA/efa completion IRQ handler can access EQ state or a DMA buffer before initialization or after teardown releases it. This can occur if the IRQ runs during setup or teardown. The input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with RDMA/efa should check their kernel versions; affected versions are not specified.