Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1700853rdb; Wed, 20 Sep 2023 17:50:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgCm2XLS6/9DLpcDPH5SxD8/7g2s5IIjU5fnNV4kGWUELwBz7YwNBMBAA46/o44uNWBqCv X-Received: by 2002:a05:6358:5e17:b0:141:ca1:cc62 with SMTP id q23-20020a0563585e1700b001410ca1cc62mr4140286rwn.27.1695257450298; Wed, 20 Sep 2023 17:50:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695257450; cv=none; d=google.com; s=arc-20160816; b=Mu3IO/P+Q8ijDYSCNQdFAqnuzjNK4Y3P5BZat0U/2QxqeZzrU5XvXqdQTO3o/zHgZ8 r0UGI+CNaM85F6jUe3AbsThgHdHFBepq6zxqpiNneyJX7p6+7ix4pZ0/BrXaYUlTawSh YilWQxR00+aqLROzHNv4m7tkXzJms5KIaaX/xKI1JHUFFHl0iRgs8llpAvgaQoqagV5Z v+6XOP8GcTmWEGWIdjdKXKY/08hHsZEhdVurC8kSgeWVk5HoDw3JNrkUudt7yzIllJ9Z LChaRYqZ6FWyqAEwi8PB+cS3jHfUnAe1hoyyFPfMCE+numJ2kNrCk3jxxfCUTulUnu4N 9EHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=C5BTNYQRFtACdbAzS+jSfcXQrl1BZttfNf12NQbHEfI=; fh=XfrY7fEqaRztDIev7zW0W5ThyEdiWe/Uvf+2BA2hN4k=; b=x3Q3bU0VFnKdII0o2qghEpCT9sJp+Mi5l8kYGAXvZpZ+lfJB81z2AGfE3hHTBl2RI0 eYYuHvPITYycymppijhrcN6OUeQnYMkKD7CcAfaVCyIhtJ/BAmXHfS6dQSL6IGxqij3S ZZGdrQ4vhAG2a6gThva2ZWgkgQSvefW0zs5x73m+3debUSzm0DcrhLgTMaFWBrUQBaFN KvurKlfCkKyTrEfBCyTcIMpz+DTg+zaTDYLD2kiFiXCKeEUuOnj30ZYnnsak0rzzu4ar KQsm+71MYjSrSqgLRXXareQXKC/4gsLZR/m3CyaRF4CQaYJ1yokU2lbolFnmWxMtFMVV VGhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 69-20020a630048000000b00578a02ee39fsi238807pga.334.2023.09.20.17.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 17:50:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E2C1D819E4DD; Wed, 20 Sep 2023 17:50:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbjIUAum (ORCPT + 99 others); Wed, 20 Sep 2023 20:50:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjIUAul (ORCPT ); Wed, 20 Sep 2023 20:50:41 -0400 Received: from wxsgout04.xfusion.com (wxsgout04.xfusion.com [36.139.87.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 979DDC2 for ; Wed, 20 Sep 2023 17:50:26 -0700 (PDT) Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4RrcFw1fPGz9xkGb; Thu, 21 Sep 2023 08:48:20 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 21 Sep 2023 08:50:18 +0800 Date: Thu, 21 Sep 2023 08:50:17 +0800 From: Wang Jinchao To: Daniel Jordan CC: Steffen Klassert , , , , , Subject: Re: Issue: padata: UAF in padata_serial_worker reproduce Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.82.147.3] X-ClientProxiedBy: wuxshcsitd00600.xfusion.com (10.32.133.213) To wuxshcsitd00600.xfusion.com (10.32.133.213) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 20 Sep 2023 17:50:48 -0700 (PDT) On Mon, Sep 18, 2023 at 09:21:59AM -0400, Daniel Jordan wrote: > Hi, > > On Mon, Sep 18, 2023 at 02:27:34PM +0800, Wang Jinchao wrote: > > Hello, I have reproduced the issue mentioned by Nicolai Stange on an arm64 server. > > After applying Nicolai Stange's patch, the issue did not reoccur even after running for two days. > > The test tools used were ltp20220121 and stress-ng-0.15.06.tar.gz. > > > > refurl: https://lore.kernel.org/all/20221028160401.cccypv4euxikusiq@parnassus.localdomain/T/#u > > Yeah, this series seems close to being finished, just hasn't made it > over the finish line quite yet. I wonder if Nicolai has plans to > ressurect or whether someone else should take it over. Hello, I'd like to inquire about something: Since users of padata_free_shell need to ensure that all tasks in padata_shell have completed, how can they confirm this when they are uncertain? Would it be better if Padata provided a mechanism, such as padata_shell_status(), to maintain statistics like the number of tasks? Thanks