md/raid10: fix missing wakeup in wait_barrier_nolock

Summary

CVECVE-2026-139684
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:56 UTC
Updated2026-11-30 14:19:56 UTC
DescriptionIn 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().

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b9b083f9044abf89f3391fbc196ddece68ac9dba 27aaca576330fe684c68138573f90a833c9cc330 git Not specified
CNA Linux Linux affected b9b083f9044abf89f3391fbc196ddece68ac9dba 5c38283db79243df70afbc3ed553f4802616db14 git Not specified
CNA Linux Linux affected b9b083f9044abf89f3391fbc196ddece68ac9dba e762d39c0e7752b3c22169f9207f165c2ced26d1 git Not specified
CNA Linux Linux affected b9b083f9044abf89f3391fbc196ddece68ac9dba 65b2f76974c766e47d21efa0581c2f05cbe486c7 git Not specified
CNA Linux Linux affected b9b083f9044abf89f3391fbc196ddece68ac9dba 83d0ea5c10242f34a238ee1858161a2634541ce1 git Not specified
CNA Linux Linux affected b9b083f9044abf89f3391fbc196ddece68ac9dba f00eb0ff45793383d5a62db2d2aea63ada0ccdbd git Not specified
CNA Linux Linux affected 6.1 Not specified
CNA Linux Linux unaffected 6.1 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/5c38283db79243df70afbc3ed553f4802616db14 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/65b2f76974c766e47d21efa0581c2f05cbe486c7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e762d39c0e7752b3c22169f9207f165c2ced26d1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/27aaca576330fe684c68138573f90a833c9cc330 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/83d0ea5c10242f34a238ee1858161a2634541ce1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f00eb0ff45793383d5a62db2d2aea63ada0ccdbd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report