Linux
nvme-rdma: fix -EIO cleanup order in queue_rq
In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: fix -EIO cleanup order in queue_rq On -EIO, the RDMA queue_rq path reports a host path error and then still cleans up the command and unmaps the SQE DMA. The path error helper completes the request, so that is double cleanup and DMA unmap after the request is already complete. Unmap the SQE first, then report the host path error. Skip the outer command cleanup on that path.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 62eca39722fd997e3621fc903229917b9f0fb271, < ccf37fff526cab2d0e6ff2aaf35947f3cf62e5bb
- >= 62eca39722fd997e3621fc903229917b9f0fb271, < c2459519b39587c9c27d6b8a8cf516fee10fce66
- >= 62eca39722fd997e3621fc903229917b9f0fb271, < 965804b20c0f02c1a6cf4b69c0498a79e56f97fe
- >= 62eca39722fd997e3621fc903229917b9f0fb271, < a41e7fc8d244d9cfc6273051aed85b67adedbb89
- >= 62eca39722fd997e3621fc903229917b9f0fb271, < cf3e706963ffbd3ee2568fa0d08ab016f0575ea8
- >= 62eca39722fd997e3621fc903229917b9f0fb271, < 171b993a4aed9889159df4815b6a6ba141e61975
- >= 62eca39722fd997e3621fc903229917b9f0fb271, < d61828199c6cb4b76d48403c77023cd4bb9d09fc
Fixed in ccf37fff526cab2d0e6ff2aaf35947f3cf62e5bb, c2459519b39587c9c27d6b8a8cf516fee10fce66, 965804b20c0f02c1a6cf4b69c0498a79e56f97fe, a41e7fc8d244d9cfc6273051aed85b67adedbb89, cf3e706963ffbd3ee2568fa0d08ab016f0575ea8, 171b993a4aed9889159df4815b6a6ba141e61975, d61828199c6cb4b76d48403c77023cd4bb9d09fc
- 5.12
Fixed in 0, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Mitigation
Upgrade Linux to ccf37fff526cab2d0e6ff2aaf35947f3cf62e5bb or c2459519b39587c9c27d6b8a8cf516fee10fce66 or 965804b20c0f02c1a6cf4b69c0498a79e56f97fe or a41e7fc8d244d9cfc6273051aed85b67adedbb89 or cf3e706963ffbd3ee2568fa0d08ab016f0575ea8 or 171b993a4aed9889159df4815b6a6ba141e61975 or d61828199c6cb4b76d48403c77023cd4bb9d09fc or later.
Upgrade Linux to 0 or 5.15.222 or 6.1.189 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2.7 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.