CVE-2026-139681

Source
https://cve.org/CVERecord?id=CVE-2026-139681
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139681.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139681
Downstream
Published
2026-11-30T13:36:59Z
Modified
2026-11-30T15:02:30Z
Summary
md/raid5: reject raid4/5 arrays with too few disks
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139681.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f63f17350e537300312e9e19b51f69b61fa44291
Fixed
68b2d45568062fcdd94349f5a68cc1534d170354
Fixed
d59da066617f6193130b4597fbaf24a38c86784e
Fixed
14ddbcd6827b0ef354e989d85b36e3e1bb400ec0
Fixed
0d9bbbb6fafa22659ccd4d7ab94329a43c2632d0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139681.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139681.json"