Skip to main content
Network Thinking Solutions Logo

CVE-2026-138991

In the Linux kernel, the following vulnerability has been resolved: md: validate bblog_size when loading v1.

All CVEs
CVE-2026-138991Published 11/30/2026

In the Linux kernel, the following vulnerability has been resolved: md: validate bblog_size when loading v1.

Vendor advisory
CVSS 3.17.1High

Overview

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.

Published
11/30/2026
Last modified
12/1/2026
CVE assigner
Linux
NVD analysis
Received

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < 2a0088960aeec328c0afa34df324192594212bf8

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < 1b9c1af3039596f2374225a5f6c9962a2a117192

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < ed3334dc84bdb5d5062955c4aece6b5bfb6a68c9

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < e507b6589712e72bb1f5eeac17f4bbfce48eb9a7

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < 6161721e0cc7cc45be5d4b2edfbec7d3f211bfeb

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < 750960f85f5467d7271b54ddc215e5800b0a08db

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < ed89d13541c89246fd410b2d95861096ad3d43c1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 2699b67223aca6b1450fc2f72e40fada952afc85, < ae5f89b23cb88667cfa1273b42d6a551db9c651e

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
3.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.1 · High CVSS 3.1

Scored by Linux

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

7.1 · High CVSS 3.1

Scored by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.