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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **Published:** 2026-11-30T13:37:00.903Z
- **Modified:** 2026-12-01T06:17:47.453Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 47a8e61493c1caa56278b91ad1a3e30770adc70d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4d740f67a253526bf57b9f19d01fb5fc489590c4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0ef3b2a0f47681739fbf0eedce561ad12cc249d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bd722d5849f7cdb8b9555efaaa8dd05bcd69891d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5e95d1c63f7fa433599e45f9be7d62718bb55b9b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 85769c30a466da1394d072d3c5fb64745a780a18; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b8d33418991fa5090962bf73bda68e776bd77e40; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1a33a379e67853d6d778e6e80b214bdf1208f6f8
- Anyone running Linux 2.6.12

## 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 and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 47a8e61493c1caa56278b91ad1a3e30770adc70d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4d740f67a253526bf57b9f19d01fb5fc489590c4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0ef3b2a0f47681739fbf0eedce561ad12cc249d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bd722d5849f7cdb8b9555efaaa8dd05bcd69891d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5e95d1c63f7fa433599e45f9be7d62718bb55b9b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 85769c30a466da1394d072d3c5fb64745a780a18; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b8d33418991fa5090962bf73bda68e776bd77e40; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1a33a379e67853d6d778e6e80b214bdf1208f6f8 (cvelist)
- Linux: 2.6.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 1a33a379e67853d6d778e6e80b214bdf1208f6f8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139683. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139683.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 47a8e61493c1caa56278b91ad1a3e30770adc70d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4d740f67a253526bf57b9f19d01fb5fc489590c4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d0ef3b2a0f47681739fbf0eedce561ad12cc249d; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 47a8e61493c1caa56278b91ad1a3e30770adc70d, Linux 4d740f67a253526bf57b9f19d01fb5fc489590c4, Linux 5e95d1c63f7fa433599e45f9be7d62718bb55b9b, Linux 85769c30a466da1394d072d3c5fb64745a780a18, Linux 1a33a379e67853d6d778e6e80b214bdf1208f6f8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139683 being exploited?

There is no confirmed exploitation: CVE-2026-139683 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139683?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-139683?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 47a8e61493c1caa56278b91ad1a3e30770adc70d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4d740f67a253526bf57b9f19d01fb5fc489590c4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0ef3b2a0f47681739fbf0eedce561ad12cc249d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bd722d5849f7cdb8b9555efaaa8dd05bcd69891d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5e95d1c63f7fa433599e45f9be7d62718bb55b9b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 85769c30a466da1394d072d3c5fb64745a780a18; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b8d33418991fa5090962bf73bda68e776bd77e40; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1a33a379e67853d6d778e6e80b214bdf1208f6f8; Linux 2.6.12.

### Is there a fix for CVE-2026-139683?

Yes. Fixed in Linux 47a8e61493c1caa56278b91ad1a3e30770adc70d, Linux 4d740f67a253526bf57b9f19d01fb5fc489590c4, Linux 5e95d1c63f7fa433599e45f9be7d62718bb55b9b, Linux 85769c30a466da1394d072d3c5fb64745a780a18, Linux 1a33a379e67853d6d778e6e80b214bdf1208f6f8. Upgrade Linux to 1a33a379e67853d6d778e6e80b214bdf1208f6f8 or later.

### How do I check if I'm affected by CVE-2026-139683?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139683>

HTML: <https://flawdb.com/CVE-2026-139683> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139683>
