[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162327360312.22106.3464471649898343499.git-patchwork-notify@kernel.org>
Date: Wed, 09 Jun 2021 21:20:03 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, kapandey@...eaurora.org,
dsa@...ulusnetworks.com, davem@...emloft.net, kuba@...nel.org
Subject: Re: [PATCH net] udp: fix race between close() and udp_abort()
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 9 Jun 2021 11:49:01 +0200 you wrote:
> Kaustubh reported and diagnosed a panic in udp_lib_lookup().
> The root cause is udp_abort() racing with close(). Both
> racing functions acquire the socket lock, but udp{v6}_destroy_sock()
> release it before performing destructive actions.
>
> We can't easily extend the socket lock scope to avoid the race,
> instead use the SOCK_DEAD flag to prevent udp_abort from doing
> any action when the critical race happens.
>
> [...]
Here is the summary with links:
- [net] udp: fix race between close() and udp_abort()
https://git.kernel.org/netdev/net/c/a8b897c7bcd4
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