Re: [PATCH net v6] genetlink: Reject joining multicast groups no family owns

From: Anil Kaushik

Date: Mon Nov 16 2026 - 12:21:04 EST


On Mon, Nov 16, 2026 at 09:43:58AM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> - [Medium] The fix still lets a socket become a member of a multicast
> group ID that no family owns.

This race is not new. It was there before this patch, also for groups
with GENL_MCAST_CAP_*. This patch does not fix it, and the commit
message says so. It needs a privileged module unload at the same time
as the join.

I can send a separate fix for net-next if needed.

> - [Low] The patch changes how the reserved, uAPI-exported static
> multicast group IDs behave, and nothing a uAPI consumer would read...

Agreed. v7 updates the comments on the static IDs and on
NET_DM_GRP_ALERT to say they can be joined only after the family is
registered:
https://lore.kernel.org/netdev/20261116124030.1595567-1-anilkaushikwireless@xxxxxxxxx/

Thanks,
Anil