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
Kconfig -rw-r--r-- 75.1 KB
Makefile -rw-r--r-- 1.1 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.8 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.2 KB
initramfs.c -rw-r--r-- 16.3 KB
main.c -rw-r--r-- 38.9 KB
noinitramfs.c -rw-r--r-- 813 bytes
version.c -rw-r--r-- 1.1 KB

back to top