Re: [PATCH net v10 0/2] genetlink: Reject joining multicast groups no family owns

From: patchwork-bot+netdevbpf

Date: Tue Dec 01 2026 - 23:20:19 EST


Hello:

This series was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@xxxxxxxxxx>:

On Fri, 27 Nov 2026 03:22:44 +0000 you wrote:
> genl_bind() lets any user join a multicast group ID that no family owns.
> A family registered later can get that ID, and the socket stays a member
> without a capability check. Patch 1 makes genl_bind() return -ENOENT for
> such an ID. Patch 2 adds a selftest for it.
>
> v10:
> - In the selftest, unload drop_monitor only after the test loaded it,
> and ignore a missing modprobe, so that a skip cannot become a
> failure (Sashiko).
> - Say in the skip message and the commit message that kernels before
> v6.17 skip the checks, as they have no fixed nsfs inode (Sashiko).
> - Decode only the membership bytes the kernel copied (Sashiko).
> - Patch 1 is unchanged.
>
> [...]

Here is the summary with links:
- [net,v10,1/2] genetlink: Reject joining multicast groups no family owns
https://git.kernel.org/netdev/net/c/6671b690dd5e
- [net,v10,2/2] selftests: net: test joining genetlink groups no family owns
https://git.kernel.org/netdev/net/c/aa98cde56c48

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html