# Re: \[PATCH net 3/8\] neighbour: use RCU protection in \_\_neigh\_notify()

- From: Kuniyuki Iwashima \<hidden\>
- Date: 2025-02-10 01:14:57 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/02/11318706
- Thread: https://ratatoskr.run/netdev/2025/02/11318509/t.md

```text
From: Eric Dumazet <redacted>
Date: Fri,  7 Feb 2025 13:58:35 +0000
> __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 <redacted>

Reviewed-by: Kuniyuki Iwashima <redacted>
```
