CVE-2026-139684

Source
https://cve.org/CVERecord?id=CVE-2026-139684
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139684.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139684
Downstream
Published
2026-11-30T13:37:01Z
Modified
2026-11-30T15:02:30Z
Summary
md/raid10: fix missing wakeup in wait_barrier_nolock
Details

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139684.json"
}
References

Affected packages

Git / 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"

Linux / Kernel

Package

Name
Kernel

Affected 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"