{"vuln_id":"CVE-2026-98072","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: use wq_has_sleeper() in release_in_xmit()\n\nrelease_in_xmit() clears RDS_IN_XMIT with clear_bit_unlock() and then\nchecks waitqueue_active() to decide whether anyone needs waking.\nclear_bit_unlock() is only a release operation: it orders the\ncritical section before the bit clear, but does not order the\nsubsequent plain load of the wait queue head after it.  The waiter\nside does the mirror image - it adds itself to the wait queue and\nthen tests the bit.  That is the classic store-buffering pattern: the\nreleasing CPU can read the wait queue as empty while the waiting CPU\nstill reads the bit as set, so the sleeper is never woken.\n\nThe waiters are rds_conn_shutdown() and rds_tcp_reset_callbacks(),\nboth in uninterruptible wait_event() with no timeout.  A lost wake-up\nstrands the shutdown worker on its single-threaded workqueue until\nsome other sender releases the bit again - and on a connection that\nis being torn down precisely because it failed, there may never be\nanother sender.\n\nThe barrier used to be there: release_in_xmit() did clear_bit()\nfollowed by smp_mb__after_atomic() until commit 1422f28826d2 (\"rds:\nintroduce acquire/release ordering in acquire/release_in_xmit()\")\nfolded both into clear_bit_unlock(), which strengthened the lock\nhand-off but silently dropped the full barrier the wake-up check\ndepends on.  The refill counterpart, release_refill() in\nnet/rds/ib_recv.c, still carries its smp_mb__after_atomic() for\nexactly this reason.\n\nUse wq_has_sleeper(), which is waitqueue_active() preceded by the\nrequired full barrier.","published_at":"2026-09-25T11:17:36.450000Z","modified_at":"2026-11-18T14:48:06.757000Z","first_seen_at":"2026-11-21T19:15:46.898398Z","severity":"medium","severity_source":"nvd","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00123,"epss_percentile":0.02036,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98072"},"matched_alias":null,"items":[{"id":3623,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-98072: 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 wit…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: use wq_has_sleeper() in release_in_xmit()\n\nrelease_in_xmit() clears RDS_IN_XMIT with clear_bit_unlock() and then\nchecks waitqueue_active() to decide whether anyone needs waking.\nclear_bit_unlock() is only a release operation: it orders the\ncritical section before the bit clear, but does not order the\nsubsequent plain load of the wait queue head after it.  The waiter\nside does the mirror image - it adds itself to the wait queue and\nthen tests the bit.  That is the classic store-buffering pattern: the\nreleasing CPU can read the wait queue as empty while the waiting CPU\nstill reads the bit as set, so the sleeper is never woken.\n\nThe waiters are rds_conn_shutdown() and rds_tcp_reset_callbacks(),\nboth in uninterruptible wait_event() with no timeout.  A lost wake-up\nstrands the shutdown worker on its single-threaded workqueue until\nsome other sender releases the bit again - and on a connection that\nis being torn down precisely because it failed, there may never be\nanother sender.\n\nThe barrier used to be there: release_in_xmit() did clear_bit()\nfollowed by smp_mb__after_atomic() until commit 1422f28826d2 (\"rds:\nintroduce acquire/release ordering in acquire/release_in_xmit()\")\nfolded both into clear_bit_unlock(), which strengthened the lock\nhand-off but silently dropped the full barrier the wake-up check\ndepends on.  The refill counterpart, release_refill() in\nnet/rds/ib_recv.c, still carries its smp_mb__after_atomic() for\nexactly this reason.\n\nUse wq_has_sleeper(), which is waitqueue_active() preceded by the\nrequired full barrier.\n\nReferences:\nhttps://git.kernel.org/stable/c/3764627b30a283e611e652c4a2bb8cdc74a75a99\nhttps://git.kernel.org/stable/c/3d401934b7edb3ccb07d982dabadd04c45ee307c\nhttps://git.kernel.org/stable/c/5a806ed1eb46850ca4159a18b2a8c4b70f0c1341\nhttps://git.kernel.org/stable/c/6d0c8b7073913011459cf968cbbadd341e166bc3\nhttps://git.kernel.org/stable/c/6f552364d97cf4005c7a58f11c9f79e14e269865\nhttps://git.kernel.org/stable/c/a269795107f45adc95975a83324f8fef40bec4ce\nhttps://git.kernel.org/stable/c/a94b1dfc82454c5bc068e71c25393af674daf63b\nhttps://git.kernel.org/stable/c/ed7ee0cd0e136d02f87f13181b1a89880463c7e9","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98072","published_at":"2026-09-25T11:17:36.450000Z","updated_at":"2026-11-18T14:48:06.757000Z","fetched_at":"2026-11-21T19:15:31.479172Z","severity":"medium","cvss_score":5.5,"epss":0.00123,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-98072","vuln_ids":["CVE-2026-98072"],"tags":[],"cluster_id":3922,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3623","html":"https://vulnwatch.ve1ve2.com/item/3623"}}]}