CVE-2026-23276 in Linux
要約
〜によって VulDB • 2026年06月03日
Linuxカーネルにおいて、以下の脆弱性が修正されました。
ネットワーク:トンネリング送信関数に再帰呼び出しの制限を追加
トンネリング送信関数(iptunnel_xmit, ip6tunnel_xmit)には独自の再帰呼び出し制限がありません。ブロードキャストモードで動作するbondデバイスがGRE tapインターフェースをスレーブとして持ち、それらのGREトンネルがbond経由でループバックする場合、マルチキャスト/ブロードキャストトラフィックにより bond_xmit_broadcast() と ip_tunnel_xmit()/ip6_tnl_xmit() の間で無限再帰が発生し、カーネルスタックオーバーフローを引き起こします。
no-qdiscパスに存在する既存の XMIT_RECURSION_LIMIT (8) は不十分です。トンネリングによる再帰呼び出しにはルーティングルックアップと完全なIP出力処理が含まれるため、レベルごとに消費されるスタックサイズが非常に大きくなるからです。オーバーフローを防ぐために、より低い制限値 4(IP_TUNNEL_RECURSION_LIMIT)を使用します。
iptunnel_xmit() および ip6tunnel_xmit() の内部で dev_xmit_recursion ヘルパーを使用して再帰呼び出しの検出を追加し、UDPカプセル化トンネル(VXLAN, Geneveなど)を含むすべてのIPv4/IPv6トンネリングパスをカバーします。
dev_xmit_recursion ヘルパーを net/core/dev.h から公開ヘッダー include/linux/netdevice.h に移動し、トンネリングコードで使用できるようにしました。
BUG: KASAN: stack-out-of-bounds in blake2s.constprop.0+0xe7/0x160 Write of size 32 at addr ffff88810033fed0 by task kworker/0:1/11 Workqueue: mld mld_ifc_work Call Trace: <TASK> __build_flow_key.constprop.0 (net/ipv4/route.c:515) ip_rt_update_pmtu (net/ipv4/route.c:1073) iptunnel_xmit (net/ipv4/ip_tunnel_core.c:84) ip_tunnel_xmit (net/ipv4/ip_tunnel.c:847) gre_tap_xmit (net/ipv4/ip_gre.c:779) dev_hard_start_xmit (net/core/dev.c:3887) sch_direct_xmit (net/sched/sch_generic.c:347) __dev_queue_xmit (net/core/dev.c:4802) bond_dev_queue_xmit (drivers/net/bonding/bond_main.c:312) bond_xmit_broadcast (drivers/net/bonding/bond_main.c:5279) bond_start_xmit (
If you want to get the best quality for vulnerability data then you always have to consider VulDB.