dm-integrity: validate the superblock on resume
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.1.165, < 6.1.193→ 6.1.193 ≥ 6.6.128, < 6.6.163→ 6.6.163 ≥ 6.12.75, < 6.12.117→ 6.12.117 ≥ 6.18.16, < 6.18.58→ 6.18.58 ≥ 6.19.6, < 6.20→ 6.20 ≥ 7.0.0, < 7.2.12→ 7.2.12 |
6.1.193 6.6.163 6.12.117 6.18.58 6.20 7.2.12 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99086 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99086 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99086 linux-vmware, linux-riscv, linux-realtime +13 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
dm-integrity: validate the superblock on resume
dm_integrity_resume() re-reads the superblock from the device so that it
picks up the flags and the recalculate position. It performs no
validation on the result, while the constructor validates the superblock
it reads and sizes all the in-memory structures according to it. The user
may modify the superblock on the underlying device while the dm-integrity
device is suspended, so that the two no longer agree.
In particular, access_journal_data() shifts the journal entry index by
ic->sb->log2_sectors_per_block, while ic->journal_section_sectors and the
journal page list were computed with the value that was present at
constructor time. Increasing log2_sectors_per_block makes the index run
past the end of the journal, and dm-integrity then writes 512 bytes
through lowmem_page_address(NULL).
Snapshot the validated superblock in the constructor and refuse to resume
if any of the fields that describe the on-disk geometry changed.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org