md/raid10: fix missing wakeup in wait_barrier_nolock

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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

ProductVersions
Linux Linuxb9b083f9044abf89f3391fbc196ddece68ac9dba to before 27aaca576330fe684c68138573f90a833c9cc330 Affectedb9b083f9044abf89f3391fbc196ddece68ac9dba to before 5c38283db79243df70afbc3ed553f4802616db14 Affectedb9b083f9044abf89f3391fbc196ddece68ac9dba to before e762d39c0e7752b3c22169f9207f165c2ced26d1 Affectedb9b083f9044abf89f3391fbc196ddece68ac9dba to before 65b2f76974c766e47d21efa0581c2f05cbe486c7 Affectedb9b083f9044abf89f3391fbc196ddece68ac9dba to before 83d0ea5c10242f34a238ee1858161a2634541ce1 Affectedb9b083f9044abf89f3391fbc196ddece68ac9dba to before f00eb0ff45793383d5a62db2d2aea63ada0ccdbd Affected
Linux Linux6.1 Affectedbefore 6.1 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.