Re: [PATCH v2 1/1] vsock: fix the race conditions in multi-transport support

From: patchwork-bot+netdevbpf
Date: Mon Feb 01 2021 - 23:00:53 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Mon, 1 Feb 2021 11:47:19 +0300 you wrote:
> There are multiple similar bugs implicitly introduced by the
> commit c0cfa2d8a788fcf4 ("vsock: add multi-transports support") and
> commit 6a2c0962105ae8ce ("vsock: prevent transport modules unloading").
>
> The bug pattern:
> [1] vsock_sock.transport pointer is copied to a local variable,
> [2] lock_sock() is called,
> [3] the local variable is used.
> VSOCK multi-transport support introduced the race condition:
> vsock_sock.transport value may change between [1] and [2].
>
> [...]

Here is the summary with links:
- [v2,1/1] vsock: fix the race conditions in multi-transport support
https://git.kernel.org/netdev/net/c/c518adafa39f

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