On Jul 28, 2026 Ricardo Robaina <[email protected]> wrote:
> 
> The BUG_ON(!mutex_is_locked(&audit_filter_mutex)) check in
> audit_add_to_parent() will panic the kernel if the mutex is not held,
> which is too severe for this situation.
> 
> Replace it with lockdep_assert_held(), instead.
> 
> Signed-off-by: Ricardo Robaina <[email protected]>
> ---
>  kernel/audit_watch.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged into audit/dev, thanks.

--
paul-moore.com

Reply via email to