CVE-2026-46107

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*

History

25 Jun 2026, 21:19

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/09a65adc7d8bbfce06392cb6d375468e2728ead5 - () https://git.kernel.org/stable/c/09a65adc7d8bbfce06392cb6d375468e2728ead5 - Patch
References () https://git.kernel.org/stable/c/12161e03d33afce781f68fa11cc6060538862fad - () https://git.kernel.org/stable/c/12161e03d33afce781f68fa11cc6060538862fad - Patch
References () https://git.kernel.org/stable/c/323d252a4a378834e4fe68298ca61cfc5dd3a460 - () https://git.kernel.org/stable/c/323d252a4a378834e4fe68298ca61cfc5dd3a460 - Patch
References () https://git.kernel.org/stable/c/5ec0debbcfd43596e32c1239e993de06a704e04c - () https://git.kernel.org/stable/c/5ec0debbcfd43596e32c1239e993de06a704e04c - Patch
References () https://git.kernel.org/stable/c/85311a585a26640760cd0f3349ab9f2905691044 - () https://git.kernel.org/stable/c/85311a585a26640760cd0f3349ab9f2905691044 - Patch
References () https://git.kernel.org/stable/c/b719d12cb94df345e9ad2715fd0abe9afcaeb111 - () https://git.kernel.org/stable/c/b719d12cb94df345e9ad2715fd0abe9afcaeb111 - Patch
References () https://git.kernel.org/stable/c/f06f6aededd792a754cd677c02b3d3016d868c2c - () https://git.kernel.org/stable/c/f06f6aededd792a754cd677c02b3d3016d868c2c - Patch
References () https://git.kernel.org/stable/c/f49b41c9eb7c6ff00df27cd49cea210abbadd8ad - () https://git.kernel.org/stable/c/f49b41c9eb7c6ff00df27cd49cea210abbadd8ad - Patch
First Time Linux linux Kernel
Linux
CWE CWE-191
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*

19 Jun 2026, 13:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/b719d12cb94df345e9ad2715fd0abe9afcaeb111 -

01 Jun 2026, 17:17

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/f06f6aededd792a754cd677c02b3d3016d868c2c -
  • () https://git.kernel.org/stable/c/f49b41c9eb7c6ff00df27cd49cea210abbadd8ad -

30 May 2026, 11:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

28 May 2026, 10:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-28 10:16

Updated : 2026-06-25 21:19


NVD link : CVE-2026-46107

Mitre link : CVE-2026-46107

CVE.ORG link : CVE-2026-46107


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-191

Integer Underflow (Wrap or Wraparound)