dm-integrity: don't recalculate with HMAC because of a dirty bitmap

Summary

CVECVE-2026-143013
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:28 UTC
Updated2026-12-03 10:17:28 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.002090000 probability, percentile 0.116620000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 5c02406428d5219c367c5f53457698c58bc5f917 c6472608f26f192d0843e75a3fa1cb2f308bfc49 git Not specified
CNA Linux Linux affected 5c02406428d5219c367c5f53457698c58bc5f917 10366fea7e24e405874f68f3d9c3b72d4fb888fa git Not specified
CNA Linux Linux affected 5c02406428d5219c367c5f53457698c58bc5f917 81e5a4f56e2219958579d220bd387a563e7bf7a4 git Not specified
CNA Linux Linux affected 5c02406428d5219c367c5f53457698c58bc5f917 765077a40b93cb7f417a5fb7d393559ac9533590 git Not specified
CNA Linux Linux affected 5c02406428d5219c367c5f53457698c58bc5f917 875a7161fe1574205293c36f7bbd0815023e48a1 git Not specified
CNA Linux Linux affected 26b30d36cb5cff5e075114d05e5309043514770c git Not specified
CNA Linux Linux affected 2d8848edc96b43d1dd8823a533e702953048b33e git Not specified
CNA Linux Linux affected 9cb683c3c471f99018891f7551390217de4b0a8f git Not specified
CNA Linux Linux affected 4.19.172 4.20 semver Not specified
CNA Linux Linux affected 5.4.94 5.5 semver Not specified
CNA Linux Linux affected 5.10.11 5.11 semver Not specified
CNA Linux Linux affected 5.11 Not specified
CNA Linux Linux unaffected 5.11 semver Not specified
CNA Linux Linux unaffected 5.15.227 5.15.* semver Not specified
CNA Linux Linux unaffected 6.12.120 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.66 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.7 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/10366fea7e24e405874f68f3d9c3b72d4fb888fa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/765077a40b93cb7f417a5fb7d393559ac9533590 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/875a7161fe1574205293c36f7bbd0815023e48a1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/81e5a4f56e2219958579d220bd387a563e7bf7a4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c6472608f26f192d0843e75a3fa1cb2f308bfc49 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report