CVE-2026-53061
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| perf | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel-livepatch-6.18.33-63.124 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.175-219.357.amzn2023 |
5 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2ee57d587357f0d752af6c2e3e46434a74b1bee3, 2ee57d587357f0d752af6c2e3e46434a74b1bee3, 2ee57d587357f0d752af6c2e3e46434a74b1bee3 |
| Linux | Linux | 3.13, 0, 5.10.258 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.33-63.124 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| Linux | Linux | 7.1, 2ee57d587357f0d752af6c2e3e46434a74b1bee3, 2ee57d587357f0d752af6c2e3e46434a74b1bee3 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
…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