md: reject v0.90 arrays with too many devices

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 47a8e61493c1caa56278b91ad1a3e30770adc70d Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4d740f67a253526bf57b9f19d01fb5fc489590c4 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d0ef3b2a0f47681739fbf0eedce561ad12cc249d Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bd722d5849f7cdb8b9555efaaa8dd05bcd69891d Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5e95d1c63f7fa433599e45f9be7d62718bb55b9b Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 85769c30a466da1394d072d3c5fb64745a780a18 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b8d33418991fa5090962bf73bda68e776bd77e40 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1a33a379e67853d6d778e6e80b214bdf1208f6f8 Affected
Linux Linux2.6.12 Affectedbefore 2.6.12 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.