RDMA/irdma: Fix a window for use-after-free
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Fix a window for use-after-free
During a destroy CQ an interrupt may cause processing of a CQE after CQ resources are freed by irdma_cq_free_rsrc(). Fix this by moving the call to irdma_cq_free_rsrc() after the irdma_sc_cleanup_ceqes(), which is called under the cq_lock.
From the CVE record · Linux
The Linux kernel’s RDMA/irdma driver has a use-after-free window when a completion queue is destroyed. An interrupt can cause a completion queue entry to be processed after its resources have been freed. The input does not specify how an attacker could trigger this or what access would be required.
Engineers running Linux kernels with the RDMA/irdma driver should check their versions; affected versions are not specified.