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

CVE-2026-93267: Linux Kernel RDMA Use-After-Free Vulnerability

CVE-2026-93267 is a use-after-free vulnerability in the Linux kernel RDMA core affecting memory management during device memory handle destruction. This article covers technical details, affected systems, and remediation.

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

CVE-2026-93267 is a use-after-free vulnerability in the Linux kernel's Remote Direct Memory Access (RDMA) core subsystem. The flaw resides in the uverbs_free_dmah() function, which handles destruction of DMA handle (dmah) objects. The resource tracker removal call rdma_restrack_del() executes at the end of the destruction routine, after vendor-specific resources have already been released. This ordering creates a window where the dmah remains reachable through the netlink restrack path while its internal state is being torn down. Concurrent callers can obtain a reference to a partially freed object, leading to use-after-free conditions in kernel memory.

Critical Impact

Local attackers with access to RDMA netlink interfaces may trigger memory corruption in kernel space, enabling denial of service or potential privilege escalation.

Affected Products

  • Linux kernel builds with RDMA/core subsystem compiled in
  • Distributions shipping affected stable kernel branches referenced in the upstream fix commits
  • Systems exposing RDMA netlink interfaces to local users

Discovery Timeline

  • 2026-09-24 - CVE CVE-2026-93267 published to NVD
  • 2026-09-24 - Last updated in NVD database

Technical Details for CVE-2026-93267

Vulnerability Analysis

The vulnerability affects the RDMA (Remote Direct Memory Access) core kernel subsystem, specifically how DMA handle objects are reclaimed. When userspace or kernel paths access a dmah via netlink, the only synchronization primitive protecting the lifecycle is rdma_restrack_get(), which increments a reference under the resource tracker. In the vulnerable implementation, uverbs_free_dmah() releases vendor-specific backing resources first and only then calls rdma_restrack_del() to remove the object from restrack. During that interval, another thread can resolve the handle through netlink, obtain a reference, and dereference fields pointing to memory the destroy path has already freed [CWE-416].

The upstream fix inverts this ordering by invoking rdma_restrack_begin_del() at the start of uverbs_free_dmah(). This removes the dmah from restrack before any teardown occurs, guaranteeing no new callers can acquire a reference to an object entering destruction. The patch also restores the intended inverse symmetry between creation and destruction: resources are added to restrack at the end of successful creation and must be removed first during teardown.

Root Cause

The root cause is incorrect ordering of resource lifecycle operations in uverbs_free_dmah(). Removing the object from the resource tracker after releasing its internal resources leaves a race window where lookups can succeed on an object whose backing memory is being freed.

Attack Vector

Exploitation requires local access to RDMA netlink interfaces on a system with the vulnerable kernel. An attacker races destruction of a dmah against a netlink lookup that calls rdma_restrack_get(). Successful exploitation corrupts kernel memory, which can lead to kernel panic, information disclosure, or privilege escalation depending on heap layout. No verified public proof-of-concept is available at the time of publication.

// No verified exploitation code is available. See upstream kernel commits
// for the patched ordering of rdma_restrack_begin_del() in uverbs_free_dmah().

Detection Methods for CVE-2026-93267

Indicators of Compromise

  • Unexpected kernel oops or BUG: KASAN: use-after-free messages referencing uverbs_free_dmah or rdma_restrack_get in dmesg.
  • Kernel panics or soft lockups originating in the ib_uverbs or ib_core modules on hosts running RDMA workloads.
  • Unusual process activity invoking RDMA netlink operations (RDMA_NLDEV_CMD_*) from unprivileged accounts.

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) in test and staging environments to surface use-after-free conditions in the RDMA path.
  • Audit loaded kernel modules (lsmod | grep -E 'ib_|rdma') and compare running kernel versions against the patched commits referenced in the upstream advisory.
  • Correlate crash dumps with stack traces touching uverbs_free_dmah, rdma_restrack_del, or rdma_restrack_begin_del.

Monitoring Recommendations

  • Forward kernel logs and crash telemetry to a centralized log platform and alert on RDMA-related oops signatures.
  • Monitor netlink socket usage by non-root processes on hosts providing RDMA services such as InfiniBand or RoCE.
  • Track kernel version inventory across the fleet to confirm patched builds are deployed everywhere RDMA is enabled.

How to Mitigate CVE-2026-93267

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the stable tree commits 2696626a0be5, 8b22722f45a2, and bfc119a40c04 and reboot into the fixed kernel.
  • On systems that do not require RDMA, unload the ib_uverbs and related RDMA modules or disable them in the kernel configuration.
  • Restrict access to RDMA netlink interfaces so only trusted administrative accounts can issue RDMA_NLDEV commands.

Patch Information

The fix moves rdma_restrack_begin_del() to the beginning of uverbs_free_dmah(), ensuring the dmah is removed from restrack before its internal resources are released. Patched commits are available in the mainline and stable trees: Kernel commit 2696626a0be5, Kernel commit 8b22722f45a2, and Kernel commit bfc119a40c04. Rebuild and deploy distribution kernels that include these commits.

Workarounds

  • Disable RDMA entirely on hosts where it is not required by blacklisting ib_core, ib_uverbs, and vendor-specific HCA drivers.
  • Limit which users and containers can open RDMA character devices under /dev/infiniband/ using filesystem permissions and device cgroups.
  • Use mandatory access control policies (SELinux, AppArmor) to confine processes that interact with RDMA netlink.
bash
# Prevent the RDMA user-verbs module from loading until a patched kernel is deployed
echo 'blacklist ib_uverbs' | sudo tee /etc/modprobe.d/disable-rdma.conf
sudo rmmod ib_uverbs 2>/dev/null || true

# Restrict access to RDMA device nodes
sudo chmod 0600 /dev/infiniband/* 2>/dev/null || true

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.