From: Anil Kaushik <anilkaushikwireless@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org, idosch@nvidia.com,
nicolas.dichtel@6wind.com, jacob.e.keller@intel.com,
jiri@resnulli.us, fw@strlen.de, martineau@kernel.org,
v3rdant.xiang@gmail.com, aliceryhl@google.com,
linux-kernel@vger.kernel.org, nhorman@tuxdriver.com,
shuah@kernel.org, linux-kselftest@vger.kernel.org,
anilkaushikwireless@gmail.com
Subject: Re: [PATCH net v8 1/2] genetlink: Reject joining multicast groups no family owns
Date: Wed, 25 Nov 2026 03:21:23 +0000 [thread overview]
Message-ID: <20261125032123.2664525-1-anilkaushikwireless@gmail.com> (raw)
In-Reply-To: <179553579407.3135.13476478403966318528@kernel.org>
On Tue, Nov 24, 2026 at 03:56:34PM +0000, netdev-bot+sashiko@kernel.org wrote:
> Can that window still leave a socket as a member of a group ID that no
> family owns? That is the state this patch is meant to prevent.
Yes, and the commit message says so. This window is not new: it is the
same for groups with GENL_MCAST_CAP_* today. Closing it was patch 2 of
v5, which was not accepted:
https://lore.kernel.org/netdev/20261110121831.01412fb9@kernel.org/
So this patch only covers joining an ID before its family is
registered, which an unprivileged user can do at any time. The window
needs a family unregister during the join.
The selftest issue on patch 2 is right, I will send a v9 for it.
pw-bot: cr
Thanks,
Anil
next prev parent reply other threads:[~2026-11-25 3:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 15:55 [PATCH net v8 0/2] genetlink: Reject joining multicast groups no family owns Anil Kaushik
2026-11-23 15:55 ` [PATCH net v8 1/2] " Anil Kaushik
2026-11-24 15:56 ` netdev-bot+sashiko
2026-11-25 3:21 ` Anil Kaushik [this message]
2026-11-23 15:55 ` [PATCH net v8 2/2] selftests: net: test joining genetlink " Anil Kaushik
2026-11-24 15:56 ` netdev-bot+sashiko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125032123.2664525-1-anilkaushikwireless@gmail.com \
--to=anilkaushikwireless@gmail.com \
--cc=aliceryhl@google.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=idosch@nvidia.com \
--cc=jacob.e.keller@intel.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=martineau@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=nicolas.dichtel@6wind.com \
--cc=pabeni@redhat.com \
--cc=shuah@kernel.org \
--cc=v3rdant.xiang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox