Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139683

published high CVSS 3.1 · 7.8

md: reject v0.90 arrays with too many devices

Published
30 Nov 2026, 13:37:00 UTC
Updated
01 Dec 2026, 05:43:04 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 47a8e61493c1caa56278b91ad1a3e30770adc70d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4d740f67a253526bf57b9f19d01fb5fc489590c4 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d0ef3b2a0f47681739fbf0eedce561ad12cc249d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bd722d5849f7cdb8b9555efaaa8dd05bcd69891d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5e95d1c63f7fa433599e45f9be7d62718bb55b9b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 85769c30a466da1394d072d3c5fb64745a780a18 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b8d33418991fa5090962bf73bda68e776bd77e40 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1a33a379e67853d6d778e6e80b214bdf1208f6f8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The oversized sb->raid_disks comes from a v0.90 superblock that super_90_load() reads off a local member block device (a udisks loop partition or an attached disk). super_90_validate() then copies it into mddev->raid_disks. No network protocol message carries the value. AC:L - The attacker does every step. They write a checksum-valid 0.90 RAID1 member with raid_disks=64 and one SYNC|ACTIVE slot, so mdadm's working_disks is 1. They set set_uuid2/3=sha1(hostname or "any"), so Incremental issues RUN_ARRAY (RDWR). A spare-role partition's ADD_NEW_DISK then reaches add_bound_rdev(), which sets MD_SB_CHANGE_DEVS. md_update_sb()->super_90_sync() follows deterministically. PR:L - md_ioctl_valid() and the md sysfs stores require init capable(CAP_SYS_ADMIN). However, an active-session user can attach their own image via udisks LoopSetup (polkit allow_active=yes, partscan on). 64-md-raid-assembly.rules then runs mdadm --incremental as root on the partition add events, and mdadm's load_super0() does not bound raid_disks either. UI:N - No victim action is needed. The attacker's own LoopSetup call produces the uevents, and udev/mdadm assemble and start the array. The spare hot-add then makes the md thread rewrite the superblock without any write to /dev/mdX. S:U - The out-of-bounds access hits host kernel memory next to rdev->sb_page and stays within the host kernel's own authority. No VM, IOMMU or sandbox boundary is crossed. C:H - super_90_sync() ends with sb->this_disk = sb->disks[rdev->desc_nr]. For the spare (desc_nr = raid_disks = 64) that copies 108 bytes of the physically following page into the superblock, which md_super_write() stores on the attacker's own backing file. raid_disks chooses the offset, and every superblock update repeats the leak. I:H - sb_page is one alloc_page() and disks[] fills it exactly (disks[27] overlaps this_disk). The rdev loop writes number/major/minor/raid_disk/state at disks[desc_nr], up to 4.6KB past the page. The missing-device loop (i < raid_disks) writes i/i/0x9 into every 128-byte stride whose number and state are zero. Both are out-of-bounds writes into a neighbouring physical page. A:H - Corrupting whatever owns the following physical page (slab, page tables, page cache) can crash the kernel. KASAN reports the out-of-bounds write in super_90_sync() on the first metadata update, and a larger raid_disks extends the missing-device walk across more neighbouring pages.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 47a8e61493c1caa56278b91ad1a3e30770adc70d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4d740f67a253526bf57b9f19d01fb5fc489590c4 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d0ef3b2a0f47681739fbf0eedce561ad12cc249d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bd722d5849f7cdb8b9555efaaa8dd05bcd69891d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5e95d1c63f7fa433599e45f9be7d62718bb55b9b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 85769c30a466da1394d072d3c5fb64745a780a18 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b8d33418991fa5090962bf73bda68e776bd77e40 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1a33a379e67853d6d778e6e80b214bdf1208f6f8 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

md: reject v0.90 arrays with too many devices

Provenance

Schema
5.2
Searchable
yes
Content hash
89840f03520345b9fe0f1bb0db44933bc99c8d049451c17b179fc2e76ebef980
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected