CVE-2026-139683
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.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/1a33a379e67853d6d778e6e80b214bdf1208f6f8nvd
- git.kernel.org/stable/c/47a8e61493c1caa56278b91ad1a3e30770adc70dnvd
- git.kernel.org/stable/c/4d740f67a253526bf57b9f19d01fb5fc489590c4nvd
- git.kernel.org/stable/c/5e95d1c63f7fa433599e45f9be7d62718bb55b9bnvd
- git.kernel.org/stable/c/85769c30a466da1394d072d3c5fb64745a780a18nvd
- git.kernel.org/stable/c/b8d33418991fa5090962bf73bda68e776bd77e40nvd
- git.kernel.org/stable/c/bd722d5849f7cdb8b9555efaaa8dd05bcd69891dnvd
- git.kernel.org/stable/c/d0ef3b2a0f47681739fbf0eedce561ad12cc249dnvd
News mentions
0No linked articles in our index yet.