nvme-rdma: don't complete a request after a bogus remote invalidation
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
nvme-rdma: don't complete a request after a bogus remote invalidation
When a remote invalidation names an rkey that is not the one we handed out for this request, nvme_rdma_process_nvme_rsp() logs and schedules error recovery, then falls through to nvme_rdma_end_request(). The request is completed with req->mr never invalidated, and nvme_rdma_unmap_data() hands it back with ib_mr_pool_put(), which only puts it on a list. The rkey stays valid and still maps the pages the completed read filled, so a controller that sent the bogus invalidation can write into those pages after pread() has returned.
Return instead, the way the local invalidation path below already does, and leave the request for error recovery to cancel.
| Product | Versions |
|---|---|
| Linux Linux | 3ef0279bb0031f67537bd8972899a6a23d3064d7 to before 05f7cbf026f76222512e8e8860390700cc9ae12f Affected3ef0279bb0031f67537bd8972899a6a23d3064d7 to before 61faf08159ba3926db91d2053f7667d539b0cbf1 Affected3ef0279bb0031f67537bd8972899a6a23d3064d7 to before fd797069f18c66c1b75743a93773028b55a8dad9 Affected3ef0279bb0031f67537bd8972899a6a23d3064d7 to before 0ca849f565874ff3638fb673aced5a4d208aaa67 Affected3ef0279bb0031f67537bd8972899a6a23d3064d7 to before 5c8032e3c7baa7820b524fda81dd5a683136a442 Affected3ef0279bb0031f67537bd8972899a6a23d3064d7 to before 5564d7a654a7be040d7dd55fd9dd20dd4e0beab2 Affected3ef0279bb0031f67537bd8972899a6a23d3064d7 to before 08e4d674c109f4a4002efdb1b3066430abe62404 Affected3ef0279bb0031f67537bd8972899a6a23d3064d7 to before 909307cea08aff4e486cdb7491de5c76a2c31341 Affected |
| Linux Linux | 4.15 Affectedbefore 4.15 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/05f7cbf026f76222512e8e8860390700cc9ae12f
- https://git.kernel.org/stable/c/61faf08159ba3926db91d2053f7667d539b0cbf1
- https://git.kernel.org/stable/c/fd797069f18c66c1b75743a93773028b55a8dad9
- https://git.kernel.org/stable/c/0ca849f565874ff3638fb673aced5a4d208aaa67
- https://git.kernel.org/stable/c/5c8032e3c7baa7820b524fda81dd5a683136a442
- https://git.kernel.org/stable/c/5564d7a654a7be040d7dd55fd9dd20dd4e0beab2
- https://git.kernel.org/stable/c/08e4d674c109f4a4002efdb1b3066430abe62404
- https://git.kernel.org/stable/c/909307cea08aff4e486cdb7491de5c76a2c31341
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.