Linux kernel remote memory write after request completion in NVMe-RDMA
Affects Linux hosts using the nvme-rdma initiator driver, reachable over RoCEv2 or iWARP when the NVMe target is IP-routable. The facts name no fixed version or patch id.
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
In the Linux kernel's NVMe over RDMA driver, a malicious or compromised storage controller can send a bogus remote invalidation that leaves a completed read request's memory registration active. The attacker can then keep writing into those memory pages after the read has finished. The flaw can be reached remotely over the network, without logging in.
Written by a model
Original 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.
Who should check
Teams running Linux hosts that use the nvme-rdma initiator (NVMe over RDMA, RoCEv2 or iWARP) to reach NVMe-oF targets.
“nvme_rdma_process_nvme_rsp() logs and schedules error recovery, then falls through to nvme_rdma_end_request().”
What to do
Workaround: The facts give no workaround. Based on the stated conditions, the exposure comes from using the nvme-rdma initiator with IP-routable NVMe targets, so limiting that use to trusted targets reduces it. A strict IOMMU is mentioned as relevant to freed-memory reads.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138816 (nvme-rdma: don't complete a request after a bogus remote invalidation), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138816 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 4.15
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Host uses the Linux nvme-rdma initiator driver and receives a remote invalidation naming an rkey that is not the one issued for the request (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05f7cbf026f76222512e8e8860390700cc9ae12f)
- Reachable over RoCEv2 or iWARP where the NVMe target is IP-routable (source: https://www.cve.org/CVERecord?id=CVE-2026-138816)
- Freed-memory reads need a host without a strict IOMMU (iommu=pt or x86 lazy flush) (source: https://www.cve.org/CVERecord?id=CVE-2026-138816)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-138816 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138816 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- 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
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138816
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138816"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux4.15
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity9.8/10CVSS 9.8
- No patch5/5No patch listed yet
What would change the score
- Would score about 97 if added to CISA KEV
- Would score about 92 if CISA's SSVC rates exploitation active
- Would score about 57 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 10
Questions about CVE-2026-138816
Is CVE-2026-138816 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
When a remote invalidation names an rkey that is not the one issued for the request, the nvme-rdma driver logs it and starts error recovery, but then still completes the request. The rkey stays valid, so a malicious NVMe-oF RDMA target can read or write the request's pages afterward, including freed and reallocated kernel memory. This can leak data, corrupt memory or crash the host.
Source: git.kernel.org, cve.org
Which versions are affected by CVE-2026-138816?
Linux: version 4.15.
Source: cve.now feed data
Am I affected, and how do I check?
The facts list Linux without version ranges. The setup involved is a host using the nvme-rdma initiator driver, with the target reachable over RoCEv2 or iWARP (where the target is IP-routable). Reads of freed memory need a host without a strict IOMMU (iommu=pt or x86 lazy flush). A reader can check whether the nvme_rdma module is loaded and how the IOMMU is configured on the kernel command line.
Source: git.kernel.org, cve.org
How do I fix CVE-2026-138816?
The facts name no fixed version or vendor patch id. Check the Linux kernel stable releases or distribution advisories for a fix that covers the nvme-rdma change.
Source: git.kernel.org, cve.org
What if there's no patch?
The facts give no workaround. Based on the stated conditions, the exposure comes from using the nvme-rdma initiator with IP-routable NVMe targets, so limiting that use to trusted targets reduces it. A strict IOMMU is mentioned as relevant to freed-memory reads.
Source: git.kernel.org, cve.org
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.