{"id":"CVE-2026-139684","summary":"md/raid10: fix missing wakeup in wait_barrier_nolock","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: fix missing wakeup in wait_barrier_nolock\n\nFuzz testing triggered a hung raid10d thread:\n\nINFO: task md0_raid10 blocked for more than 120 seconds.\nCall Trace:\n raid10d\n md_thread\n kthread\n\nwait_barrier_nolock() speculatively increments nr_pending. If a\nconcurrent writer changes resync_lock's sequence, it rolls the count back\nwith atomic_dec_and_test(). The rollback currently wakes wait_barrier only\nwhen nr_pending reaches zero.\n\nfreeze_array() can be waiting for nr_pending == nr_queued + extra while\narray_freeze_pending is set. If the rollback changes nr_pending from 2 to\n1, the condition becomes true but no wakeup is sent, leaving raid10d\nblocked indefinitely.\n\nAlso wake wait_barrier when array_freeze_pending is set, matching\nallow_barrier().","modified":"2026-12-01T21:02:39.254767424Z","published":"2026-11-30T13:37:01.455Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139684.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/27aaca576330fe684c68138573f90a833c9cc330"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5c38283db79243df70afbc3ed553f4802616db14"},{"type":"WEB","url":"https://git.kernel.org/stable/c/65b2f76974c766e47d21efa0581c2f05cbe486c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83d0ea5c10242f34a238ee1858161a2634541ce1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e762d39c0e7752b3c22169f9207f165c2ced26d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f00eb0ff45793383d5a62db2d2aea63ada0ccdbd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139684.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139684"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b9b083f9044abf89f3391fbc196ddece68ac9dba"},{"fixed":"27aaca576330fe684c68138573f90a833c9cc330"},{"fixed":"5c38283db79243df70afbc3ed553f4802616db14"},{"fixed":"e762d39c0e7752b3c22169f9207f165c2ced26d1"},{"fixed":"65b2f76974c766e47d21efa0581c2f05cbe486c7"},{"fixed":"83d0ea5c10242f34a238ee1858161a2634541ce1"},{"fixed":"f00eb0ff45793383d5a62db2d2aea63ada0ccdbd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139684.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139684.json"}}],"schema_version":"1.9.2"}