# CVE-2026-53061: dm cache: fix dirty mapping checking in passthrough mode switching

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-28)
- **Published:** 2026-06-24T16:30:05.522Z
- **Modified:** 2026-11-06T17:18:04.060Z

## Who should check

- Anyone running Linux \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< c2e86f647561fcf5e1c6eba7d75e9e0c4299c94d; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 5c98a3f1d7a554c9e920aa31daf92af6b5bbb8cc; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 1443c32f24d6d8bcdf4beceef2afc09290b98717; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 12105c7f18375d7615dad7605d89eadae7eb12a6; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< bd5a2c1018938e6b32670728bdb32a3f0efff00f; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 21c503d60a257e54ca3ac58e2721bd24501d5bde; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 01b22656d8a68dbeae59f8b80866e7b11936b20a; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8
- Anyone running Linux 3.13

## Description

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.

## Affected and fixed versions

- Linux: \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< c2e86f647561fcf5e1c6eba7d75e9e0c4299c94d; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 5c98a3f1d7a554c9e920aa31daf92af6b5bbb8cc; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 1443c32f24d6d8bcdf4beceef2afc09290b98717; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 12105c7f18375d7615dad7605d89eadae7eb12a6; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< bd5a2c1018938e6b32670728bdb32a3f0efff00f; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 21c503d60a257e54ca3ac58e2721bd24501d5bde; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 01b22656d8a68dbeae59f8b80866e7b11936b20a; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8 (cvelist)
- Linux: 3.13 (cvelist)

## Mitigation

- Upgrade Linux to 322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53061. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53061.md
Affected: Linux >= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, < c2e86f647561fcf5e1c6eba7d75e9e0c4299c94d; >= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, < 5c98a3f1d7a554c9e920aa31daf92af6b5bbb8cc; >= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, < 1443c32f24d6d8bcdf4beceef2afc09290b98717; >= 2ee57d587357f0d752af6c2…
Fixed in: Linux 5c98a3f1d7a554c9e920aa31daf92af6b5bbb8cc, Linux 1443c32f24d6d8bcdf4beceef2afc09290b98717, Linux 12105c7f18375d7615dad7605d89eadae7eb12a6, Linux 21c503d60a257e54ca3ac58e2721bd24501d5bde, Linux 01b22656d8a68dbeae59f8b80866e7b11936b20a, Linux 322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53061 being exploited?

There is no confirmed exploitation: CVE-2026-53061 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-53061?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53061?

Linux \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< c2e86f647561fcf5e1c6eba7d75e9e0c4299c94d; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 5c98a3f1d7a554c9e920aa31daf92af6b5bbb8cc; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 1443c32f24d6d8bcdf4beceef2afc09290b98717; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 12105c7f18375d7615dad7605d89eadae7eb12a6; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< bd5a2c1018938e6b32670728bdb32a3f0efff00f; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 21c503d60a257e54ca3ac58e2721bd24501d5bde; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 01b22656d8a68dbeae59f8b80866e7b11936b20a; \>= 2ee57d587357f0d752af6c2e3e46434a74b1bee3, \< 322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8; Linux 3.13.

### Is there a fix for CVE-2026-53061?

Yes. Fixed in Linux 5c98a3f1d7a554c9e920aa31daf92af6b5bbb8cc, Linux 1443c32f24d6d8bcdf4beceef2afc09290b98717, Linux 12105c7f18375d7615dad7605d89eadae7eb12a6, Linux 21c503d60a257e54ca3ac58e2721bd24501d5bde, Linux 01b22656d8a68dbeae59f8b80866e7b11936b20a, Linux 322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8. Upgrade Linux to 322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8 or later.

### How do I check if I'm affected by CVE-2026-53061?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c2e86f647561fcf5e1c6eba7d75e9e0c4299c94d>
- patch: <https://git.kernel.org/stable/c/5c98a3f1d7a554c9e920aa31daf92af6b5bbb8cc>
- patch: <https://git.kernel.org/stable/c/1443c32f24d6d8bcdf4beceef2afc09290b98717>
- patch: <https://git.kernel.org/stable/c/12105c7f18375d7615dad7605d89eadae7eb12a6>
- patch: <https://git.kernel.org/stable/c/bd5a2c1018938e6b32670728bdb32a3f0efff00f>
- patch: <https://git.kernel.org/stable/c/21c503d60a257e54ca3ac58e2721bd24501d5bde>
- patch: <https://git.kernel.org/stable/c/01b22656d8a68dbeae59f8b80866e7b11936b20a>
- patch: <https://git.kernel.org/stable/c/322586745bd1a0e5f3559fd1635fdeb4dbd1d6b8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53061>

HTML: <https://flawdb.com/CVE-2026-53061> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53061>
