Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 62eca39722fd997e3621fc903229917b9f0fb271 before ccf37fff526cab2d0e6ff2aaf35947f3cf62e5bb; affected 62eca39722fd997e3621fc903229917b9f0fb271 before c2459519b39587c9c27d6b8a8cf516fee10fce66; affected 62eca39722fd997e3621fc903229917b9f0fb271 before 965804b20c0f02c1a6cf4b69c0498a79e56f97fe; affected 62eca39722fd997e3621fc903229917b9f0fb271 before a41e7fc8d244d9cfc6273051aed85b67adedbb89; affected 62eca39722fd997e3621fc903229917b9f0fb271 before cf3e706963ffbd3ee2568fa0d08ab016f0575ea8; affected 62eca39722fd997e3621fc903229917b9f0fb271 before 171b993a4aed9889159df4815b6a6ba141e61975; affected 62eca39722fd997e3621fc903229917b9f0fb271 before d61828199c6cb4b76d48403c77023cd4bb9d09fc |
| Linux / Linux | affected 5.12; unaffected 0 before 5.12; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ccf37fff526cab2d0e6ff2aaf35947f3cf62e5bb
- https://git.kernel.org/stable/c/c2459519b39587c9c27d6b8a8cf516fee10fce66
- https://git.kernel.org/stable/c/965804b20c0f02c1a6cf4b69c0498a79e56f97fe
- https://git.kernel.org/stable/c/a41e7fc8d244d9cfc6273051aed85b67adedbb89
- https://git.kernel.org/stable/c/cf3e706963ffbd3ee2568fa0d08ab016f0575ea8
- https://git.kernel.org/stable/c/171b993a4aed9889159df4815b6a6ba141e61975
- https://git.kernel.org/stable/c/d61828199c6cb4b76d48403c77023cd4bb9d09fc