# Re: \[PATCH net 5/8\] openvswitch: use RCU protection in ovs\_vport\_cmd\_fill\_info()

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

```text
From: Eric Dumazet <redacted>
Date: Fri,  7 Feb 2025 13:58:37 +0000
> ovs_vport_cmd_fill_info() can be called without RTNL or RCU.
> 
> Use RCU protection and dev_net_rcu() to avoid potential UAF.
> 
> Fixes: 9354d4520342 ("openvswitch: reliable interface indentification in port dumps")
> Signed-off-by: Eric Dumazet <redacted>

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