Re: [PATCH] Fix BUG: KASAN: use-after-free in trace_event_raw_event_filelock_lock

From: Jeff Layton
Date: Fri Jul 21 2023 - 08:11:16 EST


On Fri, 2023-07-21 at 06:34 -0400, Jeff Layton wrote:
>
> Could you send along the entire KASAN log message? I'm not sure I see
> how this is being tripped. The lock we're passing in here is "request"
> and that shouldn't be freed since it's allocated and owned by the
> caller.
>

Nevermind. I see how this could happen, and have gone ahead and merged
the patch. It should make v6.6.

Cheers,
--
Jeff Layton <jlayton@xxxxxxxxxx>