From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5423EE49AD for ; Tue, 5 Sep 2023 22:36:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232358AbjIEWg2 (ORCPT ); Tue, 5 Sep 2023 18:36:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242263AbjIEWg0 (ORCPT ); Tue, 5 Sep 2023 18:36:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA715CE2; Tue, 5 Sep 2023 15:36:20 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DF6EC433C8; Tue, 5 Sep 2023 22:36:19 +0000 (UTC) Date: Tue, 5 Sep 2023 18:36:38 -0400 From: Steven Rostedt To: Zheng Yejian Cc: "Masami Hiramatsu (Google)" , Ajay Kaher , , , , , Shuah Khan , Ye Weihua Subject: Re: [PATCH] selftests/ftrace: Correctly enable event in instance-event.tc Message-ID: <20230905183638.2b539fae@gandalf.local.home> In-Reply-To: <1cb3aee2-19af-c472-e265-05176fe9bd84@huawei.com> References: <20230626001144.2635956-1-zhengyejian1@huawei.com> <20230626191114.8c5a66fbaa28af3c303923bd@kernel.org> <20230626191255.53baab4ed48d7111dcd44cad@kernel.org> <20230710183741.78f04c68@gandalf.local.home> <1cb3aee2-19af-c472-e265-05176fe9bd84@huawei.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-trace-kernel@vger.kernel.org On Tue, 5 Sep 2023 20:54:40 +0800 Zheng Yejian 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? Thanks! -- Steve