---
title: "CVE-2026-138991"
canonical_url: "https://pkgseek.com/security/CVE-2026-138991"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-138991

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-&gt;bblog_offset is non-zero, rdev-&gt;badblocks.shift is initialized to 0 without validating sb-&gt;bblog_size.  The same field is validated in the MD_FEATURE_BAD_BLOCKS branch ("sectors &gt; (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-&gt;bblog_size.  When bad blo…

CVE-2026-138991 is rated HIGH (7.1), with 13 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (7.1)
- **Affected builds**: 13
- **Affected distros**: 1
- **Distros with fixed_in**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | linux-headers-6.12.107+deb13-amd64 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-cloud-amd64 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-common | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-common-rt | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-headers-6.12.107+deb13-rt-amd64 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-dbg | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-amd64-unsigned | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-dbg | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-cloud-amd64-unsigned | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-dbg | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-image-6.12.107+deb13-rt-amd64-unsigned | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-kbuild-6.12.107+deb13 | 6.12.107-1 | 6.12.117-1 |
| Debian | trixie | linux-support-6.12.107+deb13 | 6.12.107-1 | 6.12.117-1 |
