Re: [PATCH net 1/2] ipv6: fix possible infinite loop in rt6_fill_node()
From: patchwork-bot+netdevbpf
Date: Fri May 29 2026 - 15:50:32 EST
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 27 May 2026 13:31:30 +0800 you wrote:
> Sashiko reported this issue [1]. Apply the same fix as
> commit f8d8ce1b515a ("ipv6: fix possible infinite loop in fib6_info_uses_dev()").
>
> Writers holding tb6_lock can list_del_rcu(&rt->fib6_siblings)
> without waiting for RCU readers; rt->fib6_siblings.next then still
> points into the old ring and this softirq-side walker never reaches
> &rt->fib6_siblings, causing a CPU stall. fib6_purge_rt() always
> WRITE_ONCE()s rt->fib6_nsiblings to 0 before list_del_rcu(), so an
> inside-loop check is a reliable detach signal.
>
> [...]
Here is the summary with links:
- [net,1/2] ipv6: fix possible infinite loop in rt6_fill_node()
https://git.kernel.org/netdev/net/c/9f72412bcf60
- [net,2/2] ipv6: fix possible infinite loop in fib6_select_path()
https://git.kernel.org/netdev/net/c/9c7da87c2dc8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html