CVE-2026-143013
Description
In the Linux kernel, the following vulnerability has been resolved:
dm-integrity: don't recalculate with HMAC because of a dirty bitmap
Commit 5c02406428d5 ("dm integrity: conditionally disable "recalculate" feature") refuses a superblock with SB_FLAG_RECALCULATING if a keyed hash is used without "legacy_recalculate". Otherwise someone who can write to the device, but does not know the key, could modify data and have the kernel compute valid tags for it.
dm_integrity_resume() can still start the same recalculation in J or D mode: if SB_FLAG_DIRTY_BITMAP is set and the bitmap is not clear, or log2_blocks_per_bitmap_bit does not match, it sets SB_FLAG_RECALCULATING and recalc_sector = 0. The superblock is not authenticated unless fix_hmac and journal_mac are both used, so the flag can be set offline. Resume also runs on the first activation.
Apply the constructor's policy there. If recalculation is not allowed, log an error and keep the existing tags, so modified blocks fail verification. This also avoids queueing recalc_work on a NULL recalc_wq when internal_hash is not used.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/10366fea7e24e405874f68f3d9c3b72d4fb888fanvd
- git.kernel.org/stable/c/765077a40b93cb7f417a5fb7d393559ac9533590nvd
- git.kernel.org/stable/c/81e5a4f56e2219958579d220bd387a563e7bf7a4nvd
- git.kernel.org/stable/c/875a7161fe1574205293c36f7bbd0815023e48a1nvd
- git.kernel.org/stable/c/c6472608f26f192d0843e75a3fa1cb2f308bfc49nvd
News mentions
0No linked articles in our index yet.