製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける整数アンダーフローの脆弱性
Title LinuxのLinux Kernelにおける整数アンダーフローの脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました:dm-thinのメタデータの参照カウントのアンダーフローに関する問題です。dm-thinのrebalance_children関数にバグがありました。内部のbtreeノードが1つのエントリを持つ場合、コードはノードの子から全てのbtreeエントリをノード自身にコピーし、その後子の参照カウントをデクリメントしようとします。しかし、子ノードが共有されている場合(参照カウントが1より大きい場合)、それを解放しないため、孫ノードそれぞれへのポインタが2つ存在してしまいます。一方で、孫ノードの参照カウントは増加されないため、参照カウントと孫ノードを指すポインタの数が一致しません。この問題により「device mapper: space map common: unable to decrement block」というエラーが発生します。このバグは、btreeノードが共有されている場合に孫ノードの参照カウントを増加させることで修正されました。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date May 28, 2026, midnight
Registration Date June 26, 2026, 11:58 a.m.
Last Update June 26, 2026, 11:58 a.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected System
Linux
Linux Kernel 6.7 以上 6.12.88 未満
Linux Kernel 7.1
Linux Kernel 3.2 以上 5.10.259 未満
Linux Kernel 5.11 以上 5.15.209 未満
Linux Kernel 5.16 以上 6.1.175 未満
Linux Kernel 6.13 以上 6.18.30 未満
Linux Kernel 6.19 以上 7.0.7 未満
Linux Kernel 6.2 以上 6.6.140 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年06月26日]
  掲載
June 26, 2026, 11:58 a.m.

NVD Vulnerability Information
CVE-2026-46107
Summary

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.

Publication Date May 28, 2026, 7:16 p.m.
Registration Date May 29, 2026, 4:12 a.m.
Last Update June 2, 2026, 2:17 a.m.
Related information, measures and tools
Common Vulnerabilities List