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

Published Nov 30, 2026
·
Updated

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

md/raid10: fix missing wakeup in waitbarriernolock

Fuzz testing triggered a hung raid10d thread:

INFO: task md0raid10 blocked for more than 120 seconds. Call Trace: raid10d mdthread kthread

waitbarriernolock() speculatively increments nrpending. If a concurrent writer changes resynclock's sequence, it rolls the count back with atomicdecandtest(). The rollback currently wakes waitbarrier only when nrpending reaches zero.

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

Also wake waitbarrier when arrayfreezepending is set, matching allowbarrier().

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203