CVE-2026-98072
- CVE-2026-98072
Description
Show the whole descriptionHide the whole description
In the Linux kernel, the following vulnerability has been resolved: net/rds: use wq_has_sleeper() in release_in_xmit() release_in_xmit() clears RDS_IN_XMIT with clear_bit_unlock() and then checks waitqueue_active() to decide whether anyone needs waking. clear_bit_unlock() 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 rds_conn_shutdown() and rds_tcp_reset_callbacks(), both in uninterruptible wait_event() 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: release_in_xmit() did clear_bit() followed by smp_mb__after_atomic() until commit 1422f28826d2 ("rds: introduce acquire/release ordering in acquire/release_in_xmit()") folded both into clear_bit_unlock(), which strengthened the lock hand-off but silently dropped the full barrier the wake-up check depends on. The refill counterpart, release_refill() in net/rds/ib_recv.c, still carries its smp_mb__after_atomic() for exactly this reason. Use wq_has_sleeper(), which is waitqueue_active() preceded by the required full barrier.
Text from the NVD record.
Recommendation
linux linux kernel
- If you run a version from 6.19 to before 7.2.7update to 7.2.7 or laterMajor version change: expect breaking changes
- If you run a version from 6.13 to before 6.18.53update to 6.18.53 or laterMinor version change: check the release notes
- If you run a version from 6.8.2 to before 6.12.111update to 6.12.111 or laterMinor version change: check the release notes
- If you run a version from 6.7.11 to before 6.8update to 6.8 or laterMinor version change: check the release notes
- If you run 6.6.xupdate to 6.6.158 or laterPatch update: breaking changes are unlikely
- If you run 6.1.xupdate to 6.1.189 or laterPatch update: breaking changes are unlikely
- If you run 5.15.xupdate to 5.15.222 or laterPatch update: breaking changes are unlikely
- If you run 5.10.xupdate to 5.10.271 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
linux linux kernel
Affected versions Fixed in from 6.19 to before 7.2.7 7.2.7 from 6.13 to before 6.18.53 6.18.53 from 6.8.2 to before 6.12.111 6.12.111 from 6.7.11 to before 6.8 6.8 from 6.6.23 to before 6.6.158 6.6.158 from 6.1.83 to before 6.1.189 6.1.189 from 5.15.153 to before 5.15.222 5.15.222 from 5.10.214 to before 5.10.271 5.10.271 and 3 more
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.