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

CVE-2026-97491: Linux Kernel RDS Race Condition Vulnerability

CVE-2026-97491 is a race condition flaw in the Linux kernel RDS module that causes system hangs during network teardown. This post explains its technical details, affected versions, impact, and mitigation steps.

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

CVE-2026-97491 is a Linux kernel vulnerability in the Reliable Datagram Sockets (RDS) over InfiniBand (IB) subsystem. The flaw resides in the rds_ib_conn_path_shutdown function within net/rds. The shutdown worker thread sleeps on a wait_event call during InfiniBand connection teardown. This sleep blocks other work items in the shared workqueue, producing a hang.

The condition was surfaced by new RDS RDMA self-tests when tearing down IB network configurations. The upstream fix replaces the blocking wait_event with wait_event_timeout and loops until the wait condition succeeds, keeping the workqueue responsive.

Critical Impact

Kernel workqueue stalls on systems using RDS over InfiniBand can lead to denial of service during network teardown operations.

Affected Products

  • Linux kernel versions containing the RDS/IB rds_ib_conn_path_shutdown implementation prior to the fix
  • Systems running RDS over InfiniBand (RDMA) workloads
  • Stable kernel branches referenced by commits 16f48efa, caa51e6d, and db22e77d

Discovery Timeline

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

Technical Details for CVE-2026-97491

Vulnerability Analysis

The Linux kernel RDS subsystem provides a reliable datagram transport over InfiniBand using RDMA. During connection teardown, the kernel dispatches a shutdown worker via a kernel workqueue to clean up IB resources associated with the connection path.

Inside rds_ib_conn_path_shutdown, the worker invokes wait_event to block until the connection reaches a quiesced state. Because wait_event sleeps indefinitely, the worker holds its workqueue slot while waiting. If the condition is dependent on another work item scheduled on the same queue, forward progress stops and the system hangs.

RDS RDMA self-tests exposed this behavior while repeatedly tearing down IB network configurations. The result is a kernel-level denial of service that affects RDS/IB consumers and any workloads sharing the affected workqueue.

Root Cause

The root cause is a workqueue deadlock pattern caused by an unbounded blocking wait inside a work item. The wait_event call in rds_ib_conn_path_shutdown sleeps on a condition that cannot be satisfied while the worker continues to occupy the queue, violating workqueue forward-progress assumptions.

Attack Vector

Triggering the condition requires exercising RDS over InfiniBand connection teardown paths, as demonstrated by the kernel's RDS RDMA self-tests. The flaw is a local reliability and availability issue rather than a remote code execution primitive. No public exploit is available, and the vulnerability is not listed in CISA KEV.

Technical details are documented in the upstream fix commits. See the Kernel Git Commit 16f48efa, Kernel Git Commit caa51e6d, and Kernel Git Commit db22e77d for the fix implementation.

Detection Methods for CVE-2026-97491

Indicators of Compromise

  • Kernel soft lockup or hung task warnings referencing rds_ib_conn_path_shutdown in dmesg output.
  • Stuck kernel worker threads whose stacks show wait_event inside the RDS IB shutdown path.
  • Stalled teardown of RDS over InfiniBand network configurations during host maintenance or reboot.

Detection Strategies

  • Monitor /var/log/messages and journalctl -k for hung_task and INFO: task ... blocked for more than warnings tied to RDS worker threads.
  • Inspect /proc/<pid>/stack for kernel workers to confirm they are blocked inside rds_ib_conn_path_shutdown.
  • Compare running kernel versions against the fixed commits across your Linux fleet to identify unpatched hosts.

Monitoring Recommendations

  • Enable kernel.hung_task_timeout_secs alerting and forward kernel logs to a central collector.
  • Track InfiniBand interface state changes and RDS connection teardown events on hosts running RDMA workloads.
  • Alert on repeated workqueue stalls originating from the rds_wq or related IB workqueues.

How to Mitigate CVE-2026-97491

Immediate Actions Required

  • Identify hosts running RDS over InfiniBand and prioritize them for kernel updates.
  • Apply the stable kernel updates containing commits 16f48efa, caa51e6d, and db22e77d.
  • Schedule maintenance windows to reboot into patched kernels, since the fix is in-kernel code.

Patch Information

The fix changes the blocking wait_event call in rds_ib_conn_path_shutdown to wait_event_timeout within a loop that re-checks the wait condition. This allows the worker to yield periodically and prevents the workqueue from stalling. The patch is available in the stable kernel tree via the referenced commits.

Workarounds

  • If patching is not immediately possible, avoid repeated teardown of RDS over InfiniBand configurations on affected kernels.
  • Unload the rds_rdma module when RDS over IB is not required: modprobe -r rds_rdma.
  • Blacklist the rds and rds_rdma modules on hosts that do not use RDS, using a modprobe configuration file in /etc/modprobe.d/.
bash
# Configuration example: disable RDS modules on hosts that do not require them
echo "blacklist rds"      | sudo tee /etc/modprobe.d/disable-rds.conf
echo "blacklist rds_rdma" | sudo tee -a /etc/modprobe.d/disable-rds.conf
sudo depmod -a
sudo update-initramfs -u    # Debian/Ubuntu; use dracut on RHEL-family systems

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.