Linux kernel out-of-bounds write in nvmet-rdma SGL mapping
Affects the Linux kernel NVMe-oF RDMA target (nvmet-rdma) with a configured port, including at the default inline data size. No fixed versions or patch ids are given in the checked facts.
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
The Linux kernel's NVMe over RDMA target code has a flaw where a crafted offset in a network request can wrap around a size check and cause an out-of-bounds write. A remote attacker can reach it over the network without logging in, and the expected result is a crash of the target system (denial of service).
Written by a model
Original description
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.
Who should check
Teams running the Linux kernel NVMe-oF RDMA target (nvmet-rdma) with a configured port, over RoCEv2 or iWARP, including storage hosts exposing NVMe over RDMA.
Not fixed by: The earlier fix 48c0162f647b did not close this; it kept the original wrapping check.
“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)”
What to do
Workaround: No workaround is given in the facts. The exposure depends on having a configured nvmet-rdma port, so limiting or not using that feature reduces the exposed setup.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-99858 (nvmet-rdma: fix out-of-bounds write in nvmet_rdma_map_sgl_inline()), 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-99858 (entry last updated 2026-12-01):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 4.19
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Linux kernel NVMe-oF RDMA target (nvmet-rdma) with a configured port, handling capsules from a remote RDMA host (source: https://www.cve.org/CVERecord?id=CVE-2026-99858)
- The in-capsule SGL offset check wraps in 64-bit arithmetic, so a crafted offset passes the bounds check (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23352a849f3de89fa72da56e0bdd894d9110c099)
- Works at the default inline data size (source: https://www.cve.org/CVERecord?id=CVE-2026-99858)
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-99858 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-99858 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/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
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-99858
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-99858"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux4.19
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity9.8/10CVSS 9.8
- No patch5/5No patch listed yet
What would change the score
- Would score about 97 if added to CISA KEV
- Would score about 92 if CISA's SSVC rates exploitation active
- Would score about 57 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 10
Questions about CVE-2026-99858
Is CVE-2026-99858 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: cve.now feed data
What does this mean?
The nvmet-rdma code checks an in-capsule data offset using arithmetic that can wrap around in 64 bits. A crafted offset passes the bounds check and causes an out-of-bounds write, which can crash the target kernel (remote denial of service). Older code may also corrupt adjacent kernel memory.
Source: cve.org, git.kernel.org
Which versions are affected by CVE-2026-99858?
Linux: version 4.19.
Source: cve.now feed data
Am I affected, and how do I check?
The affected setup is a Linux kernel NVMe-oF RDMA target (nvmet-rdma) with a configured port that handles capsules from a remote RDMA host, and it works at the default inline_data_size (PAGE_SIZE). No version ranges are listed in the facts. Readers can check whether the nvmet-rdma module is loaded and whether an RDMA port is configured on the target.
Source: cve.org, git.kernel.org
How do I fix CVE-2026-99858?
The facts name no fixed versions or patch ids. Check the Linux kernel advisory or the distribution's kernel updates for a fix to this CVE.
Source: cve.org, git.kernel.org
What if there's no patch?
No workaround is given in the facts. The exposure depends on having a configured nvmet-rdma port, so limiting or not using that feature reduces the exposed setup.
Source: cve.org, git.kernel.org
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.