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

From: Paul Moore
Date: Tue Nov 23 2021 - 16:52:48 EST


Hi Linus,

A small SELinux fix for v5.16. As usual the commit description has
more detail, but it's basically a fix to make sure things are handled
correctly when an allocation fails; please merge.

Thanks,
-Paul

--
The following changes since commit 32a370abf12f82c8383e430c21365f5355d8b288:

net,lsm,selinux: revert the security_sctp_assoc_established() hook
(2021-11-12 12:07:02 -0500)

are available in the Git repository at:

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

for you to fetch changes up to dc27f3c5d10c58069672215787a96b4fae01818b:

selinux: fix NULL-pointer dereference when hashtab allocation fails
(2021-11-19 16:11:39 -0500)

----------------------------------------------------------------
selinux/stable-5.16 PR 20211123

----------------------------------------------------------------
Ondrej Mosnacek (1):
selinux: fix NULL-pointer dereference when hashtab allocation fails

security/selinux/ss/hashtab.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

--
paul moore
www.paul-moore.com