diff options
author | Paul Moore <paul@paul-moore.com> | 2020-04-28 09:59:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-06 08:15:17 +0200 |
commit | eeef0d9fd40df3c033dca68bca8249e5951660ac (patch) | |
tree | ef3a6a0d55a4a3f9bcda95ad72c9e204bc77f1b7 /drivers | |
parent | 1de07eb54ab75bd475e73f80339f40dfbc67e3bc (diff) |
selinux: properly handle multiple messages in selinux_netlink_send()
commit fb73974172ffaaf57a7c42f35424d9aece1a5af6 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions