lkml.org 
[lkml]   [2023]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] selftests/ftrace: Correctly enable event in instance-event.tc
From
On 2023/9/6 06:36, Steven Rostedt wrote:
> On Tue, 5 Sep 2023 20:54:40 +0800
> Zheng Yejian <zhengyejian1@huawei.com> 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@gandalf.local.home/
>
> 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/

>
> Thanks!
>
> -- Steve
>

\
 
 \ /
  Last update: 2023-09-06 03:43    [W:0.105 / U:2.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site