[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhRrVoKn43F4KdWVp9_mJ8Kv9azvptiBkSTdBx+YcnW5ww@mail.gmail.com>
Date: Mon, 18 Oct 2021 18:28:55 -0400
From: Paul Moore <paul@...l-moore.com>
To: Gaosheng Cui <cuigaosheng1@...wei.com>
Cc: Eric Paris <eparis@...hat.com>, rgb@...hat.com,
linux-audit@...hat.com, linux-kernel@...r.kernel.org,
wangweiyang2@...wei.com
Subject: Re: [PATCH -next,v3 1/2] audit: fix possible null-pointer dereference
in audit_filter_rules
On Sat, Oct 16, 2021 at 3:21 AM Gaosheng Cui <cuigaosheng1@...wei.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@...el.com>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Gaosheng Cui <cuigaosheng1@...wei.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
Powered by blists - more mailing lists