Re: [PATCH] ax25: fix NPD bug in ax25_disconnect

From: patchwork-bot+netdevbpf
Date: Wed Feb 09 2022 - 07:12:05 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 8 Feb 2022 23:40:00 +0800 you wrote:
> The ax25_disconnect() in ax25_kill_by_device() is not
> protected by any locks, thus there is a race condition
> between ax25_disconnect() and ax25_destroy_socket().
> when ax25->sk is assigned as NULL by ax25_destroy_socket(),
> a NULL pointer dereference bug will occur if site (1) or (2)
> dereferences ax25->sk.
>
> [...]

Here is the summary with links:
- ax25: fix NPD bug in ax25_disconnect
https://git.kernel.org/netdev/net/c/7ec02f5ac8a5

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