nvme-rdma: don't complete a request after a bogus remote invalidation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel from 4.15, the nvme-rdma driver receives a remote invalidation naming an rkey not issued for the request, and nvme_rdma_process_nvme_rsp() logs it and schedules error recovery, but the request still falls through to nvme_rdma_end_request(). The request completes with req->mr never invalidated, and ib_mr_pool_put() only returns the MR to a list, so the rkey stays valid and maps the pages the completed read filled. A controller that sent the bogus invalidation can write into those pages after pread() returns. The CVSS 3.1 base score is 9.8, and Red Hat rates the issue Important (CVE-2026-138816, GHSA-7665-q563-gj24).
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.15 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 4.15 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Upgrade the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1. The fix returns from the error path and leaves the request for error recovery to cancel. Red Hat has no fix available yet for Red Hat Enterprise Linux 7, 8, 9 and 10 or for OpenShift Container Platform 4 and 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-11-30 Threatist record created from CVE-2026-138816
- 2026-11-30 Alias added: GHSA-7665-q563-gj24
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
- 2026-12-01 CVSS score added · CNA
References
Other 8
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-138816 · CVE Program
- CVE-2026-138816 · NVD
- GHSA-7665-q563-gj24 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-138816 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences