NVD Vulnerability Detail
Search Exploit, PoC
CVE-2025-38588
Summary

In the Linux kernel, the following vulnerability has been resolved:

ipv6: prevent infinite loop in rt6_nlmsg_size()

While testing prior patch, I was able to trigger
an infinite loop in rt6_nlmsg_size() in the following place:

list_for_each_entry_rcu(sibling, &f6i->fib6_siblings,
fib6_siblings) {
rt6_nh_nlmsg_size(sibling->fib6_nh, &nexthop_len);
}

This is because fib6_del_route() and fib6_add_rt2node()
uses list_del_rcu(), which can confuse rcu readers,
because they might no longer see the head of the list.

Restart the loop if f6i->fib6_nsiblings is zero.

Publication Date Aug. 20, 2025, 2:15 a.m.
Registration Date Aug. 20, 2025, 4 a.m.
Last Update Aug. 20, 2025, 2:15 a.m.
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Debian等の複数ベンダの製品における無限ループに関する脆弱性
Title Debian等の複数ベンダの製品における無限ループに関する脆弱性
Summary

Linuxカーネルにおいて、ipv6: rt6_nlmsg_size()で無限ループが発生する問題が修正されました。この問題は、RCUリーダーがlist_for_each_entry_rcuを用いる際にリストの先頭を見失うことで発生し、またfib6_del_route()やfib6_add_rt2node()がlist_del_rcu()を利用することが原因となっていました。f6i->fib6_nsiblingsがゼロの場合にループを再起動することで、無限ループが防止されました。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 19, 2025, midnight
Registration Date Jan. 9, 2026, 4:22 p.m.
Last Update Jan. 9, 2026, 4:22 p.m.
Affected System
Debian
Debian GNU/Linux 11.0
Linux
Linux Kernel 6.1.128 以上 6.1.148 未満
Linux Kernel 6.11.11 以上 6.12 未満
Linux Kernel 6.12.2 以上 6.12.42 未満
Linux Kernel 6.13 以上 6.15.10 未満
Linux Kernel 6.16 以上 6.16.1 未満
Linux Kernel 6.6.75 以上 6.6.102 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年01月09日]
  掲載
Jan. 9, 2026, 4:22 p.m.