[GIT PULL] SELinux fixes for v5.2 (#2)

From: Paul Moore
Date: Wed Jun 12 2019 - 17:03:59 EST


Hi Linus,

Three patches for v5.2; one fixes a problem where we weren't correctly
logging raw SELinux labels, the other two fix problems where we
weren't properly checking calls to kmemdup(). Please merge for the
next v5.2-rc release.

Thanks,
-Paul
--
The following changes since commit 05174c95b83f8aca0c47b87115abb7a6387aafa5:

selinux: do not report error on connect(AF_UNSPEC) (2019-05-20 21:46:02 -0400)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git
tags/selinux-pr-20190612

for you to fetch changes up to fec6375320c6399c708fa9801f8cfbf950fee623:

selinux: fix a missing-check bug in selinux_sb_eat_lsm_opts()
(2019-06-12 12:27:26 -0400)

----------------------------------------------------------------
selinux/stable-5.2 PR 20190612

----------------------------------------------------------------
Gen Zhang (2):
selinux: fix a missing-check bug in selinux_add_mnt_opt( )
selinux: fix a missing-check bug in selinux_sb_eat_lsm_opts()

Ondrej Mosnacek (1):
selinux: log raw contexts as untrusted strings

security/selinux/avc.c | 10 ++++++++--
security/selinux/hooks.c | 39 ++++++++++++++++++++++++++++-----------
2 files changed, 36 insertions(+), 13 deletions(-)

--
paul moore
www.paul-moore.com