# CVE-2026-139684: md/raid10: fix missing wakeup in wait_barrier_nolock

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:01.455Z
- Modified: 2026-11-30T14:19:56.590Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

md/raid10: fix missing wakeup in wait_barrier_nolock

Fuzz testing triggered a hung raid10d thread:

INFO: task md0_raid10 blocked for more than 120 seconds.
Call Trace:
 raid10d
 md_thread
 kthread

wait_barrier_nolock() speculatively increments nr_pending. If a
concurrent writer changes resync_lock's sequence, it rolls the count back
with atomic_dec_and_test(). The rollback currently wakes wait_barrier only
when nr_pending reaches zero.

freeze_array() can be waiting for nr_pending == nr_queued + extra while
array_freeze_pending is set. If the rollback changes nr_pending from 2 to
1, the condition becomes true but no wakeup is sent, leaving raid10d
blocked indefinitely.

Also wake wait_barrier when array_freeze_pending is set, matching
allow_barrier().

(As written by CVE List.)

## Affected

- Linux Linux: from b9b083f9044abf89f3391fbc196ddece68ac9dba before 27aaca576330fe684c68138573f90a833c9cc330; from b9b083f9044abf89f3391fbc196ddece68ac9dba before 5c38283db79243df70afbc3ed553f4802616db14; from b9b083f9044abf89f3391fbc196ddece68ac9dba before e762d39c0e7752b3c22169f9207f165c2ced26d1; from b9b083f9044abf89f3391fbc196ddece68ac9dba before 65b2f76974c766e47d21efa0581c2f05cbe486c7; from b9b083f9044abf89f3391fbc196ddece68ac9dba before 83d0ea5c10242f34a238ee1858161a2634541ce1; from b9b083f9044abf89f3391fbc196ddece68ac9dba before f00eb0ff45793383d5a62db2d2aea63ada0ccdbd; 6.1 (not affected: before 6.1; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/27aaca576330fe684c68138573f90a833c9cc330>
- <https://git.kernel.org/stable/c/5c38283db79243df70afbc3ed553f4802616db14>
- <https://git.kernel.org/stable/c/e762d39c0e7752b3c22169f9207f165c2ced26d1>
- <https://git.kernel.org/stable/c/65b2f76974c766e47d21efa0581c2f05cbe486c7>
- <https://git.kernel.org/stable/c/83d0ea5c10242f34a238ee1858161a2634541ce1>
- <https://git.kernel.org/stable/c/f00eb0ff45793383d5a62db2d2aea63ada0ccdbd>

## Sources

- CVE List: [CVE-2026-139684](https://www.cve.org/CVERecord?id=CVE-2026-139684), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139684](https://nvd.nist.gov/vuln/detail/CVE-2026-139684), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139684 · Whole record: https://cve.day/CVE-2026-139684.json · Rebuilt by cve.day 2026-11-30T14:33:13.690Z
