{"id":"CVE-2026-139684","aliases":["CVE-2026-139684"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid10: fix missing wakeup in wait_barrier_nolock","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2026-11-30T13:37:01.455Z","modified":"2026-11-30T14:19:56.590Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b9b083f9044abf89f3391fbc196ddece68ac9dba","fixed":"27aaca576330fe684c68138573f90a833c9cc330","status":"affected"},{"type":"git","introduced":"b9b083f9044abf89f3391fbc196ddece68ac9dba","fixed":"5c38283db79243df70afbc3ed553f4802616db14","status":"affected"},{"type":"git","introduced":"b9b083f9044abf89f3391fbc196ddece68ac9dba","fixed":"e762d39c0e7752b3c22169f9207f165c2ced26d1","status":"affected"},{"type":"git","introduced":"b9b083f9044abf89f3391fbc196ddece68ac9dba","fixed":"65b2f76974c766e47d21efa0581c2f05cbe486c7","status":"affected"},{"type":"git","introduced":"b9b083f9044abf89f3391fbc196ddece68ac9dba","fixed":"83d0ea5c10242f34a238ee1858161a2634541ce1","status":"affected"},{"type":"git","introduced":"b9b083f9044abf89f3391fbc196ddece68ac9dba","fixed":"f00eb0ff45793383d5a62db2d2aea63ada0ccdbd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/27aaca576330fe684c68138573f90a833c9cc330","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c38283db79243df70afbc3ed553f4802616db14","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e762d39c0e7752b3c22169f9207f165c2ced26d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65b2f76974c766e47d21efa0581c2f05cbe486c7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83d0ea5c10242f34a238ee1858161a2634541ce1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f00eb0ff45793383d5a62db2d2aea63ada0ccdbd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139684","url":"https://www.cve.org/CVERecord?id=CVE-2026-139684","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:01.455Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139684","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139684","licence":"Public domain","modified":"2026-11-30T14:19:56.590Z"}],"updatedAt":"2026-11-30T14:33:13.690Z","epss":{"score":0.00172,"percentile":0.06951,"date":"2026-12-01T12:00:22.000Z"}}