nvmet-rdma: fix out-of-bounds write in nvmet_rdma_map_sgl_inline()
CVE-2026-99858Published 30 Nov 2026, 13:17 UTC
Real-world risk
8.5/ 10High
Patch this week; within 48 h if Internet-facing
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: fix out-of-bounds write in nvmet_rdma_map_sgl_inline() nvmet_rdma_map_sgl_inline() bounds the host-supplied in-capsule SGL offset with "off + len > inline_data_size", evaluated in 64-bit arithmetic. off is taken straight from the host SGL descriptor (le64_to_cpu(sgl->addr)) and len is promoted to 64-bit, so the sum wraps: an off within len of 2^64 makes it small and the check passes. off is then used as page_idx = off / PAGE_SIZE to index the fixed-size rsp->cmd->inline_sg[] array (NVMET_RDMA_MAX_INLINE_SGE entries), so a crafted offset yields an out-of-bounds scatterlist index that is written through in nvmet_rdma_use_inline_sg(). The mapping runs while handling a received capsule, before the command executes, so a remote RDMA peer can reach it (the Connect capsule is a write and takes this path on a queue that has no controller yet). The host controls only the low bits of the resulting displacement, so the expected impact is an out-of-bounds write that faults the target (remote denial of service). This wrap was reported, with a KASAN reproduction, on linux-nvme in May, and the check below was suggested in that thread. The fix that was applied, 48c0162f647b, reworked how the offset is mapped but kept the original check, and its page index turns a wrapped offset into an out-of-bounds index into inline_sg[]. Reject the offset before it can wrap. Found independently by static analysis with AI assistance, not reproduced at runtime.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 4.19 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.7% chance of exploitation in 30 days (percentile 78), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 1 × threat 0.858.500
- Rounded to one decimal between 0.1 and 108.5
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 8.5 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/23352a849f3de89fa72da56e0bdd894d9110c099
- https://git.kernel.org/stable/c/61f65766d779a9d048280fd589df3f36a7df0878
- https://git.kernel.org/stable/c/2282aac58d857bc2197d5b50f13d7e577a4eedfe
- https://git.kernel.org/stable/c/e2ab52b61e79841c6b1ddf9a9014792c71f32713
- https://git.kernel.org/stable/c/e9e33234547ac2a2ff583813862bc39caac782d8
- https://git.kernel.org/stable/c/cfccc5133007373ce8f2a1b856ad7f6d4969858b
- https://git.kernel.org/stable/c/6ce60c9226ca583b2b94be63728f3612204f9952
- https://git.kernel.org/stable/c/d1512773a0d539669440bd9f6d050b8e12923b5f
- CVE-2026-99858 on CVE.org