Re: [PATCH net v4] vsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore

From: patchwork-bot+netdevbpf

Date: Thu Nov 12 2026 - 12:29:42 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 09 Nov 2026 20:39:24 +0100 you wrote:
> From: Jerome Mohm <jrmmhm.kernel@xxxxxxxxx>
>
> virtio_vsock_vqs_del() frees the virtqueues but leaves vsock->vqs[]
> pointing at them. If virtio_vsock_restore() then fails, the driver
> stays bound with a dangling vqs[], and the next freeze or unbind
> passes a freed virtqueue to virtqueue_detach_unused_buf():
>
> [...]

Here is the summary with links:
- [net,v4] vsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore
https://git.kernel.org/netdev/net/c/2a24ba1694f1

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