CVE-2026-46107CWE-191CWE-667

CVE-2026-46107

High · published May 28, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
0.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00102 · 0.9th percentile
Weaknesses
CWE-191 · Integer Underflow (Wrap or Wraparound); CWE-667 · Improper Locking
Published
2026-05-28T14:16Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 3.2, < 5.10.2595.10.259
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1406.6.140
linux/linux_kernel≥ 6.7, < 6.12.886.12.88
linux/linux_kernel≥ 6.13, < 6.18.306.18.30
linux/linux_kernel≥ 6.19, < 7.0.77.0.7
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 28 MAY 09:35Z
    dm-thin: fix metadata refcount underflow
    cvelistv5