{"id":"CVE-2026-139681","aliases":["CVE-2026-139681"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid5: reject raid4/5 arrays with too few disks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: reject raid4/5 arrays with too few disks\n\nraid4 and raid5 require at least two disks, while raid6 requires at least\nfour disks. setup_conf() only rejects raid6 arrays with fewer than four\ndisks. As a result, an invalid raid4 or raid5 array can be assembled with\nno data disks and later reach raid5_set_limits().\n\nReject such arrays before the r5conf is created. This prevents the invalid\ngeometry from reaching queue limit setup, where roundup_pow_of_two() can be\ncalled with a zero stripe size.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: reject raid4/5 arrays with too few disks\n\nraid4 and raid5 require at least two disks, while raid6 requires at least\nfour disks. setup_conf() only rejects raid6 arrays with fewer than four\ndisks. As a result, an invalid raid4 or raid5 array can be assembled with\nno data disks and later reach raid5_set_limits().\n\nReject such arrays before the r5conf is created. This prevents the invalid\ngeometry from reaching queue limit setup, where roundup_pow_of_two() can be\ncalled with a zero stripe size.","source":"cvelist"}],"published":"2026-11-30T13:36:59.839Z","modified":"2026-11-30T14:19:56.163Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f63f17350e537300312e9e19b51f69b61fa44291","fixed":"68b2d45568062fcdd94349f5a68cc1534d170354","status":"affected"},{"type":"git","introduced":"f63f17350e537300312e9e19b51f69b61fa44291","fixed":"d59da066617f6193130b4597fbaf24a38c86784e","status":"affected"},{"type":"git","introduced":"f63f17350e537300312e9e19b51f69b61fa44291","fixed":"14ddbcd6827b0ef354e989d85b36e3e1bb400ec0","status":"affected"},{"type":"git","introduced":"f63f17350e537300312e9e19b51f69b61fa44291","fixed":"0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/68b2d45568062fcdd94349f5a68cc1534d170354","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d59da066617f6193130b4597fbaf24a38c86784e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14ddbcd6827b0ef354e989d85b36e3e1bb400ec0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139681","url":"https://www.cve.org/CVERecord?id=CVE-2026-139681","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:59.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139681","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139681","licence":"Public domain","modified":"2026-11-30T14:19:56.163Z"}],"updatedAt":"2026-11-30T14:33:40.105Z","epss":{"score":0.00168,"percentile":0.06324,"date":"2026-12-01T12:00:22.000Z"}}