[PATCH -next, v3 1/2] audit: fix possible null-pointer dereference in audit_filter_rules
Paul Moore
paul at paul-moore.com
Mon Oct 18 22:28:55 UTC 2021
On Sat, Oct 16, 2021 at 3:21 AM Gaosheng Cui <cuigaosheng1 at huawei.com> wrote:
>
> Fix possible null-pointer dereference in audit_filter_rules.
>
> audit_filter_rules() error: we previously assumed 'ctx' could be null
>
> Fixes: bf361231c295 ("audit: add saddr_fam filter field")
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
> ---
> kernel/auditsc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you for the patch; I added a stable tag and merged it into
audit/stable-5.15, I'll send it up to Linus later this week once it
has gone through some additional testing.
--
paul moore
www.paul-moore.com
More information about the Linux-audit
mailing list