CVE-2026-46107
dm-thin: fix metadata refcount underflow
Reported by linux · Published May 28, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f49b41c9eb7c6ff00df27cd49cea210abbadd8ad, f06f6aededd792a754cd677c02b3d3016d868c2c, b719d12cb94df345e9ad2715fd0abe9afcaeb111, 85311a585a26640760cd0f3349ab9f2905691044, 5ec0debbcfd43596e32c1239e993de06a704e04c, 323d252a4a378834e4fe68298ca61cfc5dd3a460, 3.2, 12161e03d33afce781f68fa11cc6060538862fad, 09a65adc7d8bbfce06392cb6d375468e2728ead5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 |
| Linux | Linux | 3.2, 0, 5.10.259 |
| Linux | Linux | 5.10.259, 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4, 7.1 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.88-119.157 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.1.175-219.357 | 0 |
…and 18 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (14 in total, the first dated here)
- Jun 1, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
- Sep 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-46107
vulnetix vdb fixes CVE-2026-46107
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46107/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart