# Re: \[PATCH net 4/8\] arp: use RCU protection in arp\_xmit()

- From: David Ahern \<dsahern@kernel.org\>
- Date: 2025-02-07 20:43:52 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/02/11318596
- Thread: https://ratatoskr.run/netdev/2025/02/11318509/t.md

```text
On 2/7/25 6:58 AM, Eric Dumazet wrote:
> arp_xmit() can be called without RTNL or RCU protection.
> 
> Use RCU protection to avoid potential UAF.
> 
> Fixes: 29a26a568038 ("netfilter: Pass struct net into the netfilter hooks")
> Signed-off-by: Eric Dumazet <redacted>
> ---
>  net/ipv4/arp.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Reviewed-by: David Ahern <dsahern@kernel.org>


```
