CVE-2025-38588
概要

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.

公表日 2025年8月20日2:15
登録日 2025年8月20日4:00
最終更新日 2025年8月20日2:15
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Debian等の複数ベンダの製品における無限ループに関する脆弱性
タイトル Debian等の複数ベンダの製品における無限ループに関する脆弱性
概要

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

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

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

公表日 2025年8月19日0:00
登録日 2026年1月9日16:22
最終更新日 2026年1月9日16:22
影響を受けるシステム
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 (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年01月09日]
  掲載
2026年1月9日16:22