[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161282040728.13562.4928332686519436611.git-patchwork-notify@kernel.org>
Date: Mon, 08 Feb 2021 21:40:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Stefano Garzarella <sgarzare@...hat.com>
Cc: kuba@...nel.org, virtualization@...ts.linux-foundation.org,
netdev@...r.kernel.org, davem@...emloft.net,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
asias@...hat.com, mst@...hat.com, imbrenda@...ux.vnet.ibm.com,
stefanha@...hat.com
Subject: Re: [PATCH net] vsock/virtio: update credit only if socket is not closed
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Mon, 8 Feb 2021 15:44:54 +0100 you wrote:
> If the socket is closed or is being released, some resources used by
> virtio_transport_space_update() such as 'vsk->trans' may be released.
>
> To avoid a use after free bug we should only update the available credit
> when we are sure the socket is still open and we have the lock held.
>
> Fixes: 06a8fc78367d ("VSOCK: Introduce virtio_vsock_common.ko")
> Signed-off-by: Stefano Garzarella <sgarzare@...hat.com>
>
> [...]
Here is the summary with links:
- [net] vsock/virtio: update credit only if socket is not closed
https://git.kernel.org/netdev/net/c/ce7536bc7398
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