Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp898416rwb; Fri, 13 Jan 2023 05:39:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXvXkaDL5+Hm5j7ECGlN7cMGf5isHSo7r1TbApDHGwNR19hGCLRFQIrWa4gN2G8cbqDNW93L X-Received: by 2002:a17:906:19ce:b0:858:cccd:7c6a with SMTP id h14-20020a17090619ce00b00858cccd7c6amr11500859ejd.68.1673617161519; Fri, 13 Jan 2023 05:39:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673617161; cv=none; d=google.com; s=arc-20160816; b=MmeWDMccD1/7xNEfMxoPYC2l81a2yYIQfF7iGt/IOVHT5NeM9Al9KANvmFdMXiJMUB OxiGfSk8KVZLGCtjwfJbrIOnKKwfycbO4ez1/2dnChVrzEU5xPDKX/kx0Lq5IsahnzzN g7V+RbF3lZi0j83O4JYZSRadsGZbKyudDlad+iWlIDQIZ2OKWwIWZHZedw2/CI2Tgmww NH+EfEeHz9i/za24jHsBo08L9fWg6aL3ls97xVQVp4uYxFlJ/79z2uzfFDg0y+urO/Yd KRNdGgzpfrclmkyDwswGitEpjFC1UtP2O0cyfVi5NpT5RDH5c/4zNuRQtCL4vQvAZw2/ Xy8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=7PiNh/Jtp3u0lTkH5iF7vrWF6iFymks6n+wJpSyS+No=; b=f5nwX/8vlVlve6/gZtqeoTYo2qWHGFoHqHI3sfS0CMmTkhya7b6XxFvzwSY1pVQ3Cn gPFi8yyjAIYhRhDa7C8HN3GL2UR4t9nS3BOdmPMQ2rsyQTvZpFPsiaYn7ysedFk2Lx27 QWcfL9ZmPCuvb7VpWs6GkOGT5+2iXe7cyMmape1AJjj6X29ZlB8qLen6J27PZzjKoHyr 03sZs9nC1d6eEja3cUbu/Oj0k/T/Ltj1TbDitMgRY7wL4dztuHp4uVNyOiB4AJPyyasF aw4+sjd/b5A1SUCJBbrA3KEyWsu2JXaeV43NL/0YLjDjVEIp6ZW3Bv+oQfsTFxj0Pufz G5yA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 dm3-20020a170907948300b007c157940720si20065969ejc.440.2023.01.13.05.38.49; Fri, 13 Jan 2023 05:39:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241604AbjAMNex (ORCPT + 99 others); Fri, 13 Jan 2023 08:34:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241588AbjAMNdw (ORCPT ); Fri, 13 Jan 2023 08:33:52 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DE1E6355 for ; Fri, 13 Jan 2023 05:27:11 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pGK5N-0001CT-RS; Fri, 13 Jan 2023 14:27:09 +0100 Message-ID: Date: Fri, 13 Jan 2023 14:27:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: NFSD: refcount_t: underflow; use-after-free from nfsd_file_free Content-Language: en-US, de-DE To: dai.ngo@oracle.com, Jeff Layton , Chuck Lever III Cc: "linux-nfs@vger.kernel.org" References: <3c525b04-ef64-2bee-efc9-9a43069306f7@oracle.com> <830543ab-10e0-3a62-c683-8bd95292db4b@oracle.com> <445f3dbd-7fe0-b16d-227b-b545d6cf604c@oracle.com> From: "Linux kernel regression tracking (#update)" Reply-To: Linux regressions mailing list In-Reply-To: <445f3dbd-7fe0-b16d-227b-b545d6cf604c@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1673616432;3ae9cac0; X-HE-SMSGID: 1pGK5N-0001CT-RS X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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-nfs@vger.kernel.org [TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 09.01.23 00:23, dai.ngo@oracle.com wrote: > > On 1/8/23 2:23 AM, Jeff Layton wrote: >> On Sat, 2023-01-07 at 14:04 -0800, dai.ngo@oracle.com wrote: >>> Hi, >>> >>> This is a regression in 6.2.0-rc1. >>> >>> The problem can be reproduced with a simple test: >>> . client mounts server's export using 4.1 >>> . client cats a file on server's export >>> . on server stop nfs-server service >>> >>> Bisect points to commit ac3a2585f018 (nfsd: rework refcounting in >>> filecache) >>> >>> -Dai >>> >> >> This looks like the same problem that 789e1e10f214 ("nfsd: shut down the >> NFSv4 state objects before the filecache") is intended to fix. That >> patch was not in -rc1. Can you test a kernel that does have that patch >> and let us know if it fixes this? > > Sorry Jeff, it's my bad. This is fixed in 6.2-rc3. In that case: #regzbot fix: 789e1e10f214 Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you. #regzbot ignore-activity