Re: [PATCH net] rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]

From: patchwork-bot+netdevbpf
Date: Fri Nov 18 2022 - 07:10:35 EST


Hello:

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

On Wed, 16 Nov 2022 14:02:28 +0000 you wrote:
> After rxrpc_unbundle_conn() has removed a connection from a bundle, it
> checks to see if there are any conns with available channels and, if not,
> removes and attempts to destroy the bundle.
>
> Whilst it does check after grabbing client_bundles_lock that there are no
> connections attached, this races with rxrpc_look_up_bundle() retrieving the
> bundle, but not attaching a connection for the connection to be attached
> later.
>
> [...]

Here is the summary with links:
- [net] rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]
https://git.kernel.org/netdev/net/c/3bcd6c7eaa53

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