Article View: linux.kernel.netdev
Article #15325Re: [PATCH net v4] vsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 17:20
Date: Thu, 12 Nov 2026 17:20
24 lines
8873 bytes
8873 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 09 Nov 2026 20:39:24 +0100 you wrote:
> From: Jerome Mohm <jrmmhm.kernel@eldare.de>
>
> 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
Technical Details
Message-ID:
<179450400478.546493.17448438717163223055.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362057-linux-kernel-netdev=dewy.ruReferences:
<20261109-vsock-restore-uaf-send-v4-1-1df8dfb5d5de@eldare.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362057-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v4] vsock/virtio: clear vqs[] to avoid a UAF on a failed PM restore Date: Thu, 12 Nov 2026 17:20:04 +0000 Organization: Usenet Network Message-ID: <179450400478.546493.17448438717163223055.git-patchwork-notify@kernel.org> References: <20261109-vsock-restore-uaf-send-v4-1-1df8dfb5d5de@eldare.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1136172"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:N9KBGpHUljUytGJDKjqPhybJvMk= sha256:4jp18mU2fg43pF3kQoRorzPkeIXP/QuKsYALhCmiZnI= sha1:+qF3ekTSfk3XFhbeUcbhDzeveVM= sha256:rmypFttAV96tNTX/22JC2moj/KrxwtgdLr0YzV02t9w= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id CB7B711431F; Thu, 12 Nov 2026 20:30:50 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q7-KO7ZmFHHj; Thu, 12 Nov 2026 20:30:45 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-362057-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 93FDC114316; Thu, 12 Nov 2026 20:30:37 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id C4F3DC3114; Thu, 12 Nov 2026 17:20:55 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794504017; b=s34xQsbuAN179QhofDrWx+E2JEYcaVXl4GrW5if5Lcb8n21iZ5cwYOZCYDAkCujv58t5 uZwdpzYung+4ukZrg9sFURvP/er5oIhUFLODcu48xeupGMY5bAtfuCbf8o5h0rhTOr+qA CmrQO5ATNbfuAWYHiL8G4Kv0sRPn1ijl6TNdoi/Iwnwxh9MaxSt+TkdkG+8T5a+dVvyOc RgLfQgre9zeF57MqpUZyBKBDUMHqoeMd7xS+sbilY2LBuO08xchWqn5os7CDCWbfwZ5TB gAV/KykypU4vWeN67AeGMHSStunHkGPAc/h3ZTKeXksCUTsyx38NXPOKmgFSsbX/Smg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794504017; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=qS6fzWJciTtP2BqMr1B9alSuP1TE43oLife9LsW44uA=; b=r2NFmkj71dFbv1jVGn5nUZAuRAYyUPeJ7fETC0a4NEMgmqNQg3UE6EmT6DFGmYFi12zY Fnlu9H3jyC/rYGX9Wx08V3gvLWcbvXT1GvYKxXzu/4d1l+YUWHPmr+0ZNJK2Al2Ar90Lf pAJNe3q2NEu74fcbqcYYGyZosnJRzt1OuIqpvazVBt9Oi9Xpgm2u6i0GuWL230DSQcTYM 6h8rQ4HRvz5hMNdgitQtD21m4xNxjuaqm0+QOCK9HW6S0gDiLKh5uUZUvkguHOCbd8l76 ZcqFIodEgwTVAKgIBCWG5u/yYy9s3cABHQOwVeGegNMZdINbqvzFYiJbn9kMjlJfM6w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dsNsZ81S; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB44560A2617; Thu, 12 Nov 2026 17:20:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dsNsZ81S X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794504006; b=x1PqGVuBreS53SWwNxSuqk46SA7FYVrFv6vvj/RKA5u19JzrHvKQ5XkSmSdq1/xu9CJX Qk6IPUy7s5Lp9Jw0IAtIAmnA3F6FUabu+hMQtjhfcVRvea0yQfXuOLEESbwLg1Edbf8Xz 5CjNqqyQWicot8NKsrgOQltVvW3ZZKQDSzlkjUGhqP5d11BbbTzGziSNOdradm1XaDWIR 34djVD9687mQxwyaGE7eiJC53HkjfBNus8aPHFacLY1ec4M6wTnOXcF5k57q/dw1pV5aP qSlKCwr0zVXSbARWpi7oLRVqgMOsND4D0Xq7aCfHxeYjQUpIRclq2lOSGK5hLQpT+3w== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794504006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=qS6fzWJciTtP2BqMr1B9alSuP1TE43oLife9LsW44uA=; b=A1yoac780j9qbD9sqTQdzmiTaDdQDjeCg8YUxXpHY8BfashHvx/YfLQvBDpPa5olybgf YGBGWNb0kRpspVEY5P+LFsqO60zA4oYUy0/Sd2C2E1hoQx+acCDONGXD/IWXxbWOTxgUr FnNM2zrFJuWe9Tc75SAFS9DM34YlUxmemvy4LAM2ADF79XDJujK9B768SRy1TpZz/hIaC dMQ2oshzRF/Z/kyVKx/GzCxvegF86rs3m6/VT5Ka7Bh7687oeY3FJNPDDiGxfEj/l2Zgl 2OZSjvacbhR7eK9mkGjUqft6UVa+9/0/1zFJklSLTlk2a58n0a28hM2G/UVRTtvYsyA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=dsNsZ81S; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8A81606A323; Thu, 12 Nov 2026 17:20:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 441C31F000C4; Thu, 12 Nov 2026 17:20:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794504006; bh=qS6fzWJciTtP2BqMr1B9alSuP1TE43oLife9LsW44uA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=dsNsZ81SJ0u6/XjilXatuL6uaKKgcXkSMqlwN9jN7R4yXMFlQRv0pUvVT72i7eZfv Z8/S6eJ4iRaamWs+isH5IytJqZcJzDD0s+cI4LmTBx0Fe+XZJmxGF8kxOhL8zWwT2q QMfHPqEYhG2dBWoe5E9OvbUqUIUhGrvYEAHnmZ7I3+zC6BSS1w9RWn3A99AZ+up+BB TlfG+/QBQxw71Q32IEroVUBlumEABafSZZUHKg2q67+L2bm+NndUEYf/bW6KE2cgm4 TnS+Vq5EbvzNDNwr33qQ3bSL4McVpF50jaesCgfL9KvGua3DrXTRlO6UlW0Azi4fH0 uCvbEtwcGegWw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A395380AA78; Thu, 12 Nov 2026 17:20:06 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261109-vsock-restore-uaf-send-v4-1-1df8dfb5d5de@eldare.de> X-Cc: stefanha@redhat.com, sgarzare@redhat.com, bobbyeshleman@meta.com, mst@redhat.com, jasowangio@gmail.com, eperezma@redhat.com, xuanzhuo@linux.alibaba.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, virtualization@lists.linux.dev, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org