Re: [PATCH] net: qcom/emac: fix UAF in emac_remove

From: patchwork-bot+netdevbpf
Date: Fri Jul 09 2021 - 14:30:07 EST


This patch was applied to netdev/net.git (refs/heads/master):

On Fri, 9 Jul 2021 17:24:18 +0300 you wrote:
> adpt is netdev private data and it cannot be
> used after free_netdev() call. Using adpt after free_netdev()
> can cause UAF bug. Fix it by moving free_netdev() at the end of the
> function.
> Fixes: 54e19bc74f33 ("net: qcom/emac: do not use devm on internal phy pdev")
> Signed-off-by: Pavel Skripkin <paskripkin@xxxxxxxxx>
> [...]

Here is the summary with links:
- net: qcom/emac: fix UAF in emac_remove

You are awesome, thank you!
Deet-doot-dot, I am a bot.