# CVE-2026-72108: dm thin metadata: fix metadata snapshot consistency on commit failure

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-672
- **Published:** 2026-08-15T05:52:50.321Z
- **Modified:** 2026-10-19T22:17:28.047Z

## Who should check

- Anyone running Linux \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 4af993468193cf4cd32ba5748786e7801945f7d2; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< abf2fae92cbe68945028987d498cc72f8f0e23a8; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 5efb1a7734ed4035fa4fdc3716bdb84621f27cf6; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 3dc9ae1029320d77472c44965e572f176949cd63; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< b5f9a31c51cbb374a1713c3494f8660ab070f035; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 7f76245960a332f39b08cc556e675d1765dc5bbb; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 9f1a0d27586ceab055e6b050e3731ce3c6b2c4f0; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 5bcd4d3058ebaf46ad2e163829d87dd4870c7a45
- Anyone running Linux 3.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

dm thin metadata: fix metadata snapshot consistency on commit failure

\_\_reserve\_metadata\_snap() and \_\_release\_metadata\_snap() modify the
superblock's held\_root directly in the block\_manager's buffer. If the
subsequent metadata commit fails, the held\_root gets flushed to disk
through the abort\_transaction path, resulting in inconsistent metadata.

Reproducer 1: \_\_reserve\_metadata\_snap()

1. Create a 2 MiB metadata device and make the region after the 14th
   block inaccessible, to trigger metadata commit failure in the
   subsequent reserve\_metadata\_snap operation. The 14th block will be
   the shadow destination for the index block.

dmsetup create tmeta --table "0 112 linear /dev/sdc 0
112 3984 error"

2. Create a 16 MiB thin-pool

dmsetup create tdata --table "0 32768 zero"
dd if=/dev/zero of=/dev/mapper/tmeta bs=4k count=1
dmsetup create tpool --table "0 32768 thin-pool /dev/mapper/tmeta \\
/dev/mapper/tdata 128 0 1 skip\_block\_zeroing"

3. Take a metadata snapshot to trigger metadata commit failure and
   transaction abort. However, the held\_root is written to disk,
   breaking metadata consistency.

dmsetup message tpool 0 "reserve\_metadata\_snap"

thin\_check v1.2.2 result:

Bad reference count for metadata block 6.  Expected 2, but space map contains 1.
Bad reference count for metadata block 7.  Expected 2, but space map contains 1.
Bad reference count for metadata block 13.  Expected 1, but space map contains 0.

Reproducer 2: \_\_release\_metadata\_snap()

1. Create a 2 MiB metadata device and make the region after the 16th
   block inaccessible, to trigger metadata commit failure in the
   subsequent release\_metadata\_snap operation. The 16th block will be
   the shadow destination for the index block.

dmsetup create tmeta --table "0 128 linear /dev/sdc 0
128 3968 error"

2. Create a 16 MiB thin-pool

dmsetup create tdata --table "0 32768 zero"
dd if=/dev/zero of=/dev/mapper/tmeta bs=4k count=1
dmsetup create tpool --table "0 32768 thin-pool /dev/mapper/tmeta \\
/dev/mapper/tdata 128 0 1 skip\_block\_zeroing"

3. Reserve then release the metadata snapshot, to trigger metadata
   commit failure and transaction abort. The held\_root gets removed
   from the on-disk superblock, causing inconsistent metadata.

dmsetup message tpool 0 "reserve\_metadata\_snap"
dmsetup message tpool 0 "release\_metadata\_snap"

thin\_check v1.2.2 result:

Bad reference count for metadata block 6.  Expected 1, but space map contains 2.
Bad reference count for metadata block 7.  Expected 1, but space map contains 2.
1 metadata blocks have leaked.

Fix by deferring the held\_root update to commit time.

Additionally, move the existing-snapshot check in \_\_reserve\_metadata\_snap
before the shadow operation to avoid unnecessary work. In
\_\_release\_metadata\_snap, clear pmd-\>held\_root before btree deletion so
partial failure leaks blocks rather than leaving a stale reference, and
unlock the snapshot block before decrementing its refcount.

## Affected and fixed versions

- Linux: \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 4af993468193cf4cd32ba5748786e7801945f7d2; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< abf2fae92cbe68945028987d498cc72f8f0e23a8; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 5efb1a7734ed4035fa4fdc3716bdb84621f27cf6; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 3dc9ae1029320d77472c44965e572f176949cd63; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< b5f9a31c51cbb374a1713c3494f8660ab070f035; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 7f76245960a332f39b08cc556e675d1765dc5bbb; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 9f1a0d27586ceab055e6b050e3731ce3c6b2c4f0; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 5bcd4d3058ebaf46ad2e163829d87dd4870c7a45 (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- Upgrade Linux to 5bcd4d3058ebaf46ad2e163829d87dd4870c7a45 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-72108. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72108.md
Affected: Linux >= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, < 4af993468193cf4cd32ba5748786e7801945f7d2; >= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, < abf2fae92cbe68945028987d498cc72f8f0e23a8; >= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, < 5efb1a7734ed4035fa4fdc3716bdb84621f27cf6; >= 991d9fa02da0dd1f843dc01…
Fixed in: Linux 4af993468193cf4cd32ba5748786e7801945f7d2, Linux 5efb1a7734ed4035fa4fdc3716bdb84621f27cf6, Linux 3dc9ae1029320d77472c44965e572f176949cd63, Linux 7f76245960a332f39b08cc556e675d1765dc5bbb, Linux 9f1a0d27586ceab055e6b050e3731ce3c6b2c4f0, Linux 5bcd4d3058ebaf46ad2e163829d87dd4870c7a45

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-72108 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 4af993468193cf4cd32ba5748786e7801945f7d2; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< abf2fae92cbe68945028987d498cc72f8f0e23a8; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 5efb1a7734ed4035fa4fdc3716bdb84621f27cf6; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 3dc9ae1029320d77472c44965e572f176949cd63; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< b5f9a31c51cbb374a1713c3494f8660ab070f035; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 7f76245960a332f39b08cc556e675d1765dc5bbb; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 9f1a0d27586ceab055e6b050e3731ce3c6b2c4f0; \>= 991d9fa02da0dd1f843dc011376965e0c8c6c9b5, \< 5bcd4d3058ebaf46ad2e163829d87dd4870c7a45; Linux 3.2.

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

Yes. Fixed in Linux 4af993468193cf4cd32ba5748786e7801945f7d2, Linux 5efb1a7734ed4035fa4fdc3716bdb84621f27cf6, Linux 3dc9ae1029320d77472c44965e572f176949cd63, Linux 7f76245960a332f39b08cc556e675d1765dc5bbb, Linux 9f1a0d27586ceab055e6b050e3731ce3c6b2c4f0, Linux 5bcd4d3058ebaf46ad2e163829d87dd4870c7a45. Upgrade Linux to 5bcd4d3058ebaf46ad2e163829d87dd4870c7a45 or later.

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

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

- other: <https://git.kernel.org/stable/c/4af993468193cf4cd32ba5748786e7801945f7d2>
- other: <https://git.kernel.org/stable/c/abf2fae92cbe68945028987d498cc72f8f0e23a8>
- other: <https://git.kernel.org/stable/c/5efb1a7734ed4035fa4fdc3716bdb84621f27cf6>
- other: <https://git.kernel.org/stable/c/3dc9ae1029320d77472c44965e572f176949cd63>
- other: <https://git.kernel.org/stable/c/b5f9a31c51cbb374a1713c3494f8660ab070f035>
- other: <https://git.kernel.org/stable/c/7f76245960a332f39b08cc556e675d1765dc5bbb>
- other: <https://git.kernel.org/stable/c/9f1a0d27586ceab055e6b050e3731ce3c6b2c4f0>
- other: <https://git.kernel.org/stable/c/5bcd4d3058ebaf46ad2e163829d87dd4870c7a45>

## 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-72108>

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