Files
linux-stable-mirror/net/ipv4
Eric DumazetandGreg Kroah-Hartman f189654459 arp: use RCU protection in arp_xmit()
[ Upstream commit a42b69f692 ]

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>
2025-02-21 13:50:08 +01:00
..
2025-02-21 13:50:08 +01:00
2024-12-14 19:53:33 +01:00
2024-09-18 19:23:05 +02:00
2025-02-21 13:50:07 +01:00
2024-12-14 19:53:52 +01:00
2024-10-17 15:21:27 +02:00
2024-12-14 19:53:33 +01:00
2024-08-03 08:49:04 +02:00
2024-12-14 19:53:33 +01:00