Skip to main content
Vulnerability Database/CVE-2026-100075

CVE-2026-100075: Linux Kernel RDMA/srpt Privilege Escalation

CVE-2026-100075 is a privilege escalation vulnerability in the Linux kernel RDMA/srpt component affecting memory context management. This article covers the technical details, affected versions, and mitigation strategies.

Published:

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-100075 Overview

CVE-2026-100075 is a vulnerability in the Linux kernel's RDMA SCSI RDMA Protocol target driver (drivers/infiniband/ulp/srpt). The flaw resides in srpt_alloc_rw_ctxs(), which handles allocation of RDMA read/write contexts for multi-buffer indirect descriptors. When allocation fails partway through, the unwind path destroys RDMA contexts but leaves stale n_rw_ctx and n_rdma counters along with a dangling rw_ctxs pointer. Subsequent send queue credit accounting in srpt_queue_response() or srpt_write_pending() then subtracts incorrect values, corrupting SRP target state over Remote Direct Memory Access (RDMA) fabrics.

Critical Impact

Remote, unauthenticated attackers reachable over an RDMA fabric may trigger memory corruption and send-queue credit miscalculation in the kernel SRP target, potentially leading to kernel instability or code execution.

Affected Products

  • Linux kernel builds that include the ib_srpt RDMA SCSI target module
  • Storage targets exposing SRP over InfiniBand or RoCE fabrics
  • Distribution kernels prior to the stable branch backports referenced in the kernel.org commits

Discovery Timeline

  • 2026-09-25 - CVE-2026-100075 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-100075

Vulnerability Analysis

The srpt_alloc_rw_ctxs() function allocates read/write contexts for each buffer in a multi-buffer indirect SRP descriptor. When allocation fails after some contexts have already been created, the function enters an error unwind path. That path tears down the RDMA contexts allocated so far but does not reset the n_rw_ctx and n_rdma request counters, and it frees the rw_ctxs heap buffer without clearing the pointer.

The stale counters feed into send queue work request (sq_wr_avail) accounting. In srpt_queue_response() and srpt_write_pending(), the driver subtracts credits based on these fields. Because the values no longer reflect real outstanding work requests, the credit arithmetic underflows or over-commits the send queue, destabilizing the target.

Root Cause

The root cause is incomplete cleanup in an error path, a form of improper state management after partial resource allocation. The function must reset n_rw_ctx, n_rdma, and rw_ctxs to a consistent zero/NULL state before returning the error, which the patch introduces.

Attack Vector

Exploitation requires sending an SRP command containing a multi-buffer indirect data descriptor that forces srpt_alloc_rw_ctxs() to fail partway through context allocation. An attacker able to reach the SRP target over InfiniBand or RoCE can submit crafted I/O that drives the kernel into the inconsistent credit state and then issue follow-up operations to trigger the faulty accounting.

No verified proof-of-concept code is published. See the stable kernel commits for the authoritative fix:

Detection Methods for CVE-2026-100075

Indicators of Compromise

  • Unexpected ib_srpt kernel warnings or BUG traces referencing srpt_queue_response or srpt_write_pending
  • SRP target disconnects, aborted I/O, or storage path flaps on InfiniBand/RoCE fabrics
  • Kernel log entries indicating send queue credit exhaustion on SRP target ports

Detection Strategies

  • Inventory Linux storage hosts loading the ib_srpt module and compare kernel build hashes against the fixed stable commits
  • Monitor dmesg and /var/log/kern.log for RDMA context allocation failures from srpt_alloc_rw_ctxs()
  • Correlate SRP initiator-side I/O errors with target-side kernel warnings to identify triggered conditions

Monitoring Recommendations

  • Forward kernel audit and syslog telemetry from RDMA storage targets to a centralized analytics platform
  • Alert on repeated SRP session resets or send queue underflow signatures
  • Track module load events for ib_srpt on hosts where it is not expected

How to Mitigate CVE-2026-100075

Immediate Actions Required

  • Apply the stable kernel update that includes the srpt_alloc_rw_ctxs() counter reset fix from your distribution
  • Restrict RDMA fabric access to trusted initiators using subnet manager partitioning and RoCE VLAN isolation
  • Unload the ib_srpt module on systems that do not require SRP target functionality

Patch Information

The fix resets n_rw_ctx and n_rdma and clears rw_ctxs after freeing the heap allocation in the error path, before returning an error. Backports are available in the stable commits 717ab4d, af00051d, af073bd2, b38f98e1, bd02d644, be147884, f1f2252d, and f65f45df.

Workarounds

  • Disable SRP target exports where storage can be served via alternative protocols such as iSER or NVMe-oF
  • Blacklist the ib_srpt module on affected hosts until a patched kernel is deployed
  • Enforce fabric-level ACLs limiting which initiator GUIDs may open SRP sessions to the target

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.