On Sep  4, 2025 Eric Dumazet <[email protected]> wrote:
> 
> syzbot found a bug in audit_buffer_alloc() if nlmsg_new() returns NULL.
> 
> We need to initialize ab->skb_list before calling audit_buffer_free()
> which will use both the skb_list spinlock and list pointers.
> 
> Fixes: eb59d494eebd ("audit: add record for multiple task security contexts")
> Reported-by: [email protected]
> Closes: 
> https://lore.kernel.org/lkml/[email protected]/T/#u
> Signed-off-by: Eric Dumazet <[email protected]>
> Cc: Casey Schaufler <[email protected]>
> Cc: Paul Moore <[email protected]>
> Cc: Eric Paris <[email protected]>
> Cc: [email protected]
> ---
>  kernel/audit.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Thanks Eric, merged into audit/dev.

--
paul-moore.com

Reply via email to