# CVE-2026-139683: md: reject v0.90 arrays with too many devices

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:00.903Z
- Modified: 2026-12-01T06:17:47.453Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

md: reject v0.90 arrays with too many devices

The v0.90 superblock has room for MD_SB_DISKS device descriptors, but
super_90_load() only rejects nonpositive raid_disks values. A crafted
superblock can therefore copy a larger value into mddev->raid_disks. When
metadata is next updated, super_90_sync() walks sb->disks[] up to that
count and reads and writes beyond the 4 KiB superblock buffer.

A checksum-valid RAID1 member advertising 64 devices can be assembled by
mdadm --incremental --run. The first write to the array then produces
out-of-bounds writes from super_90_sync() under KASAN.

Reject device counts that cannot be represented by the v0.90 format while
loading the superblock.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 47a8e61493c1caa56278b91ad1a3e30770adc70d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4d740f67a253526bf57b9f19d01fb5fc489590c4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d0ef3b2a0f47681739fbf0eedce561ad12cc249d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bd722d5849f7cdb8b9555efaaa8dd05bcd69891d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5e95d1c63f7fa433599e45f9be7d62718bb55b9b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 85769c30a466da1394d072d3c5fb64745a780a18; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b8d33418991fa5090962bf73bda68e776bd77e40; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1a33a379e67853d6d778e6e80b214bdf1208f6f8; 2.6.12 (not affected: before 2.6.12; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/47a8e61493c1caa56278b91ad1a3e30770adc70d>
- <https://git.kernel.org/stable/c/4d740f67a253526bf57b9f19d01fb5fc489590c4>
- <https://git.kernel.org/stable/c/d0ef3b2a0f47681739fbf0eedce561ad12cc249d>
- <https://git.kernel.org/stable/c/bd722d5849f7cdb8b9555efaaa8dd05bcd69891d>
- <https://git.kernel.org/stable/c/5e95d1c63f7fa433599e45f9be7d62718bb55b9b>
- <https://git.kernel.org/stable/c/85769c30a466da1394d072d3c5fb64745a780a18>
- <https://git.kernel.org/stable/c/b8d33418991fa5090962bf73bda68e776bd77e40>
- <https://git.kernel.org/stable/c/1a33a379e67853d6d778e6e80b214bdf1208f6f8>

## Sources

- CVE List: [CVE-2026-139683](https://www.cve.org/CVERecord?id=CVE-2026-139683), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139683](https://nvd.nist.gov/vuln/detail/CVE-2026-139683), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139683 · Whole record: https://cve.day/CVE-2026-139683.json · Rebuilt by cve.day 2026-12-01T06:32:24.572Z
