[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163983121017.1461.2630742040562872080.git-patchwork-notify@kernel.org>
Date: Sat, 18 Dec 2021 12:40:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Lin Ma <linma@....edu.cn>
Cc: linux-hams@...r.kernel.org, jreuter@...na.de, ralf@...ux-mips.org,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
nagi@....edu.cn
Subject: Re: [PATCH v0] ax25: NPD bug when detaching AX25 device
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 17 Dec 2021 10:29:41 +0800 you wrote:
> The existing cleanup routine implementation is not well synchronized
> with the syscall routine. When a device is detaching, below race could
> occur.
>
> static int ax25_sendmsg(...) {
> ...
> lock_sock()
> ax25 = sk_to_ax25(sk);
> if (ax25->ax25_dev == NULL) // CHECK
> ...
> ax25_queue_xmit(skb, ax25->ax25_dev->dev); // USE
> ...
> }
>
> [...]
Here is the summary with links:
- [v0] ax25: NPD bug when detaching AX25 device
https://git.kernel.org/netdev/net/c/1ade48d0c27d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists