Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98154 Overview
CVE-2026-98154 is a Linux kernel vulnerability in the NVMe over RDMA (nvme-rdma) driver. The flaw resides in the queue_rq error handling path when an -EIO condition occurs. The driver reports a host path error through a helper that completes the request, then continues to clean up the command and unmap the Submission Queue Entry (SQE) Direct Memory Access (DMA) mapping. This produces a double cleanup and a DMA unmap performed after the request has already been completed, leading to memory corruption or kernel instability.
The upstream fix reorders the cleanup so the SQE is unmapped first, then the host path error is reported, with the outer command cleanup skipped on that path.
Critical Impact
Local, low-privileged attackers or faulty NVMe-oF targets triggering -EIO in the RDMA queue path can cause double DMA unmap and use-after-complete conditions, risking kernel memory corruption, data integrity loss, or denial of service.
Affected Products
- Linux kernel versions containing the nvme-rdma driver prior to the fix commits
- Systems using NVMe over Fabrics (NVMe-oF) with RDMA transport (RoCE, iWARP, InfiniBand)
- Distributions shipping stable kernels before backport of commits a41e7fc8d244, cf3e706963ff, d61828199c6c, and 171b993a4aed
Discovery Timeline
- 2026-09-25 - CVE-2026-98154 published to the National Vulnerability Database (NVD)
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-98154
Vulnerability Analysis
The nvme-rdma driver implements the block layer queue_rq callback to submit NVMe commands over RDMA transports. When the submission path encounters an -EIO return, the driver invokes a helper that reports a host path error. That helper internally completes the request through the block multi-queue (blk-mq) completion path.
After the helper returns, the original queue_rq code continues as if the request were still owned by the driver. It performs command cleanup and calls the SQE DMA unmap routine on a request that blk-mq has already completed and potentially reissued or freed. The result is a double cleanup, including a second DMA unmap, against a stale request descriptor.
This is a kernel-space resource mismanagement defect in a storage transport driver. Impact depends on timing and allocator state, but includes kernel memory corruption, DMA inconsistency on in-flight I/O, and host crashes affecting data integrity and availability.
Root Cause
The root cause is incorrect ordering between request completion and resource cleanup in the -EIO branch of nvme_rdma_queue_rq. The host path error helper acts as a terminal completion. The surrounding function was not updated to treat it as terminal, so it falls through into generic command cleanup and SQE DMA unmap logic that must only run when the driver still owns the request. This is a classic use-after-complete pattern adjacent to double-free semantics on DMA mappings.
Attack Vector
Exploitation requires local access with low privileges on a host using NVMe-oF with RDMA, or control over an NVMe-oF target that can induce -EIO conditions on the initiator. Attack complexity is high because an attacker must reliably drive the submission path into the -EIO branch and win the race between the double cleanup and allocator reuse. Successful triggering yields high-impact consequences across confidentiality, integrity, and availability due to kernel memory corruption.
No public proof-of-concept exploit is available, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.
See the upstream fix in the Kernel Git Commit Fix for the exact code change.
Detection Methods for CVE-2026-98154
Indicators of Compromise
- Kernel log entries referencing nvme_rdma, nvme_rdma_queue_rq, host path errors, or DMA unmap warnings on NVMe-oF initiator hosts
- WARN_ON or BUG splats from the DMA mapping subsystem (dma-mapping, iommu) correlated with NVMe-RDMA I/O errors
- Unexpected initiator panics or soft lockups coinciding with target-side link flaps or I/O timeouts
Detection Strategies
- Inventory running kernel versions and compare against the fixed commits listed by the upstream stable tree
- Monitor dmesg and journald for repeated nvme nvmeX: ... -EIO events followed by DMA warnings
- Correlate RDMA transport error counters (ibv_devinfo, rdma tooling) with NVMe-oF controller resets
Monitoring Recommendations
- Forward kernel ring buffer and /var/log/messages to a centralized logging platform and alert on nvme_rdma error signatures
- Track controller reconnect counts exposed under /sys/class/nvme-fabrics and /sys/class/nvme/nvmeX/
- Baseline NVMe-oF initiator stability and alert on new kernel oops, panic, or taint events on affected hosts
How to Mitigate CVE-2026-98154
Immediate Actions Required
- Identify all hosts running NVMe-oF over RDMA and schedule kernel updates to a version containing the fix
- Apply vendor-provided kernel updates from your Linux distribution as soon as they are released
- Restrict access to NVMe-oF target endpoints to trusted initiators to reduce exposure to attacker-controlled -EIO conditions
Patch Information
The fix reorders cleanup so the SQE DMA is unmapped first, then the host path error is reported, and the outer command cleanup is skipped on that path. Patches are available in the following upstream commits: Kernel Git Commit Fix, Kernel Git Commit Update, Kernel Git Commit Improvement, and Kernel Git Commit Change. Rebuild and reboot into the patched kernel to activate the fix.
Workarounds
- Where feasible, migrate NVMe-oF connections from RDMA to TCP transport (nvme connect -t tcp) until kernel patches are deployed
- Unload the nvme_rdma module on hosts that do not require RDMA transport: modprobe -r nvme_rdma
- Harden the storage network path to minimize transport errors that trigger the -EIO branch, including stable fabric configuration and up-to-date RDMA NIC firmware
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

