CVE-2026-139683

md: reject v0.90 arrays with too many devices

Published Nov 30, 2026 CVSS 3.1 · 7.8 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The payload: In the Linux kernel, the v0.90 superblock loader accepts a raid_disks value that can be greater than the actual number of device descriptors the format supports. A crafted superblock that advertises an inflated device count can cause the synchronizer super_90_sync to walk beyond the 4 KiB buffer, resulting in out‑of‑bounds memory reads and writes. This kernel memory corruption can lead to arbitrary code execution or system crash, as the overwritten memory may contain executable code or critical data structures. The weakness is an unchecked array bounds error on kernel load time inputs.

Affected Systems

This issue affects all Linux kernel releases that support MD superblock v0.90 and lack the validation patch. The vendor list identifies the Linux kernel itself as the impacted product. No explicit version range was provided, so any kernel built from source that allows creation of a v0.90 metadata array remains at risk until the patch is applied.

Risk and Exploitability

The CVSS score is not supplied, but given its kernel‑level memory corruption and the potential for privilege escalation, the risk is high. With no EPSS score available, exploitation likelihood is uncertain; however, kernel exploits are typically prized by attackers, making this a high‑threat vector. The vulnerability is not listed in CISA KEV, but that does not reduce its seriousness. The attack likely requires local or privileged access to create or load a malicious superblock, but if a device or storage system can be formed remotely on the target, the vector could extend to remote exploitation. The kernel patch removes the vulnerable logic, preventing the over‑read/write.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest stable release that includes the patch rejecting oversized raid_disks values.
  • If immediate kernel upgrade is infeasible, restrict creation of MD arrays with v0.90 metadata by preventing mdadm commands from using that format or by setting sysctl/fs/md-rw/meta50=0 (if such setting exists).
  • Consider reinitializing existing arrays that use the v0.90 format to a newer metadata version that includes proper bounds checks.
  • Monitor system logs and KASAN reports for out‑of‑bounds write events as an early warning.

Generated by OpenCVE AI on December 1, 2026 at 02:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-122
CWE-787
Type Values Removed Values Added
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.
Title md: reject v0.90 arrays with too many devices
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Dec 1, 2026, 5:43 AM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Dec 1, 2026, 6:17 AM