VDB

CVE-2026-53061

CVE-2026-53061 PUBLISHED

dm cache: fix dirty mapping checking in passthrough mode switching

Reported by linux · Published June 24, 2026

In the Linux kernel, the following vulnerability has been resolved: dm cache: fix dirty mapping checking in passthrough mode switching As mentioned in commit 9b1cc9f251af ("dm cache: share cache-metadata object across inactive and active DM tables"), dm-cache assumed table reload occurs after suspension, while LVM's table preload breaks this assumption. The dirty mapping check for passthrough mode was designed around this assumption and is performed during table creation, causing the check to fail with preload while metadata updates are ongoing. This risks loading dirty mappings into passthrough mode, resulting in data loss. Reproduce steps: 1. Create a writeback cache with zero migration_threshold to produce dirty mappings dmsetup create cmeta --table "0 8192 linear /dev/sdc 0" dmsetup create cdata --table "0 131072 linear /dev/sdc 8192" dmsetup create corig --table "0 262144 linear /dev/sdc 262144" dd if=/dev/zero of=/dev/mapper/cmeta bs=4k count=1 oflag=direct dmsetup create cache --table "0 262144 cache /dev/mapper/cmeta \ /dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 writeback smq \ 2 migration_threshold 0" 2. Preload a table in passthrough mode dmsetup reload cache --table "0 262144 cache /dev/mapper/cmeta \ /dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 passthrough smq 0" 3. Write to the first cache block to make it dirty fio --filename=/dev/mapper/cache --name=populate --rw=write --bs=4k \ --direct=1 --size=64k 4. Resume the inactive table. Now it's possible to load the dirty block into passthrough mode. dmsetup resume cache Fix by moving the checks to the preresume phase to support table preloading. Also remove the unused function dm_cache_metadata_all_clean.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.33-63.124.amzn2023
kernelAmazon Linux1:6.1.175-219.357.amzn2023
perfAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.92-122.166.amzn2023
perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
bpftoolAmazon Linux1:6.1.175-219.357.amzn2023
kernel-headersAmazon Linux1:6.1.175-219.357.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.92-122.166.amzn2023
kernel6.18-develAmazon Linux1:6.18.33-63.124.amzn2023
kernel-livepatch-6.18.33-63.124Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.92-122.166.amzn2023
python3-perfAmazon Linux1:6.1.175-219.357.amzn2023

5 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux2ee57d587357f0d752af6c2e3e46434a74b1bee3, 2ee57d587357f0d752af6c2e3e46434a74b1bee3, 2ee57d587357f0d752af6c2e3e46434a74b1bee3
LinuxLinux3.13, 0, 5.10.258
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel0
amazon:2023perf0
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.180
amazon:2023bpftool0
amazon:2023kernel-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023kernel6.12-headers0
amazon:2023python3-perf0
amazon:2023kernel6.18-tools0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-headers0
LinuxLinux7.1, 2ee57d587357f0d752af6c2e3e46434a74b1bee3, 2ee57d587357f0d752af6c2e3e46434a74b1bee3
amazon:2023perf6.120
amazon:2023kernel-tools0

…and 17 more

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 25, 2026 EPSS Score (8 in total, the first dated here)
  • Jun 25, 2026 Coalition ESS Score
  • Aug 10, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
  • Aug 11, 2026 Security Advisory (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53061
vulnetix vdb fixes CVE-2026-53061

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53061/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›