Messages in this thread | | | Subject | Re: [PATCH] net: qcom/emac: fix UAF in emac_remove | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 09 Jul 2021 18:30:04 +0000 |
| |
Hello:
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@gmail.com> > > [...]
Here is the summary with links: - net: qcom/emac: fix UAF in emac_remove https://git.kernel.org/netdev/net/c/ad297cd2db89
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |