Vulnerability record
dm-integrity: don't recalculate with HMAC because of a dirty bitmap
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,…
7.1/CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:HExploitability
AV:LAC:LPR:NUI:RScope
S:UImpact
C:NI:HA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources