Re: [PATCH net] net: openvswitch: fix potential UAF on meter attach failure

From: patchwork-bot+netdevbpf

Date: Thu Jul 30 2026 - 07:50:30 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Mon, 27 Jul 2026 14:10:21 +0200 you wrote:
> While attaching a newly created meter attach_meter() function makes
> the new meter visible to other CPUs but can still fail afterwards.
> On failure, it detaches the meter back and returns an error.
>
> However, this is an unexpected behavior for the ovs_meter_cmd_set()
> that uses a plain kfree(meter) on attach failure without waiting for
> RCU readers to stop using it, assuming it was never visible.
>
> [...]

Here is the summary with links:
- [net] net: openvswitch: fix potential UAF on meter attach failure
https://git.kernel.org/netdev/net/c/a58a2b0ce354

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html