summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-02-07 13:58:35 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 14:01:43 +0100
commitcdd5c2a12ddad8a77ce1838ff9f29aa587de82df (patch)
treeb61d3b6cd5cc627418c2b885b67cf45be4ca69e7 /net/ipv4
parentbbec88e4108e8d6fb468d3817fa652140a44ff28 (diff)
downloadlinux-cdd5c2a12ddad8a77ce1838ff9f29aa587de82df.tar.gz
linux-cdd5c2a12ddad8a77ce1838ff9f29aa587de82df.tar.bz2
linux-cdd5c2a12ddad8a77ce1838ff9f29aa587de82df.zip
neighbour: use RCU protection in __neigh_notify()
[ Upstream commit becbd5850c03ed33b232083dd66c6e38c0c0e569 ] __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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions