CVE-2026-46107

dm-thin: fix metadata refcount underflow

HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.10 % · centile 1 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 < b719d12cb94df345e9ad2715fd0abe9afcaeb111 ; affected 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 < f49b41c9eb7c6ff00df27cd49cea210abbadd8ad ; affected 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 < f06f6aededd792a754cd677c02b3d3016d868c2c ; affected 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 < 12161e03d33afce781f68fa11cc6060538862fad ; affected 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 < 323d252a4a378834e4fe68298ca61cfc5dd3a460 ; affected 3241b1d3e0aaafbfcd320f4d71ade629728cc4f4 < 85311a585a26640760cd0f3349ab9f2905691044
Linux · Linuxaffected 3.2 ; unaffected 0 < 3.2 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.140 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD