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-98152 Overview
CVE-2026-98152 is a resource leak vulnerability in the Linux kernel's NVMe over RDMA target driver (nvmet-rdma). When pending disconnecting queues exceed the configured backlog limit, the connect path drops the device reference but fails to release the newly allocated queue and its associated InfiniBand (IB) resources. Repeated triggering of this condition leads to progressive memory and resource exhaustion on NVMe-oF target systems.
Critical Impact
Attackers or misbehaving initiators that repeatedly trigger connect-then-disconnect sequences against an NVMe-oF RDMA target can exhaust kernel memory and IB resources, degrading storage availability.
Affected Products
- Linux kernel versions containing the nvmet-rdma target driver prior to the referenced stable patches
- NVMe-oF target servers exposing storage over RDMA (RoCE, iWARP, InfiniBand)
- Distributions shipping affected kernels until stable backports are applied
Discovery Timeline
- 2026-09-25 - CVE-2026-98152 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-98152
Vulnerability Analysis
The flaw resides in the connection establishment path of nvmet-rdma, the kernel module that implements the NVMe over Fabrics target for RDMA transports. During connect handling the driver allocates a queue object and registers IB resources before enforcing the backlog check that limits how many disconnecting queues may remain pending.
When the backlog limit is exceeded, the error path only releases the device reference. The newly allocated queue structure and the IB queue pair, completion queue, and memory region resources associated with it remain allocated with no remaining reference to free them. This leaves them stranded in kernel memory [CWE-401].
Each failed connection attempt under backlog pressure adds to the leak. Over time this consumes non-swappable kernel memory, pins IB hardware resources, and can trigger allocation failures elsewhere in the kernel, resulting in denial of service against the storage target.
Root Cause
The connect path performs resource allocation before verifying backlog capacity, and the backlog-exceeded error branch is incomplete. It calls the device dereference routine but omits the queue teardown and IB resource release calls required to balance the preceding allocations.
Attack Vector
Exploitation requires network reachability to the NVMe-oF RDMA listener and the ability to initiate connections. A remote initiator that repeatedly opens connections while prior queues are still in the disconnecting state can drive the target above the backlog threshold and trigger the leak on each subsequent attempt. No authentication beyond the fabric's configured transport controls is required to reach the vulnerable code path.
No public proof-of-concept code is referenced in the available data. See the upstream fixes referenced below for the exact code paths affected.
Detection Methods for CVE-2026-98152
Indicators of Compromise
- Steady growth in kernel slab allocations attributable to nvmet_rdma_queue or related IB objects without a corresponding rise in active NVMe-oF sessions
- Rising counts of RDMA queue pairs, completion queues, or protection domains held by the nvmet_rdma module as reported by rdma resource show
- NVMe-oF target logs showing repeated connect requests from initiators that never complete handshake
Detection Strategies
- Baseline nvmet_rdma kernel memory usage via /proc/slabinfo and alert on sustained growth not tied to new active controllers
- Monitor dmesg for RDMA connection manager (CM) events, backlog warnings, and allocation failures originating from nvmet-rdma
- Correlate NVMe-oF connect attempts per source with completion rates to flag initiators that generate connection churn
Monitoring Recommendations
- Instrument storage target hosts to export kernel memory and RDMA resource counters to centralized telemetry
- Alert on repeated short-lived connect/disconnect patterns against the NVMe-oF listener
- Track the kernel version deployed on all NVMe-oF target hosts and flag any kernel that predates the stable fix commits
How to Mitigate CVE-2026-98152
Immediate Actions Required
- Inventory all Linux hosts running nvmet-rdma and identify kernel versions in use
- Apply the stable kernel updates containing the upstream fix as soon as vendor builds are available
- Restrict network reachability of NVMe-oF RDMA listeners to trusted initiator subnets
Patch Information
The fix has been merged across multiple stable kernel branches. Review and apply the backports from the upstream commits: Kernel Commit 186414a, Kernel Commit 287420c, Kernel Commit 32e5983, Kernel Commit 4f7cf57, Kernel Commit 60d56bf, Kernel Commit e48f9d1, and Kernel Commit fb1ed67. Distribution vendors should publish backported errata; track those advisories for your supported kernels.
Workarounds
- Where RDMA export is not required, unload the nvmet_rdma module and expose NVMe-oF only over alternative transports until patched
- Place NVMe-oF RDMA targets on isolated storage fabrics with strict initiator allowlists to reduce exposure to connection-churn abuse
- Schedule maintenance restarts of affected target hosts to reclaim leaked kernel resources if patching must be delayed
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

