diff options
author | Paul Moore <paul@paul-moore.com> | 2020-04-28 09:59:02 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-04-30 16:18:37 -0400 |
commit | fb73974172ffaaf57a7c42f35424d9aece1a5af6 (patch) | |
tree | 709665d3970193b6f393131418bbbdd0fa26e0f4 /mm/page_ext.c | |
parent | 292fed1fc89509bab2c0b291d5d395dea5b6ab2f (diff) | |
download | linux-fb73974172ffaaf57a7c42f35424d9aece1a5af6.tar.bz2 |
selinux: properly handle multiple messages in selinux_netlink_send()
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>
Diffstat (limited to 'mm/page_ext.c')
0 files changed, 0 insertions, 0 deletions