CVE-2026-46107

dm-thin: fix metadata refcount underflow

7.8 high EPSS 0.10%

Published 28 May 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-46107

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46107 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.10%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 0.99% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before b719d12cb94df345e9ad2715fd0abe9afcaeb111
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before f49b41c9eb7c6ff00df27cd49cea210abbadd8ad
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before f06f6aededd792a754cd677c02b3d3016d868c2c
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before 12161e03d33afce781f68fa11cc6060538862fad
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before 323d252a4a378834e4fe68298ca61cfc5dd3a460
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before 85311a585a26640760cd0f3349ab9f2905691044
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before 5ec0debbcfd43596e32c1239e993de06a704e04c
affected from 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, before 09a65adc7d8bbfce06392cb6d375468e2728ead5
Other versions: unaffected
Linux
affected 3.2
unaffected before 3.2
unaffected from 5.10.259 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.140 up to and including 6.6.*
unaffected from 6.12.88 up to and including 6.12.*
unaffected from 6.18.30 up to and including 6.18.*
unaffected from 7.0.7 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46107 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46107

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-46107
trivy image --scanners vuln IMAGE | grep CVE-2026-46107

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-46107 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.