mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
arp: use RCU protection in arp_xmit()
[ Upstream commita42b69f692] arp_xmit() can be called without RTNL or RCU protection. Use RCU protection to avoid potential UAF. Fixes:29a26a5680("netfilter: Pass struct net into the netfilter hooks") 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-5-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
40d8f2f2a3
commit
d9366ac2f9
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue