md/raid5: reject raid4/5 arrays with too few disks
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
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. setup_conf() 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 raid5_set_limits().
Reject such arrays before the r5conf is created. This prevents the invalid geometry from reaching queue limit setup, where roundup_pow_of_two() can be called with a zero stripe size.
| Product | Versions |
|---|---|
| Linux Linux | f63f17350e537300312e9e19b51f69b61fa44291 to before 68b2d45568062fcdd94349f5a68cc1534d170354 Affectedf63f17350e537300312e9e19b51f69b61fa44291 to before d59da066617f6193130b4597fbaf24a38c86784e Affectedf63f17350e537300312e9e19b51f69b61fa44291 to before 14ddbcd6827b0ef354e989d85b36e3e1bb400ec0 Affectedf63f17350e537300312e9e19b51f69b61fa44291 to before 0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0 Affected |
| Linux Linux | 6.9 Affectedbefore 6.9 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 |
The record has no CVSS score.
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.