Thread (31 messages) 31 messages, 5 authors, 2023-09-07

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

From: Zheng Yejian <hidden>
Date: 2023-09-06 01:42:51
Also in: linux-kselftest, lkml

On 2023/9/6 06:36, Steven Rostedt wrote:
On Tue, 5 Sep 2023 20:54:40 +0800
Zheng Yejian [off-list ref] wrote:
quoted
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")

Link:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=27152bceea1df27ffebb12ac9cd9adbf2c4c3f35
Hi Zheng,

Can you test:

    https://lore.kernel.org/all/20230905183332.628d7cc0@gandalf.local.home/ (local)

and see if it fixes the KASAN issue for you?
Hi, Steve, your new patch seems not fixes the KASAN issue.

I run the instance-event.tc with your patch again and get same KASAN 
report.

My config is in:
 
https://lore.kernel.org/all/da5495b5-cdb5-cb82-dd9b-37e7a87ed97d@huawei.com/ (local)
Thanks!

-- Steve
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help