CVEvulnerability

CVE-2026-46107

7.8 HIGH Published 2026-05-28 Modified 2026-10-19 Official page ↗
Status
Modified
Published
2026-05-28
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-191, CWE-667

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 configurations

• linux linux kernel (>= 3.2 < 5.10.259) • linux linux kernel (>= 5.11 < 5.15.209) • linux linux kernel (>= 5.16 < 6.1.175) • linux linux kernel (>= 6.2 < 6.6.140) • linux linux kernel (>= 6.7 < 6.12.88) • linux linux kernel (>= 6.13 < 6.18.30) • linux linux kernel (>= 6.19 < 7.0.7) • linux linux kernel 7.1

Related

Weakness · CWE (2)

  • CWE-191 Integer Underflow (Wrap or Wraparound) weakness
  • CWE-667 Improper Locking weakness

References