Threat Feed

CVE-2026-138816: nvme-rdma: don't complete a request after a bogus remote invalidation

Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-30

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.

Enclave's analysis

A Linux kernel bug in the NVMe-over-RDMA host driver lets a storage target the host already trusts send a bogus memory-key invalidation, then keep reading or writing the host's memory pages after the I/O that used them has completed. It only bites hosts that load the nvme_rdma driver and connect to a target over RoCEv2/iWARP — not a default setup anywhere. No public exploit, PoC, or in-the-wild use has surfaced, and Red Hat scores it notably lower than NVD because it disputes the confidentiality angle. Patch to the fixed kernel for your branch and don't point NVMe-oF hosts at untrusted storage.

Fix

Upgrade Linux kernel — nvme-rdma host driver (drivers/nvme/host/rdma.c) to 5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.117 / 6.18.63 / 7.3.4 / 7.4-rc1 (per branch). No fixed version is listed for Linux; follow the vendor advisory.

Affected versions

ProductVulnerableFixed in
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before 05f7cbf026f76222512e8e8860390700cc9ae12fNot listed
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before 61faf08159ba3926db91d2053f7667d539b0cbf1Not listed
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before fd797069f18c66c1b75743a93773028b55a8dad9Not listed
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before 0ca849f565874ff3638fb673aced5a4d208aaa67Not listed
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before 5c8032e3c7baa7820b524fda81dd5a683136a442Not listed
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before 5564d7a654a7be040d7dd55fd9dd20dd4e0beab2Not listed
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before 08e4d674c109f4a4002efdb1b3066430abe62404Not listed
Linux3ef0279bb0031f67537bd8972899a6a23d3064d7 before 909307cea08aff4e486cdb7491de5c76a2c31341Not listed
Linux4.15Not listed
Linux kernel — nvme-rdma host driver (drivers/nvme/host/rdma.c)>=4.15.0 and before the fixed point on each stable branch (5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4)5.10.275 / 5.15.226 / 6.1.193 / 6.6.163 / 6.12.117 / 6.18.63 / 7.3.4 / 7.4-rc1 (per branch)

Seen in 3 sources