Re: [PATCH] net: ti: fix UAF in tlan_remove_one

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


Hello:

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

On Fri, 9 Jul 2021 17:58:29 +0300 you wrote:
> priv is netdev private data and it cannot be
> used after free_netdev() call. Using priv after free_netdev()
> can cause UAF bug. Fix it by moving free_netdev() at the end of the
> function.
>
> Fixes: 1e0a8b13d355 ("tlan: cancel work at remove path")
> Signed-off-by: Pavel Skripkin <paskripkin@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- net: ti: fix UAF in tlan_remove_one
https://git.kernel.org/netdev/net/c/0336f8ffece6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html