CVE-2026-138816
nvme-rdma: don't complete a request after a bogus remote invalidation
Check your servers for CVE-2026-138816
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138816 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 69.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before 05f7cbf026f76222512e8e8860390700cc9ae12f affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before 61faf08159ba3926db91d2053f7667d539b0cbf1 affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before fd797069f18c66c1b75743a93773028b55a8dad9 affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before 0ca849f565874ff3638fb673aced5a4d208aaa67 affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before 5c8032e3c7baa7820b524fda81dd5a683136a442 affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before 5564d7a654a7be040d7dd55fd9dd20dd4e0beab2 affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before 08e4d674c109f4a4002efdb1b3066430abe62404 affected from 3ef0279bb0031f67537bd8972899a6a23d3064d7, before 909307cea08aff4e486cdb7491de5c76a2c31341
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138816 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138816
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138816
trivy image --scanners vuln IMAGE | grep CVE-2026-138816
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/05f7cbf026f76222512e8e8860390700cc9ae12f git.kernel.org
- https://git.kernel.org/stable/c/61faf08159ba3926db91d2053f7667d539b0cbf1 git.kernel.org
- https://git.kernel.org/stable/c/fd797069f18c66c1b75743a93773028b55a8dad9 git.kernel.org
- https://git.kernel.org/stable/c/0ca849f565874ff3638fb673aced5a4d208aaa67 git.kernel.org
- https://git.kernel.org/stable/c/5c8032e3c7baa7820b524fda81dd5a683136a442 git.kernel.org
- https://git.kernel.org/stable/c/5564d7a654a7be040d7dd55fd9dd20dd4e0beab2 git.kernel.org
- https://git.kernel.org/stable/c/08e4d674c109f4a4002efdb1b3066430abe62404 git.kernel.org
- https://git.kernel.org/stable/c/909307cea08aff4e486cdb7491de5c76a2c31341 git.kernel.org
Source: the record CVE-2026-138816 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse