Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp2169630rdb; Tue, 5 Sep 2023 17:22:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqjJn2ADDL78vgj10jUQlZEDUkomC6/Dq65rMTI21wXwOWn3CRuXXIIg8Ej6fdsZS4QULR X-Received: by 2002:a17:902:ab1d:b0:1bd:ea18:925d with SMTP id ik29-20020a170902ab1d00b001bdea18925dmr15437897plb.6.1693959777244; Tue, 05 Sep 2023 17:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693959777; cv=none; d=google.com; s=arc-20160816; b=osyUdBLjctXAXv8gjF6h+DQ7UINoN8aZgDerKmhXEcNE6SxXr2Ki/KduKQNGgOMYpI ew/pyHH2e/NKgMg2jJFn3zSoKgRJKsA8DEZAu62encI/GwJGpH+lbxqBHqHGpqn2POHD iENjl2kzFPpNF+T5CfH737GU4RbvMBVpahBPo8AHyhYuIShvqh0gokZbFi3hoEL8NWkj 8LAp1v6gc2ddW/rgztB0Gr6fB/sFNL2rdOEhSdq6yDj7EXoI86b9oF7ujwH8AssqTbYl D93Buxh0/UOr6AOzf1+0XH7xdMScELC3NxqjBJzPZ7CBI4D5rSd00ojj8L1mYg+/qpnG 02eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=uLxKEKk6hS8W+oaWZXI8ksmuNyAP3DjUo7Qb8P1a6pY=; fh=DIth9sjnE5oXipuW4fJMu/ohdoxhWz1qyQRhohmW1aw=; b=jhqMsjHmv/hw7oTIabzpYw3q8kEHlpF54dIExOuR/WJxcZN7hM5bNgYPB/dud2OXuR w075j393sntC8WjuqvuQ87V9S0/nklhKEU0GnDjq33oyRaeFN8s3yUs2hSmgpU44IqGV FCVA+Ggz2QreSGFNT+lw48clCKb3SzMO6RTUigQFRVaSZgFl+GYpHC2HYuwxyaNt78rn YFhx1Bq5j6W1DkXCUZYNcBCJXFuYy43Vr8XPthUM79h1dg4y3fJ5TKkGGx3EX936hiv6 a/yChgKWnkECPyOAe6q5W4Xz9Oef/QzYoVmGNzkhkEBabfbnWH6IZt2pgCr3JtnFKYVX MrRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a17090264cf00b001bbdd44bbd0si9998649pli.176.2023.09.05.17.22.34; Tue, 05 Sep 2023 17:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239446AbjIEWg2 (ORCPT + 99 others); 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 X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-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