diff options
author | Eric Dumazet <edumazet@google.com> | 2025-02-07 16:58:35 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-11 05:09:09 +0300 |
commit | becbd5850c03ed33b232083dd66c6e38c0c0e569 (patch) | |
tree | 891e5c54b787fc9a65016b45af5b01c6f7a6ee63 /lib/mpi/mpi-inline.c | |
parent | 628e6d18930bbd21f2d4562228afe27694f66da9 (diff) | |
download | linux-becbd5850c03ed33b232083dd66c6e38c0c0e569.tar.xz |
neighbour: use RCU protection in __neigh_notify()
__neigh_notify() can be called without RTNL or RCU protection.
Use RCU protection to avoid potential UAF.
Fixes: 426b5303eb43 ("[NETNS]: Modify the neighbour table code so it handles multiple network namespaces")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250207135841.1948589-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions