Re: [PATCH] ax25: fix NPD bug in ax25_disconnect
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-09 12:12:05
Also in:
linux-hams, lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-09 12:12:05
Also in:
linux-hams, lkml
Hello: This patch was applied to netdev/net.git (master) by David S. Miller [off-list ref]: 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