CVE-2026-138816

Source
https://cve.org/CVERecord?id=CVE-2026-138816
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138816.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138816
Downstream
Published
2026-11-30T13:25:15Z
Modified
2026-11-30T15:01:02Z
Summary
nvme-rdma: don't complete a request after a bogus remote invalidation
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138816.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3ef0279bb0031f67537bd8972899a6a23d3064d7
Fixed
05f7cbf026f76222512e8e8860390700cc9ae12f
Fixed
61faf08159ba3926db91d2053f7667d539b0cbf1
Fixed
fd797069f18c66c1b75743a93773028b55a8dad9
Fixed
0ca849f565874ff3638fb673aced5a4d208aaa67
Fixed
5c8032e3c7baa7820b524fda81dd5a683136a442
Fixed
5564d7a654a7be040d7dd55fd9dd20dd4e0beab2
Fixed
08e4d674c109f4a4002efdb1b3066430abe62404
Fixed
909307cea08aff4e486cdb7491de5c76a2c31341

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138816.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138816.json"