CVE-2026-99858: nvmet-rdma: fix out-of-bounds write in nvmet_rdma_map_sgl_inline()

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nvmet-rdma: fix out-of-bounds write in nvmetrdmamapsglinline()

nvmetrdmamapsglinline() bounds the host-supplied in-capsule SGL offset with "off + len > inlinedatasize", evaluated in 64-bit arithmetic. off is taken straight from the host SGL descriptor (le64tocpu(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 pageidx = off / PAGESIZE to index the fixed-size rsp->cmd->inlinesg[] array (NVMETRDMAMAXINLINESGE entries), so a crafted offset yields an out-of-bounds scatterlist index that is written through in nvmetrdmauseinlinesg().

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 inlinesg[].

Reject the offset before it can wrap.

Found independently by static analysis with AI assistance, not reproduced at runtime.

Affected Software

12 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.19.0<5.10.275
5.10.275
linux/kernel>=5.11.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.4
7.3.4
debian/linux*
debian/linux<6.12.118-1
6.12.118-1
debian/linux<7.3.4-1
7.3.4-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1
6.12.118-17.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.275
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  8. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.118-1
  9. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1
  10. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.118-1Fixed in 7.3.4-1
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 48c0162f647b

Event History

Nov 30, 2026
CVE Published
via MITRE·01:17 PM
Data Sourced
via MITRE·01:17 PM
Description
Data Sourced
via OSV·01:17 PM
DescriptionAffected Software
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Linux systems operating an NVMe-over-RDMA target that handle received RDMA capsules from remote peers are exposed. The vulnerable path is reached while mapping host-supplied in-capsule SGL data.

2

Does an attacker need an existing NVMe controller connection to trigger it?

No. The Connect capsule can take the vulnerable write path on a queue that does not yet have a controller, so a remote RDMA peer can reach it before command execution.

3

What is the expected security impact?

A crafted SGL offset can cause an out-of-bounds write to the fixed-size inline scatterlist array. The described expected impact is a fault of the target, resulting in remote denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203