Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Mon, 23 Nov 2026 12:10
Re: [PATCH net] vsock: only deliver taps to namespaces that can reach the device
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads