RHEL 9: kernel panic at nfsd_do_file_acquire+0x30e
Issue
- kernel panic with below logs:
[796419.364359] systemd[1]: Starting Journal Service...
[796419.389607] systemd[1]: Started Journal Service.
[797385.617643] BUG: kernel NULL pointer dereference, address: 0000000000000020
[797385.617683] #PF: supervisor read access in kernel mode
[797385.617702] #PF: error_code(0x0000) - not-present page
[797385.617722] PGD 0 P4D 0
[797385.617735] Oops: 0000 [#1] PREEMPT SMP NOPTI
[797385.617753] CPU: 40 PID: 499456 Comm: nfsd Kdump: loaded Tainted: G W --------- --- 5.14.0-162.6.1.el9_1.x86_64 #1
[797385.617790] Hardware name: Supermicro Super Server/H11SSL-NC, BIOS 1.0b 04/27/2018
[797385.617814] RIP: 0010:nfsd_do_file_acquire+0x30e/0x5a0 [nfsd]
[797385.617860] Code: 18 ff eb 3e 0f 85 61 ff ff ff 0f 1f 44 00 00 e9 57 ff ff ff 49 89 ee 48 8b 6c 24 18 65 48 ff 05 30 50 ed 3e 49 8b 46 30 89 de <48> 8b 78 20 e8 29 6f ff ff 89 c7 e8 f2 39 ff ff 41 89 c4 45 85 e4
[797385.617913] RSP: 0018:ffffae2115ba3bd8 EFLAGS: 00010202
[797385.617932] RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000001
[797385.617955] RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffff89406e40
[797385.617978] RBP: ffff9a4d6a280000 R08: ffffffff89406e48 R09: 0000000000000246
[797385.618001] R10: 0000000000000003 R11: 0000000000000866 R12: ffffffff8a48ad40
[797385.618023] R13: ffff9a4c37e9d520 R14: ffff9a503d6b5690 R15: 0000000000000a1b
[797385.619329] FS: 0000000000000000(0000) GS:ffff9a53cf880000(0000) knlGS:0000000000000000
[797385.620583] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[797385.621820] CR2: 0000000000000020 CR3: 00000002fe610000 CR4: 00000000003506e0
[797385.623055] Call Trace:
[797385.624279] nfs4_get_vfs_file+0x394/0x3c0 [nfsd]
[797385.625513] ? selinux_inode_permission+0x10e/0x1d0
[797385.626706] nfsd4_process_open2+0x36e/0xa80 [nfsd]
[797385.627911] ? fh_verify+0x17d/0x230 [nfsd]
[797385.629095] nfsd4_open+0x194/0x4d0 [nfsd]
[797385.630271] nfsd4_proc_compound+0x3b6/0x6d0 [nfsd]
[797385.631458] nfsd_dispatch+0x149/0x270 [nfsd]
[797385.632630] svc_process_common+0x3bc/0x5e0 [sunrpc]
[797385.633832] ? nfsd_svc+0x180/0x180 [nfsd]
[797385.634998] svc_process+0xb7/0xf0 [sunrpc]
[797385.636180] nfsd+0xed/0x150 [nfsd]
[797385.637332] ? nfsd_shutdown_threads+0x90/0x90 [nfsd]
[797385.638495] kthread+0x149/0x170
[797385.639632] ? set_kthread_struct+0x50/0x50
[797385.640767] ret_from_fork+0x22/0x30
[797385.641895] Modules linked in: dummy overlay mlx4_en mlx4_ib mlx4_core rdma_ucm ib_srpt ib_isert iscsi_target_mod target_core_mod ib_iser ib_umad libiscsi ib_ipoib scsi_transport_iscsi binfmt_misc rpcrdma rdma_cm iw_cm ib_cm nfsd nfs_acl dm_cache_smq dm_cache dm_persistent_data dm_bio_prison dm_bufio rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache netfs rbd libceph dns_resolver 8021q garp mrp stp llc bonding 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_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill ip_set nf_tables nfnetlink sunrpc ipmi_ssif intel_rapl_msr intel_rapl_common amd64_edac edac_mce_amd kvm_amd kvm mlx5_ib irqbypass ib_uverbs rapl pcspkr ib_core joydev i2c_piix4 k10temp acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler acpi_cpufreq xfs libcrc32c raid1 sd_mod sg mlx5_core ast drm_vram_helper drm_kms_helper syscopyarea sysfillrect sysimgblt crct10dif_pclmul mpt3sas fb_sys_fops igb
[797385.641962] crc32_pclmul mlxfw drm_ttm_helper crc32c_intel nvme tls ahci ttm libahci ghash_clmulni_intel nvme_core psample raid_class dca drm libata scsi_transport_sas t10_pi ccp pci_hyperv_intf sp5100_tco i2c_algo_bit dm_mirror dm_region_hash dm_log dm_mod fuse [last unloaded: mlx4_core]
[797385.652053] CR2: 0000000000000020
Environment
- Red Hat Enterprise Linux 9.1
kernel-5.14.0-162.9.1.el9_1
- nfsd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.