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
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 6.1 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 43.4 KB
msg.c -rw-r--r-- 31.6 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 5.1 KB
sem.c -rw-r--r-- 62.9 KB
shm.c -rw-r--r-- 43.0 KB
syscall.c -rw-r--r-- 5.1 KB
util.c -rw-r--r-- 23.7 KB
util.h -rw-r--r-- 8.9 KB

back to top