Thread (3 messages) flat view 3 messages, 3 authors, 2021-03-26

Re: [PATCH net-next] net: stmmac: Fix kernel panic due to NULL pointer dereference of fpe_cfg

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-26 23:01:16
Also in: linux-arm-kernel, lkml

Hello:

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

On Fri, 26 Mar 2021 17:10:46 +0800 you wrote:
From: Mohammad Athari Bin Ismail <redacted>

In this patch, "net: stmmac: support FPE link partner hand-shaking
procedure", priv->plat->fpe_cfg wouldn`t be "devm_kzalloc"ed if
dma_cap->frpsel is 0 (Flexible Rx Parser is not supported in SoC) in
tc_init(). So, fpe_cfg will be remain as NULL and accessing it will cause
kernel panic.

[...]
Here is the summary with links:
  - [net-next] net: stmmac: Fix kernel panic due to NULL pointer dereference of fpe_cfg
    https://git.kernel.org/netdev/net-next/c/63c173ff7aa3

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help