diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-07-25 17:07:24 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-26 21:31:00 +0300 |
| commit | f8d8ce1b515a0a6af72b30502670a406cfb75073 (patch) | |
| tree | 627174e0136ce27cb57a86f70318500042fdd976 /net/unix/af_unix.c | |
| parent | 54e6fe9dd3b0e7c481c2228782c9494d653546da (diff) | |
| download | linux-f8d8ce1b515a0a6af72b30502670a406cfb75073.tar.xz | |
ipv6: fix possible infinite loop in fib6_info_uses_dev()
fib6_info_uses_dev() seems to rely on RCU without an explicit
protection.
Like the prior fix in rt6_nlmsg_size(),
we need to make sure fib6_del_route() or fib6_add_rt2node()
have not removed the anchor from the list, or we risk an infinite loop.
Fixes: d9ccb18f83ea ("ipv6: Fix soft lockups in fib6_select_path under high next hop churn")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250725140725.3626540-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
