lkml.org 
[lkml]   [2021]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
From
Date
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


\
 
 \ /
  Last update: 2021-08-23 13:01    [W:0.031 / U:4.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site