Thread (2 messages) 2 messages, 2 authors, 2021-12-18

Re: [PATCH v0] hamradio: improve the incomplete fix to avoid NPD

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-18 12:40:18
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Fri, 17 Dec 2021 10:13:56 +0800 you wrote:
The previous commit 3e0588c291d6 ("hamradio: defer ax25 kfree after
unregister_netdev") reorder the kfree operations and unregister_netdev
operation to prevent UAF.

This commit improves the previous one by also deferring the nullify of
the ax->tty pointer. Otherwise, a NULL pointer dereference bug occurs.
Partial of the stack trace is shown below.

[...]
Here is the summary with links:
  - [v0] hamradio: improve the incomplete fix to avoid NPD
    https://git.kernel.org/netdev/net/c/b2f37aead1b8

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