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

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

CVE-2026-98071 is a race condition flaw in the Linux kernel RDS networking module that occurs during connection path reset operations. This article covers the technical details, affected systems, 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-98071 Overview

CVE-2026-98071 is a data race vulnerability in the Linux kernel's Reliable Datagram Sockets (RDS) networking subsystem. The flaw resides in rds_conn_path_reset(), which clears the entire cp_flags word using a plain non-atomic store. Other accessors of the same word, including rds_send_xmit() and transport completion paths, use atomic bitops and can run concurrently with the reset. The resulting race causes concurrent atomic updates to be silently discarded.

The patch replaces the blanket store with individual atomic clears of the two bits the reset actually owns, giving every flag bit a single well-defined writer discipline.

Critical Impact

Concurrent updates to RDS connection path flags can be lost, corrupting connection state and breaking the writer discipline required by follow-on bit-lock patches.

Affected Products

  • Linux kernel (net/rds subsystem)
  • Distributions shipping affected upstream kernels
  • Oracle UEK carried a related variant ("net/rds: Preserve essential connection state flags")

Discovery Timeline

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

Technical Details for CVE-2026-98071

Vulnerability Analysis

The Reliable Datagram Sockets (RDS) subsystem tracks per-connection-path state in a cp_flags word. Bits such as RDS_LL_SEND_FULL, RDS_IN_XMIT, and RDS_RECV_REFILL are manipulated with atomic bit operations from the send and receive paths. The rds_conn_path_reset() function, invoked from the shutdown worker, previously wrote cp->cp_flags = 0 as a single non-atomic store.

Because RDS_LL_SEND_FULL is set by rds_send_xmit() and cleared by transport completion paths that do not synchronize with the shutdown worker, the plain store races against atomic read-modify-write updates on the same word. Whichever side loses the race has its update silently dropped, leaving the flag word in an inconsistent state.

The fix clears only the specific bits the reset is responsible for using atomic bit operations. RDS_IN_XMIT and RDS_RECV_REFILL are no longer touched by the reset because rds_conn_shutdown() already waits for both to be clear before invoking teardown. This preserves single-writer discipline for every bit in cp_flags.

Root Cause

The root cause is a mismatch between accessor disciplines on a shared flag word: a non-atomic blanket store in the reset path versus atomic bitops in concurrent send and completion paths. This is a classic data race that violates the memory model guarantees required to safely share the word.

Attack Vector

This is a kernel concurrency defect rather than a directly reachable remote exploit. Triggering the race requires a workload that exercises RDS connection shutdown while send or completion paths run concurrently. The practical impact is lost flag updates, inconsistent connection state, and broken ownership semantics for subsequent patches that convert the two bits into locks held across teardown.

No verified exploitation code is available. See the upstream commits for technical details: Linux Kernel Commit 103c4b1, Linux Kernel Commit 6b8d756, Linux Kernel Commit cb62aa8, and Linux Kernel Commit ed3ee0a.

Detection Methods for CVE-2026-98071

Indicators of Compromise

  • Unexpected RDS connection state transitions or stuck connections observed in kernel logs.
  • KCSAN or similar data-race detector warnings implicating rds_conn_path_reset() and cp_flags.
  • Workloads using RDS over Infiniband or TCP that experience intermittent transmit stalls after shutdown or reconnection events.

Detection Strategies

  • Audit running kernel versions against the fixed commits in net/rds/connection.c.
  • Enable KCSAN in test or canary environments to surface data races on cp_flags during RDS reconnect cycles.
  • Monitor for RDS module load on hosts that do not require it, as the subsystem is often unused and can be disabled outright.

Monitoring Recommendations

  • Track kernel package versions and compare against distribution advisories referencing CVE-2026-98071.
  • Log RDS socket activity on hosts using the subsystem for HPC or Oracle database workloads.
  • Alert on repeated RDS connection shutdown events, which indicate the race window is being exercised.

How to Mitigate CVE-2026-98071

Immediate Actions Required

  • Identify hosts loading the rds kernel module and prioritize them for patching.
  • Apply distribution kernel updates that incorporate the upstream fix once available.
  • On systems that do not require RDS, blacklist the rds module to eliminate exposure.

Patch Information

The upstream fix replaces the non-atomic clear in rds_conn_path_reset() with individual atomic bit clears for the bits the reset owns. Fixed commits are available at Linux Kernel Commit 103c4b1, Linux Kernel Commit 6b8d756, Linux Kernel Commit cb62aa8, and Linux Kernel Commit ed3ee0a. Consult your distribution's security tracker for backported package versions.

Workarounds

  • Blacklist the rds module on hosts that do not require Reliable Datagram Sockets.
  • Restrict AF_RDS socket creation to trusted users where the module must remain loaded.
  • Avoid rapid connection reset cycles on RDS workloads until patched kernels are deployed.
bash
# Prevent the vulnerable RDS module from loading
echo 'install rds /bin/true' | sudo tee /etc/modprobe.d/blacklist-rds.conf
sudo rmmod rds_rdma rds_tcp rds 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.