Re: [PATCH v2] vsock/vmci: reject datagram binds in local network namespaces
From: Sergio Lopez Pascual
Date: Tue Nov 24 2026 - 05:57:04 EST
Jakub Kicinski <kuba@xxxxxxxxxx> writes:
> On Tue, 17 Nov 2026 20:01:52 +0100 Sergio Lopez wrote:
>> VMCI already rejects datagram sends from local network namespaces, but a
>> datagram bind still creates a receive handle in VMCI's global port space.
>> A VMCI sender outside the namespace can therefore deliver to the local
>> socket. Its handle also prevents a global-namespace socket from binding
>> the same port.
>
> Looks like someone (silently) applied v1 :(
> 00f445721c7f ("vsock/vmci: reject datagram binds in local network namespaces")
> Could you send an incremental fix?
Is it worth it? The change between v1 and v2 is merely aesthetic.
Thanks,
Sergio.