Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Eric Dumazet
Tue, 27 Oct 2026 09:56
Re: [PATCH v2 net] ipv6: Protect multiple routes insertion by table lock.
Author: Eric Dumazet
Date: Tue, 27 Oct 2026 09:56
Date: Tue, 27 Oct 2026 09:56
27 lines
9830 bytes
9830 bytes
Le mar. 27 oct. 2026 ร 07:52, Kuniyuki Iwashima <kuniyu@google.com> a รฉcrit :
>
> syzbot reported the warning below. [0]
>
> While call_fib6_multipath_entry_notifiers() is called locklessly,
> fib6_siblings could be changed concurrently, leading to the
> warning (and later null-ptr-deref).
>
> Let's protect multiple routes insertion with tb6_lock.
>
> Along with that, __ip6_ins_rt() and ip6_route_del() are changed
> to fib6_add() and fib6_del().
>
> Note that fib6_del() finally calls rt6_multipath_rebalance(),
> which requires rcu_read_lock().
>
>
> Fixes: 169fd62799e8 ("ipv6: Get rid of RTNL for SIOCADDRT and RTM_NEWROUTE.")
> Reported-by: syzbot+751b587577d0ebca10f2@syzkaller.appspotmail.com
> Closes: https://lore.kernel.org/all/6adbaed6.67317f00.38c4bc.001b.GAE@google.com/T/
> Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@kernel.org>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads