[PATCH net 0/2] Fix use-after-free in metadata dst teardown in airoha_eth and mtk_eth_soc drivers
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Wed Jun 3 19:30:08 PDT 2026
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Tue, 02 Jun 2026 11:21:03 +0200 you wrote:
> airoha_metadata_dst_free() and mtk_free_dev() call metadata_dst_free()
> which frees the metadata_dst with kfree() immediately, bypassing the RCU
> grace period.
> Replace metadata_dst_free() with dst_release() which properly goes
> through the refcount path and runs call_rcu_hurry() if refcount goes to
> zero.
>
> [...]
Here is the summary with links:
- [net,1/2] net: airoha: Fix use-after-free in metadata dst teardown
https://git.kernel.org/netdev/net/c/b38cae85d1c4
- [net,2/2] net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown
https://git.kernel.org/netdev/net/c/80df409e1a48
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list