Files
twx-linux/kernel
Gaosheng Cui 16802fa4c3 audit: fix possible null-pointer dereference in audit_filter_rules
commit 6e3ee990c9 upstream.

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: bf361231c2 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-27 09:56:52 +02:00
..
2021-04-14 08:41:58 +02:00
2021-07-19 09:44:59 +02:00
2020-11-14 11:26:04 -08:00