https://github.com/torvalds/linux
Revision 6e3ee990c90494561921c756481d0e2125d8b895 authored by Gaosheng Cui on 16 October 2021, 07:23:50 UTC, committed by Paul Moore on 18 October 2021, 22:27:47 UTC
Fix  possible null-pointer dereference in audit_filter_rules.

audit_filter_rules() error: we previously assumed 'ctx' could be null

Cc: stable@vger.kernel.org
Fixes: bf361231c295 ("audit: add saddr_fam filter field")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent 67d69e9
History
Tip revision: 6e3ee990c90494561921c756481d0e2125d8b895 authored by Gaosheng Cui on 16 October 2021, 07:23:50 UTC
audit: fix possible null-pointer dereference in audit_filter_rules
Tip revision: 6e3ee99
File Mode Size
.gitignore -rw-r--r-- 85 bytes
Kconfig -rw-r--r-- 4.1 KB
Makefile -rw-r--r-- 4.8 KB
blacklist.c -rw-r--r-- 5.7 KB
blacklist.h -rw-r--r-- 135 bytes
blacklist_hashes.c -rw-r--r-- 166 bytes
blacklist_nohashes.c -rw-r--r-- 122 bytes
common.c -rw-r--r-- 1.2 KB
common.h -rw-r--r-- 216 bytes
revocation_certificates.S -rw-r--r-- 495 bytes
system_certificates.S -rw-r--r-- 1.1 KB
system_keyring.c -rw-r--r-- 8.5 KB

back to top