Re: [PATCH] selftests/ftrace: Correctly enable event in instance-event.tc

From: Steven Rostedt
Date: Tue Sep 05 2023 - 16:32:44 EST


On Tue, 5 Sep 2023 14:45:52 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Tue, 5 Sep 2023 20:54:40 +0800
> Zheng Yejian <zhengyejian1@xxxxxxxxxx> wrote:
>
> > Hi, Steve, Ajay,
> >
> > After this patch and run this testcase, I got an use-after-free report
> > by KASAN. Short log see [1], full logs see attach "panic.log".
> >
> > And by simple bisect, I found it may be introduced by:
> >
> > 27152bceea1d ("eventfs: Move tracing/events to eventfs")
>
> Can you send me your config?
>

Never mind, I triggered it. I believe I see the bug.

-- Steve