Re: [PATCH net v3] ipv4: fix use-after-free in fib_nhc_update_mtu()
From: patchwork-bot+netdevbpf
Date: Tue Aug 11 2026 - 05:37:50 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Sat, 8 Aug 2026 02:17:10 +0800 you wrote:
> fib_nhc_update_mtu() walks the nexthop exception table under RTNL, but
> RTNL does not serialize this walk with PMTU exception updates. The walk
> uses rcu_dereference_protected() with a constant true condition without
> holding fnhe_lock.
>
> The following interleaving can therefore occur:
>
> [...]
Here is the summary with links:
- [net,v3] ipv4: fix use-after-free in fib_nhc_update_mtu()
https://git.kernel.org/netdev/net/c/bc5bde9ce3cc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html