Re: [PATCH net-next] net: ethernet: mtk_eth_soc: use after free in __mtk_ppe_check_skb()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

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@xxxxxxxxxx>
> 
> [...]

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





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux