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

Jeff Layton jlayton at kernel.org
Fri Jul 21 05:11:10 PDT 2023


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 at kernel.org>



More information about the Linux-mediatek mailing list