CVE-2026-139684

md/raid10: fix missing wakeup in wait_barrier_nolock

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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().

Analysis

AI-generated

Technical impact

The Linux kernel’s md/raid10 module contains a race condition where the function wait_barrier_nolock fails to wake a waiting thread after a concurrent write alters the resynchronization lock. When the rollback thread decrements the pending count but does not signal the barrier, the raid10d management thread blocks indefinitely. This leads to a permanent hang of the RAID‑10 daemon and can stall array maintenance operations, effectively denying availability of the affected storage array.

Affected Systems

All Linux kernel builds that include the md/raid10 module before the patch commit c27aaca576330fe684c68138573f90a833c9cc330 are affected. The vulnerability applies to any system that loads the md/raid10 driver and uses RAID‑10 arrays.

Risk and Exploitability

The flaw is a local kernel‑level race condition; it requires an attacker who can initiate a write operation on a RAID‑10 array while the raid10d thread is paused. No CVSS score or EPSS data is provided, but the absence of a wakeup can cause the system to become unresponsive for that array, which is a critical denial‑of‑service condition. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local user or process with write privileges on the RAID device.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the system kernel to a version that includes the fix commit c27aaca576330fe684c68138573f90a833c9cc330.
  • If a newer kernel version is not available, cherry‑pick the patch commit into the current kernel source and rebuild the kernel to apply the fix.
  • If patching or rebuilding is not practical, disable the md/raid10 driver or limit write activity on the device while monitoring raid10d for stalls, and maintain recent backups of the RAID array.

Generated by OpenCVE AI on December 1, 2026 at 16:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-821
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-362
CWE-718
Type Values Removed Values Added
Weaknesses CWE-362
CWE-718
Type Values Removed Values Added
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().
Title md/raid10: fix missing wakeup in wait_barrier_nolock
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-821

    Incorrect Synchronization

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:37 PM