Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2035845lqo; Sun, 19 May 2024 10:02:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMsso3x7GM5MJ005I/cJDjLMA6gtuFN/VZ9+pKs3qCdWZEuRY8ykv1tgOLg/sn8XawAay2/PkPrZesZXwZpLIl33wER8fEx1ZZMPj3uw== X-Google-Smtp-Source: AGHT+IGoeoPRJgUq1r9M9fUr207v6JzsLUFcyT6H8DDhtq/MRUE24i0wN6a1iS3fW1qfoWasONcS X-Received: by 2002:a05:6102:3746:b0:47c:2fd4:e1f8 with SMTP id ada2fe7eead31-48077eb1c71mr25495818137.33.1716138165697; Sun, 19 May 2024 10:02:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716138165; cv=pass; d=google.com; s=arc-20160816; b=0Ew0HKb5DI01zpti/ZaFJx9gn0jPWSY4LWN5Mr539L18p4z3Ytiv91ExiPccJktIpT aL05sx6/l6JKhhZoM/ccUW0/W9JbjXTCGRgbtMiXRZUedFXcx40hg0irzQ9sLbjDz3aV 789g6S6cuvKN0PjxTWTl5DvivUC3u/du+57lEuhcI0lIN2u1Y148Ecs1IUtf0VfsC0Gl OHELH55M26/TjZpaUEMjC+0/YXzts/ydiC+gwaPz6cftnZ/0/9+x8bhXjIXdXLRbH4bP 7HxF5LCtwxsEhT74G61aRIxuLvbgyVrYgIUztt8XBvbwDxqlI4B0s7bwJb5xWLQgLFOT Rvtw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=Wid/jiyUoXkcWFqHAFMWRZeITF2T+lBTxetBG45qhj8=; fh=um9GL1OfeVLUcSxlL8dlmqiQO89RF/3PZuijBeR+Eec=; b=qqxUXI6zMXHPOKMVAjGMeg+BRPebCmRTHrx6SvsHv4nz9sracKmHQ/LuufYWWl/6ya zAabydwLyme7NzxV4Z1FortwrMRvcIgqL6tNeZEsrY2Drs2ExcyBakyPb59hnflGASOD FHJRqzHkFUILEFCI3Nl352b3gA8nvGSPCt08A3k8ts/b4jhjmVBBOpfdEYCf0AlYcCYS 233h7iIAZ5OxF/cDaujXY4butbxkaKC04eTN7zMtUCLreYmugqTqpLAE+MiUr5PO5wEZ B9CByf7I9YiNzVRNJ9F23FACTFlyj5reV0VNMtZC7FefUpYWqMP5ev2xn5smExckYua1 nwsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sqUxUEgD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ada2fe7eead31-4806cc945aesi3697766137.668.2024.05.19.10.02.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 10:02:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sqUxUEgD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 597251C20C05 for ; Sun, 19 May 2024 17:02:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AB221E867; Sun, 19 May 2024 17:02:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sqUxUEgD" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65436446AB for ; Sun, 19 May 2024 17:02:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716138157; cv=none; b=eQfoycV9LQ1pn4lFNXCU5ZL3beaRjOZPalJAAEagSe2QfcXSyTfDXfIYIC6CwpMpzM8FDyb5l0LgjwGUfSjQ9TSOAx5Z88HDwa2/lc3K66yJkS+h7hKefsG5U145qc+82B9J+T+vnga1/q4azTUuIJgC9PFbUJJOfsdOwekaz+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716138157; c=relaxed/simple; bh=skGHxpri52goGPayYIxFoovH5Kdg5clC0JSSyct2J7Y=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=ueZumQpI/ab9Yrb27CVAoXqXnTa2CpZKNuIOBzu2+y412j5+eulydioq9boS1WH+Nkodo8eucwtFNcaJPYaCfJjDG760Dub2srHEYO7+FPHyVq1gX7uZUMhcP0zBHMlWQbj1Elakk0Fk2jwV1Qp+q4EKb2BXnvyZwUpqEfflFIg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sqUxUEgD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E6CAC32781; Sun, 19 May 2024 17:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716138156; bh=skGHxpri52goGPayYIxFoovH5Kdg5clC0JSSyct2J7Y=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=sqUxUEgDSL06E576hOjqH1hvZJ7oOgeEdXC9WlKQiwcJJez4OGWjV7IIaTpMwbYw4 ch+3fX1N6Bv1rhQ89oXLb02rK53Qwts5wRqmdgcXPA3G9bwQdTy2gsMPYMtkqCgBJB EWyffDkXvFi6gVO7sr3vPN5picEbLTQzDTImYWO5Ustkg2asLmi6IWOdsyg6l+Lrb6 CEAsVZLWVnIrk3Cnz5uQ0Fxvjs/JWnwiLJ0l34G1Vk8zzdKQlLVK0X2fc/pJ+DPK9s XY32VCFSHU399D//aJRtqBg+mRefSo0WHyzteE7RvNkEiTlATDrhPFk/uinWw7JPXk Go9ve6HlojM+g== Message-ID: <3b9a46a6c104962580befcdcc30f515d56899e52.camel@kernel.org> Subject: Re: [BUG] Linux 6.8.10 NPE From: Jeff Layton To: Chris Rankin Cc: Chuck Lever , linux-nfs@vger.kernel.org Date: Sun, 19 May 2024 13:02:35 -0400 In-Reply-To: References: <0309145a87db46a4e56b83d64d2f5273990a08d7.camel@kernel.org> Autocrypt: addr=jlayton@kernel.org; prefer-encrypt=mutual; keydata=mQINBE6V0TwBEADXhJg7s8wFDwBMEvn0qyhAnzFLTOCHooMZyx7XO7dAiIhDSi7G1NPxw n8jdFUQMCR/Glp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bqsB20VrbMjlhp f8lfK1XVNbRq/R7GZ9zHESlsa35ha60yd/j3pu5hT2xyy8krV8vGhHvnJ1XRMJBAB/UYb6FyC7S+m QZIQXVeAA+smfTT0tDrisj1U5x6ZB9b3nBg65kc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.1 (3.52.1-1.fc40app1) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Yeah, that definitely looks like something is wrong with the net or net->gen. I don't suppose you have a vmcore? With that you might be able to tell what the struct net looked like just before the crash. Are you working in a containerized setup or is this a bare metal machine? -- Jeff On Sun, 2024-05-19 at 16:51 +0100, Chris Rankin wrote: > nfsd_show+0x39/0x18e: >=20 > net_generic at /home/chris/LINUX/linux-6.8/include/net/netns/generic.h:47 > 42 struct net_generic *ng; > 43 void *ptr; > 44 > 45 rcu_read_lock(); > 46 ng =3D rcu_dereference(net->gen); > > 47< ptr =3D ng->ptr[id]; > 48 rcu_read_unlock(); > 49 > 50 return ptr; > 51 } > 52 #endif >=20 > (inlined by) nfsd_show at /home/chris/LINUX/linux-6.8/fs/nfsd/stats.c:38 > 33 }; > 34 > 35 static int nfsd_show(struct seq_file *seq, void *v) > 36 { > 37 struct net *net =3D pde_data(file_inode(seq->file)); > > 38< struct nfsd_net *nn =3D net_generic(net, nfsd_net_id); > 39 int i; > 40 > 41 seq_printf(seq, "rc %lld %lld %lld\nfh %lld 0 0 0 0\nio > %lld %lld\n", > 42 > percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_HITS]), > 43 > percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_MISSES]), >=20 > On Sun, 19 May 2024 at 15:58, Jeff Layton wrote: > >=20 > > On Sun, 2024-05-19 at 14:15 +0100, Chris Rankin wrote: > > > FWIW the problem appears to be with linux-6.8/fs/nfsd/stats.c#L38: > > >=20 > > > struct nfsd_net *nn =3D net_generic(net, nfsd_net_id); > > >=20 > > > although the value of the "net" variable looks reasonable. > > >=20 > > > Cheers, > > > Chris > > >=20 > > > On Sun, 19 May 2024 at 13:26, Chris Rankin wrote= : > > > >=20 > > > > Hi, > > > >=20 > > > > CC after emailing both linux-kernel and stable. > > > >=20 > > > > Cheers, > > > > Chris > > > >=20 > > > > ---------- Forwarded message --------- > > > > From: Chris Rankin > > > > Date: Sat, 18 May 2024 at 13:53 > > > > Subject: [BUG] Linux 6.8.10 NPE > > > > To: LKML , Linux Stable > > > >=20 > > > > Hi, > > > >=20 > > > > I am using vanilla Linux 6.8.10, and I've just noticed this BUG in = my > > > > dmesg log. I have no idea what triggered it, and especially since I > > > > have not even mounted any NFS filesystems?! > > > >=20 > > > > Cheers, > > > > Chris > > > >=20 > > > > [ 9114.607417] BUG: kernel NULL pointer dereference, address: 00000= 00000000068 > > > > [ 9114.613082] #PF: supervisor read access in kernel mode > > > > [ 9114.616929] #PF: error_code(0x0000) - not-present page > > > > [ 9114.620775] PGD 0 P4D 0 > > > > [ 9114.622013] Oops: 0000 [#16] PREEMPT SMP PTI > > > > [ 9114.624987] CPU: 2 PID: 16501 Comm: sadc Tainted: G D I > > > > 6.8.10 #1 > > > > [ 9114.630993] Hardware name: Gigabyte Technology Co., Ltd. > > > > EX58-UD3R/EX58-UD3R, BIOS FB 05/04/2009 > > > > [ 9114.638561] RIP: 0010:nfsd_show+0x39/0x18e [nfsd] > > > > [ 9114.642026] Code: fb 48 83 ec 10 48 8b 47 70 8b 2d 34 9b 03 00 4= 8 > > > > 8b 80 b0 00 00 00 4c 8b a0 60 02 00 00 e8 99 84 f2 df 49 8b 84 24 f= 8 > > > > 0b 00 00 <48> 8b 2c e8 e8 6d c0 f2 df 48 8d bd 00 03 00 00 e8 8f ff= ff > > > > ff 48 > > > > [ 9114.659472] RSP: 0018:ffffc9000b1afcf8 EFLAGS: 00010202 > > > > [ 9114.663405] RAX: 0000000000000000 RBX: ffff88810cd5de80 RCX: 000= 0000000001000 > > > > [ 9114.669239] RDX: ffff88813f45b900 RSI: 0000000000000001 RDI: fff= f88810cd5de80 > > > > [ 9114.675069] RBP: 000000000000000d R08: 0000000000400cc0 R09: 000= 00000ffffffff > > > > [ 9114.680905] R10: 0000000000000000 R11: 0000000000000000 R12: fff= fffffa11e51e0 > > > > [ 9114.686737] R13: ffffc9000b1afef8 R14: ffff88810cd5de80 R15: fff= fffff81a2a520 > > > > [ 9114.692586] FS: 00007f3637e49740(0000) GS:ffff888343c80000(0000= ) > > > > knlGS:0000000000000000 > > > > [ 9114.699370] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > > > [ 9114.703809] CR2: 0000000000000068 CR3: 000000027a18c000 CR4: 000= 00000000006f0 > > > > [ 9114.709642] Call Trace: > > > > [ 9114.710798] > > > > [ 9114.711602] ? __die_body+0x1a/0x5c > > > > [ 9114.713802] ? page_fault_oops+0x321/0x36e > > > > [ 9114.716636] ? exc_page_fault+0x105/0x117 > > > > [ 9114.719348] ? asm_exc_page_fault+0x22/0x30 > > > > [ 9114.722237] ? nfsd_show+0x39/0x18e [nfsd] > > > > [ 9114.725103] ? nfsd_show+0x31/0x18e [nfsd] > > > > [ 9114.727954] seq_read_iter+0x171/0x353 > > > > [ 9114.730410] seq_read+0xe0/0x108 > > > > [ 9114.732350] ? startup_64+0x1/0x60 > > > > [ 9114.734458] proc_reg_read+0x8c/0xa7 > > > > [ 9114.736746] vfs_read+0xa6/0x1bf > > > > [ 9114.738685] ? __do_sys_newfstat+0x34/0x5c > > > > [ 9114.741486] ksys_read+0x74/0xc0 > > > > [ 9114.743418] do_syscall_64+0x6c/0xdc > > > > [ 9114.745695] entry_SYSCALL_64_after_hwframe+0x60/0x68 > > > > [ 9114.749449] RIP: 0033:0x7f3638039cc1 > > > > [ 9114.751752] Code: 00 48 8b 15 59 81 0d 00 f7 d8 64 89 02 b8 ff f= f > > > > ff ff eb bd e8 b0 aa 01 00 f3 0f 1e fa 80 3d 85 03 0e 00 00 74 13 3= 1 > > > > c0 0f 05 <48> 3d 00 f0 ff ff 77 4f c3 66 0f 1f 44 00 00 55 48 89 e5= 48 > > > > 83 ec > > > > [ 9114.769198] RSP: 002b:00007ffec523c288 EFLAGS: 00000246 ORIG_RAX= : > > > > 0000000000000000 > > > > [ 9114.775499] RAX: ffffffffffffffda RBX: 000055619e0982e0 RCX: 000= 07f3638039cc1 > > > > [ 9114.781332] RDX: 0000000000000400 RSI: 000055619e0a3b70 RDI: 000= 0000000000004 > > > > [ 9114.787166] RBP: 00007ffec523c2c0 R08: 0000000000000001 R09: 000= 0000000000000 > > > > [ 9114.792997] R10: 0000000000000000 R11: 0000000000000246 R12: 000= 07f3638111050 > > > > [ 9114.798830] R13: 00007f3638110f00 R14: 0000000000000000 R15: 000= 055619e0982e0 > > > > [ 9114.804668] > > > > [ 9114.805559] Modules linked in: udf usb_storage snd_seq_dummy > > > > rpcrdma rdma_cm iw_cm ib_cm ib_core nf_nat_ftp nf_conntrack_ftp > > > > cfg80211 af_packet nf_conntrack_netbios_ns nf_conntrack_broadcast > > > > nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet > > > > nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat > > > > nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle > > > > ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack > > > > nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle iptable_raw > > > > iptable_security ebtable_filter ebtables ip6table_filter ip6_tables > > > > iptable_filter ip_tables x_tables it87 hwmon_vid bnep binfmt_misc > > > > snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi > > > > snd_hda_intel uvcvideo btusb uvc btintel btbcm videobuf2_vmalloc > > > > snd_intel_dspcfg videobuf2_memops bluetooth videobuf2_v4l2 > > > > snd_hda_codec videodev snd_usb_audio intel_powerclamp coretemp > > > > snd_virtuoso snd_hda_core kvm_intel snd_oxygen_lib videobuf2_common > > > > ecdh_generic snd_usbmidi_lib snd_mpu401_uart snd_hwdep mc snd_rawmi= di > > > > [ 9114.805644] input_leds joydev led_class snd_seq rfkill kvm ecc > > > > snd_seq_device gpio_ich pktcdvd snd_pcm iTCO_wdt r8169 irqbypass > > > > i2c_i801 snd_hrtimer realtek snd_timer mdio_devres intel_cstate snd > > > > libphy acpi_cpufreq i2c_smbus pcspkr intel_uncore psmouse lpc_ich > > > > i7core_edac mxm_wmi soundcore tiny_power_button button nfsd > > > > auth_rpcgss nfs_acl lockd grace sunrpc dm_mod loop fuse dax configf= s > > > > nfnetlink zram zsmalloc ext4 crc32c_generic crc16 mbcache jbd2 amdg= pu > > > > video amdxcp i2c_algo_bit mfd_core drm_ttm_helper ttm hid_microsoft > > > > drm_exec gpu_sched drm_suballoc_helper drm_buddy drm_display_helper > > > > sr_mod usbhid sd_mod cdrom drm_kms_helper ahci pata_jmicron libahci > > > > drm uhci_hcd libata ehci_pci ehci_hcd xhci_pci firewire_ohci xhci_h= cd > > > > firewire_core scsi_mod crc32c_intel sha512_ssse3 usbcore > > > > drm_panel_orientation_quirks sha256_ssse3 cec serio_raw sha1_ssse3 > > > > rc_core crc_itu_t bsg usb_common scsi_common wmi msr [last unloaded= : > > > > sg] > > > > [ 9114.974386] CR2: 0000000000000068 > > > > [ 9114.976469] ---[ end trace 0000000000000000 ]--- > > > > [ 9114.979859] RIP: 0010:nfsd_show+0x39/0x18e [nfsd] > > > > [ 9114.983413] Code: fb 48 83 ec 10 48 8b 47 70 8b 2d 34 9b 03 00 4= 8 > > > > 8b 80 b0 00 00 00 4c 8b a0 60 02 00 00 e8 99 84 f2 df 49 8b 84 24 f= 8 > > > > 0b 00 00 <48> 8b 2c e8 e8 6d c0 f2 df 48 8d bd 00 03 00 00 e8 8f ff= ff > > > > ff 48 > > > > [ 9115.000909] RSP: 0018:ffffc90002edfcf8 EFLAGS: 00010202 > > > > [ 9115.004850] RAX: 0000000000000000 RBX: ffff88813fee9780 RCX: 000= 0000000001000 > > > > [ 9115.010725] RDX: ffff88810b474740 RSI: 0000000000000001 RDI: fff= f88813fee9780 > > > > [ 9115.016621] RBP: 000000000000000d R08: 0000000000400cc0 R09: 000= 00000ffffffff > > > > [ 9115.022507] R10: 0000000000000000 R11: 0000000000000000 R12: fff= fffffa11e51e0 > > > > [ 9115.028414] R13: ffffc90002edfef8 R14: ffff88813fee9780 R15: fff= fffff81a2a520 > > > > [ 9115.034338] FS: 00007f3637e49740(0000) GS:ffff888343c00000(0000= ) > > > > knlGS:0000000000000000 > > > > [ 9115.041191] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > > > [ 9115.045739] CR2: 00007f7171a17ef0 CR3: 000000027a18c000 CR4: 000= 00000000006f0 > >=20 > >=20 > > Can you run faddr2line against that kmod and tell us where it failed? > > Something like this, with a non-stripped kmod: > >=20 > > $ scripts/faddr2line --list fs/nfsd/nfsd.ko nfsd_show+0x39/0x18e > >=20 > > Thanks, > > -- > > Jeff Layton --=20 Jeff Layton