Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139681

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

Published 30/11/2026 · Updated 30/11/2026 · Linux

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.

Affected products and versions

Linux Linuxf63f17350e537300312e9e19b51f69b61fa44291 – < 68b2d45568062fcdd94349f5a68cc1534d170354 · f63f17350e537300312e9e19b51f69b61fa44291 – < d59da066617f6193130b4597fbaf24a38c86784e · f63f17350e537300312e9e19b51f69b61fa44291 – < 14ddbcd6827b0ef354e989d85b36e3e1bb400ec0 · f63f17350e537300312e9e19b51f69b61fa44291 – < 0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0Fixed in: 68b2d45568062fcdd94349f5a68cc1534d170354 · d59da066617f6193130b4597fbaf24a38c86784e · 14ddbcd6827b0ef354e989d85b36e3e1bb400ec0 · 0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0
Linux Linux6.9Fixed in: 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.