# CVE-2026-139684: md/raid10: fix missing wakeup in wait\_barrier\_nolock

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:37:01.455Z
- **Modified:** 2026-11-30T14:19:56.590Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can trigger the RAID10 write path can hang the md/raid10 kernel thread indefinitely, due to a missing wakeup in the Linux kernel's wait\_barrier\_nolock.

## Who should check

- Anyone running Linux \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 27aaca576330fe684c68138573f90a833c9cc330; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 5c38283db79243df70afbc3ed553f4802616db14; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< e762d39c0e7752b3c22169f9207f165c2ced26d1; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 65b2f76974c766e47d21efa0581c2f05cbe486c7; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 83d0ea5c10242f34a238ee1858161a2634541ce1; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< f00eb0ff45793383d5a62db2d2aea63ada0ccdbd
- Anyone running Linux 6.1

## 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().

## Affected and fixed versions

- Linux: \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 27aaca576330fe684c68138573f90a833c9cc330; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 5c38283db79243df70afbc3ed553f4802616db14; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< e762d39c0e7752b3c22169f9207f165c2ced26d1; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 65b2f76974c766e47d21efa0581c2f05cbe486c7; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 83d0ea5c10242f34a238ee1858161a2634541ce1; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< f00eb0ff45793383d5a62db2d2aea63ada0ccdbd (cvelist)
- Linux: 6.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139684. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139684.md
Affected: Linux >= b9b083f9044abf89f3391fbc196ddece68ac9dba, < 27aaca576330fe684c68138573f90a833c9cc330; >= b9b083f9044abf89f3391fbc196ddece68ac9dba, < 5c38283db79243df70afbc3ed553f4802616db14; >= b9b083f9044abf89f3391fbc196ddece68ac9dba, < e762d39c0e7752b3c22169f9207f165c2ced26d1; >= b9b083f9044abf89f3391fb…
Fixed in: Linux 27aaca576330fe684c68138573f90a833c9cc330, Linux 5c38283db79243df70afbc3ed553f4802616db14, Linux 65b2f76974c766e47d21efa0581c2f05cbe486c7, Linux 83d0ea5c10242f34a238ee1858161a2634541ce1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139684 being exploited?

There is no confirmed exploitation: CVE-2026-139684 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139684?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139684?

Linux \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 27aaca576330fe684c68138573f90a833c9cc330; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 5c38283db79243df70afbc3ed553f4802616db14; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< e762d39c0e7752b3c22169f9207f165c2ced26d1; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 65b2f76974c766e47d21efa0581c2f05cbe486c7; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< 83d0ea5c10242f34a238ee1858161a2634541ce1; \>= b9b083f9044abf89f3391fbc196ddece68ac9dba, \< f00eb0ff45793383d5a62db2d2aea63ada0ccdbd; Linux 6.1.

### Is there a fix for CVE-2026-139684?

Yes. Fixed in Linux 27aaca576330fe684c68138573f90a833c9cc330, Linux 5c38283db79243df70afbc3ed553f4802616db14, Linux 65b2f76974c766e47d21efa0581c2f05cbe486c7, Linux 83d0ea5c10242f34a238ee1858161a2634541ce1. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-139684?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139684>

HTML: <https://flawdb.com/CVE-2026-139684> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139684>
