CVE-2026-138816: Linux kernel nvme-rdma flaw lets an NVMe-oF storage controller write into host memory after a read completes
A bug in the Linux kernel's NVMe over Fabrics RDMA driver can let the storage controller a server is connected to keep writing into that server's memory after a read has finished. Only Linux hosts that mount NVMe storage over an RDMA fabric are exposed, and fixed kernels are already out.
- CVE-2026-138816
Quick answers
What is CVE-2026-138816?
CVE-2026-138816 (CVE-2026-138816) is a vulnerability in Linux kernel (nvme-rdma host driver, drivers/nvme/host/rdma.c). A bug in the Linux kernel's NVMe over Fabrics RDMA driver can let the storage controller a server is connected to keep writing into that server's memory after a read has finished. Only Linux hosts that mount NVMe storage over an RDMA fabric are exposed, and fixed kernels are already out.
Am I affected by CVE-2026-138816?
CVE-2026-138816 affects Linux kernels from 4.15 up to, but not including, the fixed stable releases 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 and 7.3.4, but only on hosts that use NVMe over Fabrics with the RDMA transport (the nvme_rdma kernel module). Hosts using local NVMe, NVMe over TCP or ordinary cloud disks do not use the vulnerable nvme-rdma code path.
Which versions fix CVE-2026-138816?
4.15 to 5.10.x: 5.10.275; 5.11 to 5.15.x: 5.15.226; 5.16 to 6.1.x: 6.1.193; 6.2 to 6.6.x: 6.6.163; 6.7 to 6.12.x: 6.12.117; 6.13 to 6.18.x: 6.18.63; 6.19 to 7.3.x: 7.3.4
Is CVE-2026-138816 being exploited?
No exploitation in the wild has been reported; it is not in the CISA KEV catalog.
Is there a workaround for CVE-2026-138816?
The fix for CVE-2026-138816 is to run a Linux kernel at or above the fixed stable release for your line (5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 or 7.3.4) or your distribution's patched kernel, then reboot. The upstream patch is a one-line change in drivers/nvme/host/rdma.c that stops the nvme-rdma driver from completing a request after a bogus remote invalidation.
No official workaround for CVE-2026-138816 has been published. Until you can patch, reduce exposure by connecting Linux NVMe-oF RDMA hosts only to storage targets you control, keeping the RDMA fabric isolated from untrusted networks, and, on hosts that do not need NVMe over Fabrics with RDMA, stopping the nvme_rdma module from loading.
The module block below is our general hardening advice, not a vendor workaround. Do not apply it on hosts that mount storage over NVMe-oF RDMA, because it will stop those connections after the next load or reboot.
What this means for your business
A malicious or compromised NVMe-oF storage controller can overwrite data in host memory after the application believes the read is done, which can corrupt data or affect what the host runs.
The CNA scores this 9.8 (CVSS 3.1), the highest band, with high impact on confidentiality, integrity and availability.
No public exploit and no reports of active exploitation are in our sources as of 2026-12-01.
Servers that do not use NVMe over Fabrics with the RDMA transport do not run the vulnerable code.
Is this about you? CVE-2026-138816 affects Linux kernels from 4.15 up to, but not including, the fixed stable releases 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 and 7.3.4, but only on hosts that use NVMe over Fabrics with the RDMA transport (the nvme_rdma kernel module). Hosts using local NVMe, NVMe over TCP or ordinary cloud disks do not use the vulnerable nvme-rdma code path.
Ask your team or provider:
- Do any of our Linux servers or Kubernetes nodes connect to NVMe storage over an RDMA fabric (InfiniBand, RoCE or iWARP)?
- Who controls the storage targets those hosts connect to, and could one of them be compromised or impersonated on the fabric?
- Which kernel versions do those hosts run, and has our Linux distribution shipped a fixed kernel yet?
- Can we schedule a reboot window for the affected hosts this week?
How fast: If you run NVMe over Fabrics with RDMA, plan to move to a fixed kernel within days, in your next maintenance window this week. If you do not use NVMe-oF over RDMA, pick up the fix in your normal kernel patch cycle.
Not sure if you are exposed?
We check your servers and containers with read-only access, tell you what is exposed, and patch it in a window you approve.
For engineers
| Line | Affected | Fixed in |
|---|---|---|
4.15 to 5.10.x | 4.15.0 up to before 5.10.275 | 5.10.275 |
5.11 to 5.15.x | 5.11.0 up to before 5.15.226 | 5.15.226 |
5.16 to 6.1.x | 5.16.0 up to before 6.1.193 | 6.1.193 |
6.2 to 6.6.x | 6.2.0 up to before 6.6.163 | 6.6.163 |
6.7 to 6.12.x | 6.7.0 up to before 6.12.117 | 6.12.117 |
6.13 to 6.18.x | 6.13.0 up to before 6.18.63 | 6.18.63 |
6.19 to 7.3.x | 6.19.0 up to before 7.3.4 | 7.3.4 |
Versions are upstream stable kernel versions from OSV. The bug was introduced by commit 3ef0279bb0031 ("nvme-rdma: Check remotely invalidated rkey matches our expected rkey") and fixed upstream by commit 909307cea08a. OSV lists no fix inside intermediate non-LTS lines (for example 4.19, 5.4, 7.0 to 7.2); on those you need to move to a listed fixed release. Distribution kernels use their own version numbers and backport fixes, so check your distribution's advisory for CVE-2026-138816; distro fixed versions are not in our sources yet.
When it can be exploited
- The host runs an affected Linux kernel with the
nvme_rdmamodule loaded. - The host is connected to an NVMe over Fabrics controller using the RDMA transport.
- The attacker controls, or can act as, that remote NVMe controller and sends a remote invalidation naming the wrong rkey.
Check if you are affected
uname -r; lsmod | grep -w nvme_rdma; grep -H . /sys/class/nvme/nvme*/transport 2>/dev/null; journalctl -k --no-pager | grep -i 'Bogus remote invalidation'
All commands are read-only. uname -r shows the running kernel; compare it with the table or your distro advisory. No output from lsmod and no controller showing rdma as its transport means the host is not using the vulnerable path right now. Any Bogus remote invalidation lines in the kernel log mean a controller has sent the mismatched invalidation this bug mishandles; treat that as worth investigating.
If you can't upgrade today
The fix for CVE-2026-138816 is to run a Linux kernel at or above the fixed stable release for your line (5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 or 7.3.4) or your distribution's patched kernel, then reboot. The upstream patch is a one-line change in drivers/nvme/host/rdma.c that stops the nvme-rdma driver from completing a request after a bogus remote invalidation.
No official workaround for CVE-2026-138816 has been published. Until you can patch, reduce exposure by connecting Linux NVMe-oF RDMA hosts only to storage targets you control, keeping the RDMA fabric isolated from untrusted networks, and, on hosts that do not need NVMe over Fabrics with RDMA, stopping the nvme_rdma module from loading.
The module block below is our general hardening advice, not a vendor workaround. Do not apply it on hosts that mount storage over NVMe-oF RDMA, because it will stop those connections after the next load or reboot.
# Only on hosts that do NOT use NVMe-oF over RDMA. Review before applying.
echo 'install nvme_rdma /bin/false' | sudo tee /etc/modprobe.d/disable-nvme-rdma.conf
Signs you were already hit
Search kernel logs, including archived and centrally collected logs, for Bogus remote invalidation for rkey, which the vulnerable code prints when it hits this path, along with NVMe error recovery or reconnect messages around the same time. If you find any, identify the target that host was connected to and check that target for compromise. Then check data read from NVMe-oF volumes on that host for unexpected changes. A clean log does not prove nothing happened if logs have rotated. Our sources publish no other indicators of compromise.
Prompt for your coding agent
Paste this into Claude Code, Codex or Cursor, opened in the repository that holds your server and deployment configuration. It only reads and proposes changes; review the diff before you apply it.
You are helping assess exposure to CVE-2026-138816, a Linux kernel bug in the nvme-rdma host driver (NVMe over Fabrics using the RDMA transport). Affected: kernels from 4.15 up to before the fixed stable releases 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 and 7.3.4. Only hosts that use the nvme_rdma module are exposed. Investigate this repository only, read-only: 1) Find where kernel versions or OS images are pinned (Terraform, Bicep, ARM templates, Packer, cloud-init, Ansible, Kubernetes node pool or VM image definitions, Dockerfiles for node images). 2) Find any use of NVMe over Fabrics with RDMA, such as `nvme connect -t rdma`, `nvme_rdma` in module load lists, `/etc/nvme/discovery.conf`, or RDMA/InfiniBand/RoCE configuration. 3) Report each place found with file path and line, the kernel or image version, and whether it appears affected. 4) Propose a diff, for human review, that moves affected definitions to a fixed kernel or patched image, and, only for hosts with no NVMe-oF RDMA usage, optionally adds a modprobe rule `install nvme_rdma /bin/false`. Do not apply the diff, do not commit, push, deploy, reboot or restart anything, and do not run commands that change systems. If something is unclear, such as which distro kernel contains the fix, say so instead of guessing.
Timeline
Fix authored by Yehyeong Lee (nvme-rdma: don't complete a request after a bogus remote invalidation).
Backports committed to stable kernel branches (commits
08e4d674c109and5564d7a654a7).Further stable backports committed (commits
05f7cbf026f7and0ca849f56587).CVE-2026-138816 published, CVSS 3.1 score 9.8 from the CNA.
CVE record last modified. No known exploitation or public proof of concept in our sources.
Sources
- Upstream fix commit 909307cea08a (kernel.org)
- Stable backport 05f7cbf026f7 (kernel.org)
- Stable backport 08e4d674c109 (kernel.org)
- Stable backport 0ca849f56587 (kernel.org)
- Stable backport 5564d7a654a7 (kernel.org)
- Stable backport 5c8032e3c7ba (kernel.org)
- Stable backport 61faf08159ba (kernel.org)
- Stable backport fd797069f18c (kernel.org)
- NVD: CVE-2026-138816
Checked 1 Dec 2026. We update this page when the vendor, CISA or the distributions change the picture.