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.
https://git.kernel.org/stable/c/e22a3627b7151754f07f90ea3d1ab6e85f5d93f4
https://git.kernel.org/stable/c/c767e2812cac83fef70fb8932c3f0fe97dff9388
https://git.kernel.org/stable/c/9ecd3dcbdf1f315aadc049b291f59c79dc478062
https://git.kernel.org/stable/c/795eb34bfd8b1ab347adc41a11e4bb97c3ac0ce6
https://git.kernel.org/stable/c/3cd652dfcd822af26ba75d6d2d245ea7f73b499e
https://git.kernel.org/stable/c/38871ff47e2a02f8d9a333a65f358d987247b5b0