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-98072 Overview
CVE-2026-98072 is a race condition in the Linux kernel's Reliable Datagram Sockets (RDS) networking subsystem. The flaw affects release_in_xmit() in net/rds, which clears the RDS_IN_XMIT bit using clear_bit_unlock() and then checks waitqueue_active() to determine if waiters need to be woken. Because clear_bit_unlock() is only a release operation, it does not order the subsequent load of the wait queue head, producing a classic store-buffering pattern. A releasing CPU can observe the wait queue as empty while a waiting CPU still observes the bit as set, resulting in a lost wake-up.
Critical Impact
Lost wake-ups can strand rds_conn_shutdown() and rds_tcp_reset_callbacks() in uninterruptible wait_event() indefinitely, hanging shutdown workers on a single-threaded workqueue.
Affected Products
- Linux kernel builds containing commit 1422f28826d2 ("rds: introduce acquire/release ordering in acquire/release_in_xmit()")
- Kernel configurations with the RDS protocol (CONFIG_RDS) enabled
- RDS over TCP (CONFIG_RDS_TCP) deployments relying on rds_tcp_reset_callbacks()
Discovery Timeline
- 2026-09-25 - CVE-2026-98072 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-98072
Vulnerability Analysis
The defect is a memory-ordering race between a releaser and a waiter on the RDS_IN_XMIT bit. The releaser in release_in_xmit() performs clear_bit_unlock(RDS_IN_XMIT, ...) and then evaluates waitqueue_active() on the connection's wait queue. The waiter mirrors this pattern by enqueuing itself on the wait queue and then testing the bit under wait_event().
Because clear_bit_unlock() provides only release semantics, the CPU is free to reorder the later plain load of the wait queue head ahead of the bit clear. In the store-buffering interleaving, the releaser reads the wait queue as empty while the waiter still reads the bit as set. Neither side issues a wake-up, and the waiter remains blocked.
Root Cause
Commit 1422f28826d2 folded an earlier clear_bit() plus smp_mb__after_atomic() sequence into clear_bit_unlock(). That change strengthened the lock hand-off but silently dropped the full barrier that the subsequent waitqueue_active() check relied on. The sibling helper release_refill() in net/rds/ib_recv.c still carries its smp_mb__after_atomic() for exactly this reason, which highlights the regression.
Attack Vector
Exploitation is not required for impact. The condition manifests under normal RDS teardown paths when a connection is being shut down because it already failed. The waiters rds_conn_shutdown() and rds_tcp_reset_callbacks() use uninterruptible wait_event() with no timeout. If no further sender arrives to release the bit again, the shutdown worker is stranded on its single-threaded workqueue, blocking subsequent RDS work items. The result is a denial-of-service condition on RDS connection management rather than a memory-safety compromise.
No verified exploit code is available. See the upstream Linux kernel commits referenced below for the authoritative technical description and fix.
Detection Methods for CVE-2026-98072
Indicators of Compromise
- Kernel threads blocked in D state inside rds_conn_shutdown or rds_tcp_reset_callbacks visible in /proc/<pid>/stack.
- Stalled or growing backlog on the RDS single-threaded workqueue after a connection teardown event.
- Hung task warnings from khungtaskd referencing RDS call sites following network errors.
Detection Strategies
- Review dmesg for INFO: task ... blocked for more than N seconds entries that reference RDS functions.
- Collect periodic snapshots of /proc/*/stack on hosts using RDS and alert on sustained uninterruptible waits in RDS shutdown paths.
- Correlate RDS connection failures with subsequent workqueue stalls on the same host to identify lost wake-up patterns.
Monitoring Recommendations
- Enable CONFIG_DETECT_HUNG_TASK and route hung-task warnings to a centralized log pipeline.
- Track kernel version and backport status across the fleet so that unpatched hosts running RDS workloads are flagged for prioritized patching.
- Monitor RDS-related ftrace or perf events on systems where RDS is required for application traffic.
How to Mitigate CVE-2026-98072
Immediate Actions Required
- Apply the upstream fix that replaces waitqueue_active() with wq_has_sleeper() in release_in_xmit(), which includes the required full barrier.
- Reboot into a kernel containing one of the stable backports referenced in the vendor commits.
- On hosts that do not require RDS, disable or blacklist the rds and rds_tcp modules to remove the attack surface.
Patch Information
The fix is published across multiple stable branches. See the upstream commits: Linux Kernel Commit 3764627, Linux Kernel Commit 6d0c8b7, Linux Kernel Commit a269795, and Linux Kernel Commit ed7ee0c. The patch swaps waitqueue_active() for wq_has_sleeper(), restoring the full memory barrier the wake-up check depends on.
Workarounds
- Blacklist the RDS modules on systems that do not need them to prevent the vulnerable code path from being reachable.
- Where RDS is required but patching is delayed, restart stalled RDS workers after a hung-task event to recover service, understanding this does not prevent recurrence.
- Track vendor kernel advisories from your Linux distribution and schedule maintenance windows aligned with the stable backports.
# Prevent the RDS modules from loading on hosts that do not require them
echo "blacklist rds" | sudo tee /etc/modprobe.d/blacklist-rds.conf
echo "blacklist rds_tcp" | sudo tee -a /etc/modprobe.d/blacklist-rds.conf
sudo update-initramfs -u
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

