CVE-2026-46107

dm-thin: fix metadata refcount underflow

HIGH
7.8
CVSS Score
Published: May 28, 2026 at 09:35 AM UTC
Updated: October 19, 2026 at 08:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: dm-thin: fix metadata refcount underflow There's a bug in dm-thin in the function rebalance_children. If the internal btree node has one entry, the code tries to copy all btree entries from the node's child to the node itself and then decrement the child's reference count. If the child node is shared (it has reference count > 1), we won't free it, so there would be two pointers to each of the grandchildren nodes. But the reference counts of the grandchildren is not increased, thus the reference count doesn't match the number of pointers that point to the grandchildren. This results in "device mapper: space map common: unable to decrement block" errors. Fix this bug by incrementing reference counts on the grandchildren if the btree node is shared.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.2 ≤ v < 5.10.2595.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.306.19 ≤ v < 7.0.76.2 ≤ v < 6.6.1406.7 ≤ v < 6.12.883241b1d3e0aaafbfcd320f4d71ade629728cc4f47.17.1 rc1
Vendor states this is fixed in 09a65adc7d8bbfce06392cb6d375468e2728ead5 (fixed)
Vendor states this is fixed in 12161e03d33afce781f68fa11cc6060538862fad (fixed)
Vendor states this is fixed in 323d252a4a378834e4fe68298ca61cfc5dd3a460 (fixed)
Vendor states this is fixed in 5ec0debbcfd43596e32c1239e993de06a704e04c (fixed)
Vendor states this is fixed in 85311a585a26640760cd0f3349ab9f2905691044 (fixed)
Vendor states this is fixed in b719d12cb94df345e9ad2715fd0abe9afcaeb111 (fixed)
Vendor states this is fixed in f06f6aededd792a754cd677c02b3d3016d868c2c (fixed)
Vendor states this is fixed in f49b41c9eb7c6ff00df27cd49cea210abbadd8ad (fixed)
Vendor states this is fixed in 3.2 (unaffected)
Vendor states this is fixed in 5.10.259 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.88 (unaffected)
Vendor states this is fixed in 6.18.30 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.7 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-191CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card