Stephen Smalley
aedbb45f8f
selinux: fix GPF on invalid policy
...
commit 5b0e7310a2a33c06edc7eb81ffc521af9b2c5610 upstream.
levdatum->level can be NULL if we encounter an error while loading
the policy during sens_read prior to initializing it. Make sure
sens_destroy handles that case correctly.
Reported-by: syzbot+6664500f0f18f07a5c0e@syzkaller.appspotmail.com
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-23 08:10:56 +01:00
..
apparmor
apparmor: Make path_max parameter readonly
2018-03-22 09:17:48 +01:00
integrity
ima: re-initialize iint->atomic_flags
2018-12-01 09:44:26 +01:00
keys
security/keys: BIG_KEY requires CONFIG_CRYPTO
2018-02-25 11:05:53 +01:00
loadpin
LSM: LoadPin: provide enablement CONFIG
2016-05-17 20:10:30 +10:00
selinux
selinux: fix GPF on invalid policy
2019-01-23 08:10:56 +01:00
smack
Smack: Fix handling of IPv4 traffic received by PF_INET6 sockets
2018-09-26 08:36:33 +02:00
tomoyo
mm: replace get_user_pages_remote() write/force parameters with gup_flags
2016-10-19 08:12:02 -07:00
yama
Yama: Check for pid death before checking ancestry
2019-01-23 08:10:54 +01:00
commoncap.c
xattr: Add __vfs_{get,set,remove}xattr helpers
2016-10-07 20:10:44 -04:00
device_cgroup.c
security/device_cgroup: Fix RCU_LOCKDEP_WARN() condition
2015-09-03 18:13:10 -07:00
inode.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2016-10-10 20:16:43 -07:00
Kconfig
KPTI: Rename to PAGE_TABLE_ISOLATION
2018-01-05 15:46:35 +01:00
lsm_audit.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2016-10-04 14:48:27 -07:00
Makefile
LSM: LoadPin for kernel file loading restrictions
2016-04-21 10:47:27 +10:00
min_addr.c
security.c
LSM: Check for NULL cred-security on free
2019-01-23 08:10:55 +01:00