# Re: \[PATCH net 2/8\] ndisc: use RCU protection in ndisc\_alloc\_skb()

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

```text
From: Eric Dumazet <redacted>
Date: Fri,  7 Feb 2025 13:58:34 +0000
> ndisc_alloc_skb() can be called without RTNL or RCU being held.
> 
> Add RCU protection to avoid possible UAF.
> 
> Fixes: de09334b9326 ("ndisc: Introduce ndisc_alloc_skb() helper.")
> Signed-off-by: Eric Dumazet <redacted>

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