UBUNTU-CVE-2026-98072: Medium severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: net/rds: use wqhassleeper() in releaseinxmit() releaseinxmit() clears RDSINXMIT with clearbitunlock() and then checks waitqueueactive() to decide whether anyone needs waking. clearbitunlock() is only a release operation: it orders the critical section before the bit clear, but does not order the subsequent plain load of the wait queue head after it. The waiter side does the mirror image - it adds itself to the wait queue and then tests the bit. That is the classic store-buffering pattern: the releasing CPU can read the wait queue as empty while the waiting CPU still reads the bit as set, so the sleeper is never woken. The waiters are rdsconnshutdown() and rdstcpresetcallbacks(), both in uninterruptible waitevent() with no timeout. A lost wake-up strands the shutdown worker on its single-threaded workqueue until some other sender releases the bit again - and on a connection that is being torn down precisely because it failed, there may never be another sender. The barrier used to be there: releaseinxmit() did clearbit() followed by smpmbafteratomic() until commit 1422f28826d2 ("rds: introduce acquire/release ordering in acquire/releaseinxmit()") folded both into clearbitunlock(), which strengthened the lock hand-off but silently dropped the full barrier the wake-up check depends on. The refill counterpart, releaserefill() in net/rds/ibrecv.c, still carries its smpmbafteratomic() for exactly this reason. Use wqhassleeper(), which is waitqueueactive() preceded by the required full barrier.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In release_in_xmit(), replace the waitqueue_active() wake-up check with wq_has_sleeper(), which provides the required full barrier before checking whether a sleeper needs waking.