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-05 19:13:25 +0200 |
| commit | 92b5848736395f4ea56738895acdd09cdc2a93da (patch) | |
| tree | 45eb014dffa2c18becd7e9b3fdeac0901a363958 /scripts/dtc/libfdt/fdt.c | |
| parent | 9e68a660e95d34cdb30be9e3312b136b1305ed21 (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 'scripts/dtc/libfdt/fdt.c')
0 files changed, 0 insertions, 0 deletions
