dm-integrity: validate the superblock on resume
- CVE-2026-99086
- GHSA-ppgf-6cf3-2qjr
- EUVD-2026-108937
Description
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.
Text from the CVE.org record.
Recommendation
Linux
- If you run a version from 6.19.6 to before 6.20update to 6.20 or laterMinor version change: check the release notes
- If you run 6.18.xupdate to 6.18.58 or laterPatch update: breaking changes are unlikely
- If you run 6.12.xupdate to 6.12.117 or laterPatch update: breaking changes are unlikely
- If you run 6.6.xupdate to 6.6.163 or laterPatch update: breaking changes are unlikely
- If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.19.6 to before 6.20 6.20 from 6.18.16 to before 6.18.58 6.18.58 from 6.12.75 to before 6.12.117 6.12.117 from 6.6.128 to before 6.6.163 6.6.163 from 6.1.165 to before 6.1.193 6.1.193 7.0 none stated before 7.0: not affected none stated from 6.1.193 up to 6.1.*: not affected none stated and 5 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.