From: Greg KH <gregkh@linuxfoundation.org>
To: Ido Schimmel <idosch@nvidia.com>
Cc: stable@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
pabeni@redhat.com, edumazet@google.com, nhorman@tuxdriver.com,
yotam.gi@gmail.com, sashal@kernel.org, fw@strlen.de,
jacob.e.keller@intel.com, jiri@nvidia.com
Subject: Re: [PATCH 4.14 0/4] Generic netlink multicast fixes
Date: Mon, 11 Dec 2023 14:32:39 +0100 [thread overview]
Message-ID: <2023121132-retrial-dazzling-dab5@gregkh> (raw)
In-Reply-To: <20231211124301.822961-1-idosch@nvidia.com>
On Mon, Dec 11, 2023 at 02:42:57PM +0200, Ido Schimmel wrote:
> Restrict two generic netlink multicast groups - in the "psample" and
> "NET_DM" families - to be root-only with the appropriate capabilities.
>
> Patch #1 is a dependency of patch #2 which is needed by the actual fixes
> in patches #3 and #4.
>
> Florian Westphal (1):
> netlink: don't call ->netlink_bind with table lock held
>
> Ido Schimmel (3):
> genetlink: add CAP_NET_ADMIN test for multicast bind
> psample: Require 'CAP_NET_ADMIN' when joining "packets" group
> drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
>
> include/net/genetlink.h | 3 +++
> net/core/drop_monitor.c | 4 +++-
> net/netlink/af_netlink.c | 4 ++--
> net/netlink/genetlink.c | 35 +++++++++++++++++++++++++++++++++++
> net/psample/psample.c | 3 ++-
> 5 files changed, 45 insertions(+), 4 deletions(-)
>
> --
> 2.40.1
>
>
All backports now queued up, thanks!
greg k-h
prev parent reply other threads:[~2023-12-11 13:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 12:42 [PATCH 4.14 0/4] Generic netlink multicast fixes Ido Schimmel
2023-12-11 12:42 ` [PATCH 4.14 1/4] netlink: don't call ->netlink_bind with table lock held Ido Schimmel
2023-12-11 12:42 ` [PATCH 4.14 2/4] genetlink: add CAP_NET_ADMIN test for multicast bind Ido Schimmel
2023-12-11 12:43 ` [PATCH 4.14 3/4] psample: Require 'CAP_NET_ADMIN' when joining "packets" group Ido Schimmel
2023-12-11 12:43 ` [PATCH 4.14 4/4] drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group Ido Schimmel
2023-12-11 13:32 ` Greg KH [this message]
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=2023121132-retrial-dazzling-dab5@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=idosch@nvidia.com \
--cc=jacob.e.keller@intel.com \
--cc=jiri@nvidia.com \
--cc=kuba@kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=pabeni@redhat.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=yotam.gi@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