Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp375920rwb; Sun, 25 Sep 2022 23:06:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6RWHpVzlFTuRbEKqIVpZx897dvParNgt6Pzcw8OOnwWoJtDP1vngtYSoCCGIHv++9EWER5 X-Received: by 2002:a17:90b:128b:b0:203:73b7:2f33 with SMTP id fw11-20020a17090b128b00b0020373b72f33mr34518253pjb.106.1664172362845; Sun, 25 Sep 2022 23:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664172362; cv=none; d=google.com; s=arc-20160816; b=DVk6cZ3SYjJeIJlmf5HlqxWL9xgz92s8KHboUczxjSy+iy47h8nhlINze6ormtFPdy kV+hp3Jy47z0lrmDjPaz3ziuF/zvA70psOn1Me29uUqvIhrF/K5F2ZebxGMThzvuhK3O C4kQcV8hYiOYD/YwWLx0hu8jzn6KCsPxBQwgYGCQOpyEuTFUkBvNNzJkM2f5d4jBvGfX vSoLU5R3aKov5Kc4xaRIzrb4dghXdVQIKlkANz2/5UUaahph/PXrjvsRnoyJmx8uZeyT lcxCCxLn6SU7nBQlAblg8MKCpH+eqx34JKF52L5tw1pkacfeHCzqmN2X2w/3MuUAqiDO iZhg== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=cdrfYcEbjlm4oGY/3pHq12QlaA0H6mAmt8JTqHcA1cI=; b=aRCRF1y/NXfsh1lqtVzZnLF+Cpl3IL59lSntPhshDewvLp62Gv46d7XFRnfXZetNaW 99WT/5QURpwKz7lO8kML1cKWmwPz2ZDzJv8ASH+5ck7tC8VU9YJeUWJIIUh2BskWNBB1 Jf6f+dMizrWBvOnLFU669X80evS0Sg+DlWSJ9vRn61kOmsvgUKMn1UyYQxEtxVi4BXVE 8JgbbephOs28dCJQCAkDUVsF3XAOGrezYQxrrDTh0h4wRRiXzUzt5Vnu9FaJoZsKpONT jECkdyAPTw/WTQIE/Ud+9EUp29jaTqaIEyC+iS978UWAWaEVJDnYeASLFduDqUYpdcyg I9bg== 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 b37-20020a631b65000000b0041aaa841692si11119209pgm.108.2022.09.25.23.05.29; Sun, 25 Sep 2022 23:06:02 -0700 (PDT) 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 S232569AbiIZGAy (ORCPT + 99 others); Mon, 26 Sep 2022 02:00:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbiIZGAx (ORCPT ); Mon, 26 Sep 2022 02:00:53 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E57B4220DD; Sun, 25 Sep 2022 23:00:49 -0700 (PDT) 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 1ochAd-0001MQ-CJ; Mon, 26 Sep 2022 08:00:47 +0200 Message-ID: <0e1263a1-9d3d-a6cf-deb7-197ab1eed437@leemhuis.info> Date: Mon, 26 Sep 2022 08:00:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: nfs_scan_commit: BUG: unable to handle page fault for address: 000000001d473c07 Content-Language: en-US, de-DE To: Greg KH , Sasha Levin Cc: "anna@kernel.org" , "linux-nfs@vger.kernel.org" , "stable@vger.kernel.org" , "it+linux-nfs@molgen.mpg.de" , "pmenzel@molgen.mpg.de" , Trond Myklebust , Kurt Garloff References: From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1664172051;f820c62a; X-HE-SMSGID: 1ochAd-0001MQ-CJ X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 [adding Greg and Sasha to the recipients, to ensure they see this; CCing Kurt as well, to keep him in the loop] On 22.09.22 15:44, Trond Myklebust wrote: > On Thu, 2022-09-22 at 13:42 +0200, Paul Menzel wrote: >> Am 21.09.22 um 14:44 schrieb Trond Myklebust: >>> On Wed, 2022-09-21 at 13:42 +0200, Paul Menzel wrote: >> >>>> Moving from Linux 5.10.113 to 5.15.69, starting Mozilla >>>> Thunderbird or >>>> Mozilla Firefox with the home on NFS, both programs get killed, >>>> and >>>> Linux 5.15.69 logs: >>>> >>>> ``` >>>> [ 3827.604396] BUG: unable to handle page fault for address: >>>> 000000001d473c07 >>>> [ 3827.611297] #PF: supervisor read access in kernel mode >>>> [ 3827.616452] #PF: error_code(0x0000) - not-present page >>>> [ 3827.621604] PGD 0 P4D 0 >>>> [ 3827.624152] Oops: 0000 [#1] SMP PTI >>>> [ 3827.627657] CPU: 0 PID: 2378 Comm: firefox Not tainted >>>> 5.15.69.mx64.435 #1 >>>> [ 3827.634551] Hardware name: Dell Inc. Precision Tower >>>> 3620/0MWYPT, BIOS 2.20.0 12/09/2021 >> >> […] >> >>>> [ 3827.743328] Call Trace: >>>> [ 3827.745779]  >>>> [ 3827.747883]  nfs_scan_commit+0x76/0xb0 [nfs] >>>> [ 3827.752167]  __nfs_commit_inode+0x108/0x180 [nfs] >>>> [ 3827.756886]  nfs_wb_all+0x59/0x110 [nfs] >>>> [ 3827.760822]  nfs4_inode_return_delegation+0x58/0x90 [nfsv4] >>>> [ 3827.766413]  nfs4_proc_remove+0x101/0x110 [nfsv4] >>>> [ 3827.771130]  nfs_unlink+0xf5/0x2d0 [nfs] >>>> [ 3827.775065]  vfs_unlink+0x10b/0x280 >>>> [ 3827.778563]  do_unlinkat+0x19e/0x2c0 >>>> [ 3827.782158]  __x64_sys_unlink+0x3e/0x60 >>>> [ 3827.786002]  ? __x64_sys_readlink+0x1b/0x30 >>>> [ 3827.790192]  do_syscall_64+0x40/0x90 >>>> [ 3827.793779]  entry_SYSCALL_64_after_hwframe+0x61/0xcb >> >> […] >> >>>> ``` >>>> >>> >>> Does cherry-picking commit 6e176d47160c ("NFSv4: Fixes for >>> nfs4_inode_return_delegation()") into 5.15.69 from the upstream >>> kernel >>> tree fix the problem? >>> >>> 8<--------------------------------------------------- >>> From 6e176d47160cec8bcaa28d9aa06926d72d54237c Mon Sep 17 00:00:00 >>> 2001 >>> From: Trond Myklebust >>> Date: Sun, 10 Oct 2021 10:58:12 +0200 >>> Subject: [PATCH] NFSv4: Fixes for nfs4_inode_return_delegation() >> >> […] >> >> Indeed with that commit, present since v5.16-rc1, we are unable to >> reproduce the issue, so it seems to be the fix. It looks like there >> are >> not a lot of 5.15 NFS users out there. ;-) >> > > I believe this is a dependency that was introduced by the back port of > commit e591b298d7ec ("NFS: Save some space in the inode") into 5.15.68. > So the reason it wasn't seen is because the change is very recent. Side note: I wonder if that is causing this problem from Kurt as well: https://lore.kernel.org/all/f6755107-b62c-a388-0ab5-0a6633bf9082@garloff.de/ > FYI Greg and Sasha: please also consider pulling 6e176d47160c ("NFSv4: > Fixes for nfs4_inode_return_delegation()") into that stable series. Greg, I noticed you in the past few days added quite a few patches into the queue for the next 5.15.y release, but this one was not among them afaics. So just to be sure: is that still on your todo list or is more needed to get 6e176d47160c added in time for the next stable -rc? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.