Article View: linux.kernel.netdev
Article #20932Re: [PATCH net] vsock: only deliver taps to namespaces that can reach the device
From: patchwork-bot+netdevbpf
Date: Mon, 23 Nov 2026 12:10
Date: Mon, 23 Nov 2026 12:10
27 lines
8944 bytes
8944 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 16 Nov 2026 15:46:49 -0800 you wrote:
> vsock_deliver_tap() clones every packet to every vsockmon device on the
> system. Creating one needs only CAP_NET_ADMIN in the owning user
> namespace, so an unprivileged user can capture the traffic of local mode
> namespaces.
>
> Pass the packet's netns to vsock_deliver_tap() and only deliver to
> devices that pass vsock_net_check_mode(), the same rule socket lookups
> use. vhost passes the vhost_vsock netns, loopback the sending socket's
> netns, and virtio-vsock NULL (global mode).
>
> [...]
Here is the summary with links:
- [net] vsock: only deliver taps to namespaces that can reach the device
https://git.kernel.org/netdev/net-next/c/2388bb763e32
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179543580428.2348707.16200731284263459418.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369302-linux-kernel-netdev=dewy.ruReferences:
<20261116-vsock-tap-net-v1-1-7e24f45adad3@meta.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369302-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] vsock: only deliver taps to namespaces that can reach the device Date: Mon, 23 Nov 2026 12:10:04 +0000 Organization: Usenet Network Message-ID: <179543580428.2348707.16200731284263459418.git-patchwork-notify@kernel.org> References: <20261116-vsock-tap-net-v1-1-7e24f45adad3@meta.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3870540"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:d5B7AgnpoHtehWFa7qGGMVCAhlg= sha256:isKkxc3PyPMxRh5wC/Bpzj+WyFB+0eNd1X+phWn5QpU= sha1:Of7cgnTMjmuzTAw3dIfOUUjlxZQ= sha256:/tmIJKtii0JRluYXb96q8/sjPTgkkWIZCpAjIN+zpnI= 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 01A04125DAA; Mon, 23 Nov 2026 15:10:35 +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 Ie_n3BUZ_Y08; Mon, 23 Nov 2026 15:10:31 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-369302-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 A61CB125DA8; Mon, 23 Nov 2026 15:10:21 +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 3AE462ABF9; Mon, 23 Nov 2026 12:10:19 +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=1795435817; b=ZhY5iw45hyJ7cKdYFo8EadwGIcu+GrYiFZKlsGFLSgKSYWM093mK57vjiAMXLwDuqoFP SxPLxgdum+polDxpKrjnHv+cVtyU8Tw+AuzuAeWZQsmFgDJ/HjAup8YeXfGmqs2KbSHpX 4vW2amePdnha/fYFMwmr6P/aQs0vBIJLEQxuL2jr0bf6SBGR8LjFyPApKVpe+8eTkiiL2 OgbYvC+FEoZ5kpfrAbIdJ7LiJc93E4ZZgZU4MbUUQW1oRcb83Ehm7K9CqwDsQv7ZiMIr8 Z+E2AVsgFVQ8ILv9pRGQdKZsPU7VqKDtx49nmPuq56ER9q7sTbWcyVgtufrYN2QU3Xg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795435817; 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=4VuFSntfCljx51xVr7ZgTt4+piYTB/31ijcvK7Rfmk4=; b=GW1T64GM/mXoxtL9SYzumKtSU7cFNKF7iEzRcpMPGbHzgrG3+DO075nPdFNeXHK2CE6z YohuAfQLyzZ0ypoGzb+vd3lQ7YxXAtjhe0FdMF0UMSSegKRJ1NQeVGLRr7/kQ1yDH4E1F /KCn9B90s8JeVa/fqoWMhoAeE3xKe19cVsW5HgxbUli4bQ2Kq7UAAbUuuU4qFJWIKMKqI M8i805QNlL3eRQEfb7PTFg6nv1BSWi8SM4JYBB66hwX5Ft5NQbLp39w3cmP4xbJRyp6JG JtfCIDjTrZjcWxovCK3KIbQR+QRxsi2FDsIr8bbFyBMPOhg4CWMjjZKR2lbt+q/O44w== 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=VLkdNyIL; 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 DF19B606A327; Mon, 23 Nov 2026 12:10:16 +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=VLkdNyIL 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=1795435806; b=gLCip39tkvDO/+6GSIrUxz3zkzshPv6ioGttzXwPWies9bYe3BGmEgQ2vST6tSyfy56C 8zMo3jtLsIiw0iBrBB321umwQrI6VteXYy5+VASHkqOHwm/n9v98HcaFXUb7AOXYdO5rn PsWQougUF55I9XegLEHR1bZX/PE3UwsJUhAFJROK1n/6yjRWbJihaTMawWluXjXTqdgax vsFaDhBaANbmqwt6O956qBcPknS37qot4RB8DEy7Ebi0Q/l7mbyTuXPH65IBPILPyaHWK PAlSV2XlMFukBuoiHQI7y2I9dTDbcpCWciYDWkXZsrF9JQuqIVaVKoXQ2nSA1UAwDpQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795435806; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=4VuFSntfCljx51xVr7ZgTt4+piYTB/31ijcvK7Rfmk4=; b=JHmwauPas6Bi28nZVvXQTJ6RJuVWwwpMchya3g/B+VK1cnmYiDDqUPeogGbqXqI+NKRB rS6rWyX/V4uPJ51O2dxg5BbvGmQfCb0dvzPVYh/jeh/ecj7Soae4KvQ6WfOnLYQE9H9uX JBB7X4z/MzOpuGWsVRUyMFpo65Ej80FNlpcHads0BBtEuxVMqK8LAVmvm7WwIIRtkIEfr G3dwZS9Jkp639p6BRcW8kWea75sKYTNFpjrtTq51VPpmvMs9Gx4OhUqbiMolCljo1wuag EsI7iqP30D5NyS6OIeLKjQ7UyfvGaX4lSQisSbRqa8vfu/W+NFwER6/Rq06GAwq6Sig== 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=VLkdNyIL; 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 0634F606A31A; Mon, 23 Nov 2026 12:10:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81DE91F000CA; Mon, 23 Nov 2026 12:10:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795435805; bh=4VuFSntfCljx51xVr7ZgTt4+piYTB/31ijcvK7Rfmk4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=VLkdNyIL0Ywxj+kTsBAUxrA/lkMe3ezbWSOkn26RnyYgMCVwFQBpeOyzjJBQ1pEq6 88HYhhZmYQp5d23WpcUpCrXxXbkwPXgVQsUJUR0jVE/vRtLxPNzgKliENy6dunzrbJ 3EPKQz7bc+iPXKxl9zwZwemIptdLivSK5FmAaaPX+bQJerpfcafoC2w6vaNYP3rmf4 l2qSaOMJsR86qaGwIWQex0+Lir73rohTmfd1l44bsGCiV+fY+eXUcd0F8AMJJDaTlw d6rYvxpgY21UAO8oKlUl2CPT1d0JfzOkOVNnNRFgTkRbXGGAZtQXD/p9sWeV6O/lJv gTrIp92CIwU0w== 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 7744B392ED9E; Mon, 23 Nov 2026 12:10:05 +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: <20261116-vsock-tap-net-v1-1-7e24f45adad3@meta.com> X-Cc: stefanha@redhat.com, sgarzare@redhat.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, kvm@vger.kernel.org, virtualization@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org