CVE-2026-139681: md/raid5: reject raid4/5 arrays with too few disks

Published Nov 30, 2026
·
Updated

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

md/raid5: reject raid4/5 arrays with too few disks

raid4 and raid5 require at least two disks, while raid6 requires at least four disks. setupconf() only rejects raid6 arrays with fewer than four disks. As a result, an invalid raid4 or raid5 array can be assembled with no data disks and later reach raid5setlimits().

Reject such arrays before the r5conf is created. This prevents the invalid geometry from reaching queue limit setup, where rounduppowoftwo() can be called with a zero stripe size.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:36 PM
Data Sourced
via MITRE·01:36 PM
Description
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

What configurations are affected?

Only invalid md RAID4 or RAID5 arrays assembled with fewer than two disks are described as affected. RAID6 already rejects arrays with fewer than four disks.

2

What condition is required to trigger the issue?

An invalid RAID4 or RAID5 array must be assembled with no data disks. The invalid geometry can then reach queue-limit setup, where a zero stripe size may be passed to roundup_pow_of_two().

3

How can administrators determine whether they may be exposed?

Review md RAID4 and RAID5 array definitions and assembly attempts for arrays containing fewer than two disks. Such arrays are invalid and should be rejected rather than allowed to proceed to queue-limit setup.

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