Re: [PATCH net] vsock: only deliver taps to namespaces that can reach the device

From: patchwork-bot+netdevbpf

Date: Mon Nov 23 2026 - 07:10:17 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

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