CVE-2026-143013

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143014In the Linux kernel, the following vulnerability has been resolved: dm-crypt: defer async write submission to write thread With no_write_wCVE-2026-143015In the Linux kernel, the following vulnerability has been resolved: dm-crypt: reject integrity_key_size with non-authenc AEAD ciphers WhenCVE-2026-143016In the Linux kernel, the following vulnerability has been resolved: dm-cache: fix NULL pointer dereference on open failure When __begin_trCVE-2026-143017In the Linux kernel, the following vulnerability has been resolved: dm zoned: do not reclaim a random zone into another random zone dmz_reCVE-2026-143018In the Linux kernel, the following vulnerability has been resolved: dm zoned: back off when reclaim cannot make progress When a reclaim paCVE-2026-143019In the Linux kernel, the following vulnerability has been resolved: dm snapshot: fix discard writing into the next COW chunk zero_exceptioCVE-2026-143020In the Linux kernel, the following vulnerability has been resolved: dm snapshot: split discards on chunk boundaries dm-snapshot did not seCVE-2026-143021In the Linux kernel, the following vulnerability has been resolved: dm snapshot: fix discard_granularity unit in snapshot_io_hints snapshoCVE-2026-143022In the Linux kernel, the following vulnerability has been resolved: dm persistent data: don't leak bufio buffer if find_leaf fails If findCVE-2026-143023In the Linux kernel, the following vulnerability has been resolved: dm persistent data: don't ignore writeback errors An error returned byCVE-2026-143024In the Linux kernel, the following vulnerability has been resolved: dm-sysfs: fix misbehavior if kobject_init_and_add fails If kobject_iniCVE-2026-143025In the Linux kernel, the following vulnerability has been resolved: dm-pcache: do not advance dirty_tail after backing flush failure After
CVE-2026-143013: Unscored | Vulnix