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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023/9/6 06:36, Steven Rostedt 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")

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@xxxxxxxxxxxxxxxxxx/

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@xxxxxxxxxx/


Thanks!

-- Steve





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux