Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Tj Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#1128861: Regression: Missing check in nfsd_permission() causes -ENOLCK No locks available Date: Tue, 24 Feb 2026 14:00:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Feb 24 12:53:08 2026 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Tj , 1128861@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-kernel@lists.debian.org X-Debian-Pr-Message: followup 1128861 X-Debian-Pr-Package: src:linux X-Debian-Pr-Source: linux Feedback-ID: 113488376:user:proton X-Pm-Message-ID: 29d15f7aae71bfa311d3102de9afc722df094a18 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Greylist: delayed 43797 seconds by postgrey-1.37 at buxtehude; Tue, 24 Feb 2026 12:50:38 UTC X-Debian-Message: from BTS X-Mailing-List: archive/latest/1954846 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 42 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: linux-nfs@vger.kernel.org, Olga Kornievskaia , stable@vger.kernel.org X-Original-Date: Tue, 24 Feb 2026 12:50:22 +0000 X-Original-Message-ID: <7945477d-f6f9-4311-9ef3-73a92f0e8ea2@proton.me> X-Original-References: <177187492815.425331.14320091315652332093.reportbug@nimble> Xref: csiph.com linux.debian.bugs.dist:1283440 linux.debian.kernel:91385 Follow-up with results of adding dump_stack() to nfsd_permission()=20 revealing the paths that trigger the issue. [=C2=A0 133.185579] Call Trace: [=C2=A0 133.185580]=C2=A0 [=C2=A0 133.185580]=C2=A0 dump_stack_lvl+0x64/0x80 [=C2=A0 133.185582]=C2=A0 nfsd_permission+0x20/0x100 [nfsd] [=C2=A0 133.185612]=C2=A0 nfsd_access+0xc8/0x140 [nfsd] [=C2=A0 133.185639]=C2=A0 nfsd4_proc_compound+0x350/0x670 [nfsd] [=C2=A0 133.185670]=C2=A0 nfsd_dispatch+0x100/0x220 [nfsd] [=C2=A0 133.185698]=C2=A0 svc_process_common+0x314/0x700 [sunrpc] [=C2=A0 133.185733]=C2=A0 ? __pfx_nfsd_dispatch+0x10/0x10 [nfsd] [=C2=A0 133.185762]=C2=A0 svc_process+0x131/0x1c0 [sunrpc] [=C2=A0 133.185795]=C2=A0 svc_recv+0x80a/0x9e0 [sunrpc] [=C2=A0 133.185827]=C2=A0 ? __pfx_nfsd+0x10/0x10 [nfsd] [=C2=A0 133.185856]=C2=A0 nfsd+0xa3/0x100 [nfsd] [=C2=A0 133.185882]=C2=A0 kthread+0xd2/0x100 [=C2=A0 133.185884]=C2=A0 ? __pfx_kthread+0x10/0x10 [=C2=A0 133.185885]=C2=A0 ret_from_fork+0x34/0x50 [=C2=A0 133.185886]=C2=A0 ? __pfx_kthread+0x10/0x10 [=C2=A0 133.185887]=C2=A0 ret_from_fork_asm+0x1a/0x30 [=C2=A0 133.185890]=C2=A0 [=C2=A0 144.020165] Call Trace: [=C2=A0 144.020165]=C2=A0 [=C2=A0 144.020166]=C2=A0 dump_stack_lvl+0x64/0x80 [=C2=A0 144.020168]=C2=A0 nfsd_permission+0x20/0x100 [nfsd] [=C2=A0 144.020201]=C2=A0 nfsd_access+0xc8/0x140 [nfsd] [=C2=A0 144.020228]=C2=A0 nfsd3_proc_access+0x6c/0x110 [nfsd] [=C2=A0 144.020257]=C2=A0 nfsd_dispatch+0x100/0x220 [nfsd] [=C2=A0 144.020286]=C2=A0 svc_process_common+0x314/0x700 [sunrpc] [=C2=A0 144.020321]=C2=A0 ? __pfx_nfsd_dispatch+0x10/0x10 [nfsd] [=C2=A0 144.020350]=C2=A0 svc_process+0x131/0x1c0 [sunrpc] [=C2=A0 144.020383]=C2=A0 svc_recv+0x80a/0x9e0 [sunrpc] [=C2=A0 144.020415]=C2=A0 ? __pfx_nfsd+0x10/0x10 [nfsd] [=C2=A0 144.020445]=C2=A0 nfsd+0xa3/0x100 [nfsd] [=C2=A0 144.020471]=C2=A0 kthread+0xd2/0x100 [=C2=A0 144.020472]=C2=A0 ? __pfx_kthread+0x10/0x10 [=C2=A0 144.020473]=C2=A0 ret_from_fork+0x34/0x50 [=C2=A0 144.020475]=C2=A0 ? __pfx_kthread+0x10/0x10 [=C2=A0 144.020476]=C2=A0 ret_from_fork_asm+0x1a/0x30 [=C2=A0 144.020478]=C2=A0