Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139681

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f63f17350e537300312e9e19b51f69b61fa44291 to < 68b2d45568062fcdd94349f5a68cc1534d170354affected
  • f63f17350e537300312e9e19b51f69b61fa44291 to < d59da066617f6193130b4597fbaf24a38c86784eaffected
  • f63f17350e537300312e9e19b51f69b61fa44291 to < 14ddbcd6827b0ef354e989d85b36e3e1bb400ec0affected
  • f63f17350e537300312e9e19b51f69b61fa44291 to < 0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References