{"id":"CVE-2026-98072","state":"PUBLISHED","title":"net/rds: use wq_has_sleeper() in release_in_xmit()","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.","publishedAt":"2026-09-25T10:24:12.675Z","updatedAt":"2026-10-19T09:13:21.939Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1e1e4316fcaeb9cd6bc56c91127e88625237dd44","status":"affected","lessThan":"6f552364d97cf4005c7a58f11c9f79e14e269865","versionType":"git"},{"version":"8c378cc522aedd5fa5aa53486b43a4d552fbbd5c","status":"affected","lessThan":"a94b1dfc82454c5bc068e71c25393af674daf63b","versionType":"git"},{"version":"52287ed416a10bc3d3e204a3186d9509ab3ee634","status":"affected","lessThan":"5a806ed1eb46850ca4159a18b2a8c4b70f0c1341","versionType":"git"},{"version":"4a4dffdff9ea6201665f5d0a5042011d09bd527f","status":"affected","lessThan":"3d401934b7edb3ccb07d982dabadd04c45ee307c","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"ed7ee0cd0e136d02f87f13181b1a89880463c7e9","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"a269795107f45adc95975a83324f8fef40bec4ce","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"3764627b30a283e611e652c4a2bb8cdc74a75a99","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"6d0c8b7073913011459cf968cbbadd341e166bc3","versionType":"git"},{"version":"bec6c4ce1169a565c58c347d5d0ac22e46d507d6","status":"affected","versionType":"git"},{"version":"f781fb5177cdfd9a6c98cd94e30275457c6461ac","status":"affected","versionType":"git"},{"version":"917135195200e20e5244b9c3f2bb40f3d5e02510","status":"affected","versionType":"git"},{"version":"d792459a6e2ae21c7f5107babd63e52e4c5ab93a","status":"affected","versionType":"git"},{"version":"5.10.214","status":"affected","lessThan":"5.10.271","versionType":"semver"},{"version":"5.15.153","status":"affected","lessThan":"5.15.222","versionType":"semver"},{"version":"6.1.83","status":"affected","lessThan":"6.1.189","versionType":"semver"},{"version":"6.6.23","status":"affected","lessThan":"6.6.158","versionType":"semver"},{"version":"4.19.311","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.273","status":"affected","lessThan":"5.5","versionType":"semver"},{"version":"6.7.11","status":"affected","lessThan":"6.8","versionType":"semver"},{"version":"6.8.2","status":"affected","lessThan":"6.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/send.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/send.c"]}],"references":["https://git.kernel.org/stable/c/6f552364d97cf4005c7a58f11c9f79e14e269865","https://git.kernel.org/stable/c/a94b1dfc82454c5bc068e71c25393af674daf63b","https://git.kernel.org/stable/c/5a806ed1eb46850ca4159a18b2a8c4b70f0c1341","https://git.kernel.org/stable/c/3d401934b7edb3ccb07d982dabadd04c45ee307c","https://git.kernel.org/stable/c/ed7ee0cd0e136d02f87f13181b1a89880463c7e9","https://git.kernel.org/stable/c/a269795107f45adc95975a83324f8fef40bec4ce","https://git.kernel.org/stable/c/3764627b30a283e611e652c4a2bb8cdc74a75a99","https://git.kernel.org/stable/c/6d0c8b7073913011459cf968cbbadd341e166bc3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98072.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98072","state":"PUBLISHED","datePublished":"2026-09-25T10:24:12.675Z","dateUpdated":"2026-10-19T09:13:21.939Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:19:56.074Z"},"containers":{"cna":{"title":"net/rds: use wq_has_sleeper() in release_in_xmit()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1e1e4316fcaeb9cd6bc56c91127e88625237dd44","status":"affected","lessThan":"6f552364d97cf4005c7a58f11c9f79e14e269865","versionType":"git"},{"version":"8c378cc522aedd5fa5aa53486b43a4d552fbbd5c","status":"affected","lessThan":"a94b1dfc82454c5bc068e71c25393af674daf63b","versionType":"git"},{"version":"52287ed416a10bc3d3e204a3186d9509ab3ee634","status":"affected","lessThan":"5a806ed1eb46850ca4159a18b2a8c4b70f0c1341","versionType":"git"},{"version":"4a4dffdff9ea6201665f5d0a5042011d09bd527f","status":"affected","lessThan":"3d401934b7edb3ccb07d982dabadd04c45ee307c","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"ed7ee0cd0e136d02f87f13181b1a89880463c7e9","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"a269795107f45adc95975a83324f8fef40bec4ce","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"3764627b30a283e611e652c4a2bb8cdc74a75a99","versionType":"git"},{"version":"1422f28826d2a0c11e5240b3e951c9e214d8656e","status":"affected","lessThan":"6d0c8b7073913011459cf968cbbadd341e166bc3","versionType":"git"},{"version":"bec6c4ce1169a565c58c347d5d0ac22e46d507d6","status":"affected","versionType":"git"},{"version":"f781fb5177cdfd9a6c98cd94e30275457c6461ac","status":"affected","versionType":"git"},{"version":"917135195200e20e5244b9c3f2bb40f3d5e02510","status":"affected","versionType":"git"},{"version":"d792459a6e2ae21c7f5107babd63e52e4c5ab93a","status":"affected","versionType":"git"},{"version":"5.10.214","status":"affected","lessThan":"5.10.271","versionType":"semver"},{"version":"5.15.153","status":"affected","lessThan":"5.15.222","versionType":"semver"},{"version":"6.1.83","status":"affected","lessThan":"6.1.189","versionType":"semver"},{"version":"6.6.23","status":"affected","lessThan":"6.6.158","versionType":"semver"},{"version":"4.19.311","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.273","status":"affected","lessThan":"5.5","versionType":"semver"},{"version":"6.7.11","status":"affected","lessThan":"6.8","versionType":"semver"},{"version":"6.8.2","status":"affected","lessThan":"6.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/send.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"5.10.271","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.222","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rds/send.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6f552364d97cf4005c7a58f11c9f79e14e269865"},{"url":"https://git.kernel.org/stable/c/a94b1dfc82454c5bc068e71c25393af674daf63b"},{"url":"https://git.kernel.org/stable/c/5a806ed1eb46850ca4159a18b2a8c4b70f0c1341"},{"url":"https://git.kernel.org/stable/c/3d401934b7edb3ccb07d982dabadd04c45ee307c"},{"url":"https://git.kernel.org/stable/c/ed7ee0cd0e136d02f87f13181b1a89880463c7e9"},{"url":"https://git.kernel.org/stable/c/a269795107f45adc95975a83324f8fef40bec4ce"},{"url":"https://git.kernel.org/stable/c/3764627b30a283e611e652c4a2bb8cdc74a75a99"},{"url":"https://git.kernel.org/stable/c/6d0c8b7073913011459cf968cbbadd341e166bc3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:13:21.939Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.214","versionEndExcluding":"5.10.271"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.153","versionEndExcluding":"5.15.222"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.83","versionEndExcluding":"6.1.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.23","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.311"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}