Thread (5 messages) flat view 5 messages, 3 authors, 2021-07-10

Re: [PATCH] net: qcom/emac: fix UAF in emac_remove

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-07-09 18:30:07
Also in: lkml

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 <redacted>

[...]
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

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