Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local access with device/image control
-
DeliveryCraft malicious md v1.x superblock
-
ExploitKernel assembles array via super_1_load
-
InstallTrigger bad-block recording path
-
C2Oversized bio over-reads kernel memory
-
ExecuteKernel memory contents written to disk
-
ImpactAttacker recovers leaked data
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires the attacker to supply an md (software RAID) v1.x superblock whose feature_map does NOT set MD_FEATURE_BAD_BLOCKS while sb->bblog_offset is non-zero and sb->bblog_size is oversized - i.e. control over the on-disk metadata via a malicious physical storage device or a crafted disk image that the host's md subsystem loads. The leak only materializes once the kernel actually records bad blocks for that rdev, invoking super_1_sync()/md_write_metadata(). Limiting factors: the vector is local (AV:L), md array assembly typically needs sufficient privilege or an auto-assembly/hotplug path that processes the attacker's device, the affected system must use md with v1.x metadata, and the kernel must reach the bad-block recording path - so despite PR:L in the official vector, realistic exploitation depends on the attacker being able to get md to assemble attacker-controlled metadata, which on many systems requires elevated (CAP_SYS_ADMIN) privileges. |
| Impact | The input signals are internally consistent and point to a moderate, non-urgent local risk rather than a mass-exploitation priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H, base 7.1) establishes local attack vector with low privileges and no user interaction, meaning the attacker must already be able to present attacker-controlled storage to the md subsystem - this is not a network-reachable flaw. EPSS reinforces low real-world urgency: 0.17% probability at the 6th percentile indicates exploitation is not expected at scale, which fits a bug requiring a forged on-disk superblock and the kernel subsequently recording bad blocks. There is no CISA KEV listing and no public exploit identified at time of analysis, so this is 'no public exploit identified at time of analysis' - not active exploitation. The vuln.today Decision label is 'this_week', consistent with a patched kernel memory-disclosure bug that warrants prompt patching in the normal cycle but is not an emergency. One signal to flag: the official vector sets A:H (availability high), yet the description and the 'Information Disclosure' tag describe leaking kernel memory contents to disk - a confidentiality impact. The oversized bio reading beyond a single page could plausibly touch unmapped memory and crash (availability), but the sources do not state this, so the A:H rating is not clearly justified by the described mechanism - verify impact scope with the vendor. Net: a genuine but low-priority local info-leak, deployment-wide reach limited by the local vector and md usage. |
| Exploit ScenarioDerived | An attacker who can attach a malicious storage device or supply a crafted disk image to a host crafts an md v1.x superblock whose feature_map omits MD_FEATURE_BAD_BLOCKS while carrying a non-zero bblog_offset and an oversized bblog_size. When the kernel assembles the array and later records bad blocks, super_1_sync() and md_write_metadata() issue a bio larger than the single rdev->bb_page, reading adjacent kernel memory and writing those contents to disk where the attacker can recover them. No public exploit code was identified; the local vector and low privileges mean the attacker must already have a foothold capable of presenting block devices to md. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Local information disclosure in the Linux kernel md software RAID subsystem allows an attacker who can supply a crafted v1.x on-disk superblock to make the kernel read beyond a single bad-block page and write kernel memory contents to disk. The flaw affects kernels using md v1.x metadata where feature_map lacks MD_FEATURE_BAD_BLOCKS while bblog_offset is non-zero and bblog_size is oversized; exploitation requires md to assemble attacker-controlled metadata and then record bad blocks, which on many systems requires elevated privileges such as CAP_SYS_ADMIN. No public exploit identified at time of analysis, EPSS is 0.17% (6th percentile), and vendor patches are available in stable releases including 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1.
RemediationAI
Apply the vendor-released kernel patches for Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, or 7.4-rc1, using the corresponding stable commit from git.kernel.org (for example https://git.kernel.org/stable/c/1b9c1af3039596f2374225a5f6c9962a2a117192) or your distribution's updated kernel package. The supplied references do not document a vendor workaround; until patched, restricting assembly of md v1.x arrays to trusted storage devices and trusted administrators reduces exposure to forged superblocks but leaves the missing bblog_size validation in place. Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-138991.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The md driver is Linux's software RAID subsystem, and its v1.x superblock format stores bad-block metadata parameters in fields such as bblog_offset, bblog_size, and feature_map. In super_1_load(), the MD_FEATURE_BAD_BLOCKS branch validates that bad-block sectors fit within a page, but the alternative branch taken when MD_FEATURE_BAD_BLOCKS is not set and bblog_offset is non-zero initializes rdev->badblocks.shift to 0 without checking bblog_size. A forged superblock can therefore carry an oversized bblog_size; when bad blocks are later recorded, super_1_sync() copies bb->size from sb->bblog_size and md_write_metadata() issues a bio larger than the single rdev->bb_page, producing an out-of-bounds read and leaking kernel memory to disk. The source describes the trigger and notes that bblog_size is not modified by the kernel between load and sync, so rejecting oversized values with -EINVAL in this branch covers both paths. No CWE is assigned in the supplied data; no CPE strings were supplied, but the affected component is the md v1.x superblock loader.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Local because attacker must present crafted md metadata (AV:L); deterministic forged superblock (AC:L); needs ability to get md to assemble the device (PR:L); impact is kernel-memory disclosure to disk (C:H), with no confirmed integrity or availability effect.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
md: validate bblog_size when loading v1.x badblocks metadata
In super_1_load(), when the on-disk feature_map does not have MD_FEATURE_BAD_BLOCKS set but sb->bblog_offset is non-zero, rdev->badblocks.shift is initialized to 0 without validating sb->bblog_size. The same field is validated in the MD_FEATURE_BAD_BLOCKS branch ("sectors > (PAGE_SIZE / 512)"), but this branch bypasses that check.
A forged on-disk superblock (malicious storage device or crafted image) can therefore carry an oversized sb->bblog_size. When bad blocks are later recorded, super_1_sync() sets bb->size from sb->bblog_size and md_write_metadata() issues a bio larger than the single rdev->bb_page, reading beyond the page and leaking kernel memory contents to disk.
sb->bblog_size is never modified by the kernel between load and sync, and the MD_FEATURE_BAD_BLOCKS branch already validates it, so checking it in this branch is sufficient to cover both paths.
Fix this by rejecting an oversized sb->bblog_size with -EINVAL, matching the existing check in the MD_FEATURE_BAD_BLOCKS branch.
Executive ViewAI
CVE-2026-138991 is a high-severity local information disclosure in the Linux kernel md software RAID subsystem. An attacker with elevated privileges on a system using md v1.x metadata could cause the kernel to read beyond a bad-block page and write kernel memory contents to disk, potentially exposing sensitive information. While the EPSS score is low and no public exploit exists, the vulnerability affects Linux systems and should be prioritized for patching to prevent local data leakage.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-138743
GHSA-jgrf-8frm-483v
NVD
CVE.org
EPSS
Exploit-DB