Re: [PATCH net] net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est

From: patchwork-bot+netdevbpf
Date: Mon Aug 23 2021 - 07:00:37 EST


Hello:

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

On Fri, 20 Aug 2021 21:26:22 +0800 you wrote:
> In the case of taprio offload is not enabled, the error handling path
> causes a kernel crash due to kernel NULL pointer deference.
>
> Fix this by adding check for NULL before attempt to access 'plat->est'
> on the mutex_lock() call.
>
> The following kernel panic is observed without this patch:
>
> [...]

Here is the summary with links:
- [net] net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
https://git.kernel.org/netdev/net/c/82a44ae113b7

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