[PATCH net-next] net: ethernet: mtk_eth_soc: use after free in __mtk_ppe_check_skb()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Wed Apr 13 04:30:12 PDT 2022
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem at davemloft.net>:
On Tue, 12 Apr 2022 12:24:19 +0300 you wrote:
> The __mtk_foe_entry_clear() function frees "entry" so we have to use
> the _safe() version of hlist_for_each_entry() to prevent a use after
> free.
>
> Fixes: 33fc42de3327 ("net: ethernet: mtk_eth_soc: support creating mac address based offload entries")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
>
> [...]
Here is the summary with links:
- [net-next] net: ethernet: mtk_eth_soc: use after free in __mtk_ppe_check_skb()
https://git.kernel.org/netdev/net-next/c/17a5f6a78dc7
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-mediatek
mailing list