From: Paul Moore <paul@paul-moore.com>
To: selinux@vger.kernel.org
Subject: Re: [PATCH] selinux: properly handle multiple messages in selinux_netlink_send()
Date: Thu, 30 Apr 2020 17:25:18 -0400 [thread overview]
Message-ID: <CAHC9VhSLLiPkbR7DgGR7uRdEPGOUk_nfyZejR0zy1i+PKiWDVQ@mail.gmail.com> (raw)
In-Reply-To: <158827786575.204093.6741581954492272816.stgit@chester>
On Thu, Apr 30, 2020 at 4:17 PM Paul Moore <paul@paul-moore.com> wrote:
>
> Fix the SELinux netlink_send hook to properly handle multiple netlink
> messages in a single sk_buff; each message is parsed and subject to
> SELinux access control. Prior to this patch, SELinux only inspected
> the first message in the sk_buff.
>
> Cc: stable@vger.kernel.org
> Reported-by: Dmitry Vyukov <dvyukov@google.com>
> Reviewed-by: Stephen Smalley <stephen.smalley.work@gmail.com>
> Signed-off-by: Paul Moore <paul@paul-moore.com>
> ---
> security/selinux/hooks.c | 70 ++++++++++++++++++++++++++++++----------------
> 1 file changed, 45 insertions(+), 25 deletions(-)
This has been merged into selinux/stable-5.7.
--
paul moore
www.paul-moore.com
prev parent reply other threads:[~2020-04-30 21:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 20:17 [PATCH] selinux: properly handle multiple messages in selinux_netlink_send() Paul Moore
2020-04-30 21:25 ` Paul Moore [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=CAHC9VhSLLiPkbR7DgGR7uRdEPGOUk_nfyZejR0zy1i+PKiWDVQ@mail.gmail.com \
--to=paul@paul-moore.com \
--cc=selinux@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).