RHEL8: Kernel panic at nlmsvc_testlock+0xaf

Solution Verified - Updated -

Issue

  • Kernel panic with below logs:
[11953.934616] lockd: creating file for (0a010001 00033650 02000002 00000000 a17e28a4 00000001 0000
0000 3bf31619)
[11953.934938] lockd: found file 00000000b19f57d8 (count 0)
[11953.934939] lockd: get host smtcac1658
[11953.934942] lockd: nlmsvc_testlock(gpfs/7004367012, ty=1, 0-9223372036854775807)
[11953.935425] lockd: conflicting lock(ty=1, 0-9223372036854775807)
[11953.935437] BUG: unable to handle kernel paging request at ffff93a8a2c2a368
[11953.935927] PGD 0 P4D 0 
[11953.936388] Oops: 0000 [#1] SMP NOPTI
[11953.936832] CPU: 43 PID: 587794 Comm: lockd Kdump: loaded Tainted: G           OE    --------- -  - 4.18.0-240.22.1.el8_3.x86_64 #1
[11953.937842] Hardware name: Lenovo ThinkSystem SR650 -[7X06CTOLWW]-/-[7X06CTOLWW]-, BIOS -[IVE168J-2.91]- 04/01/2021
[11953.938445] RIP: 0010:nlmsvc_testlock+0xaf/0x130 [lockd]
[11953.939060] Code: 08 0f 85 41 59 00 00 48 c7 45 00 86 aa 8b c0 4c 89 e7 c7 45 08 08 00 00 00 c7 85 90 00 00 00 00 00 00 00 48 8b 83 f0 00 00 00 <8b> 40 28 89 85 a0 00 00 00 0f b6 83 fc 00 00 00 88 85 fc 00 00 00
[11953.940444] RSP: 0018:ffffb0288d7bbdc8 EFLAGS: 00010246
[11953.941172] RAX: ffff93a8a2c2a340 RBX: ffff9d46fffeb428 RCX: 0000000000000006
[11953.941803] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff9d46fffeb4d0
[11953.942393] RBP: ffff9d46fffe9228 R08: 0000000000456ec3 R09: 0000000000000007
[11953.942996] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9d46fffeb4d0
[11953.943614] R13: ffff9d3fc26d2d00 R14: ffff9d44eed7c600 R15: ffffffffc08b8250
[11953.944246] FS:  0000000000000000(0000) GS:ffff9d47c00c0000(0000) knlGS:0000000000000000
[11953.944904] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[11953.945574] CR2: ffff93a8a2c2a368 CR3: 00000003a6a0a006 CR4: 00000000007606e0
[11953.946269] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[11953.946976] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[11953.947685] PKRU: 55555554
[11953.948398] Call Trace:
[11953.949125]  __nlm4svc_proc_test+0xc2/0x110 [lockd]
[11953.949897]  svc_process_common+0x64f/0x700 [sunrpc]
[11953.950651]  ? grace_ender+0x20/0x20 [lockd]
[11953.951382]  ? grace_ender+0x20/0x20 [lockd]
[11953.951748]  svc_process+0xd1/0x110 [sunrpc]
[11953.952102]  lockd+0xae/0x190 [lockd]
[11953.952459]  ? __kthread_parkme+0x4c/0x70
[11953.952818]  kthread+0x112/0x130
[11953.953181]  ? kthread_flush_work_fn+0x10/0x10
[11953.953550]  ret_from_fork+0x1f/0x40
[11953.953917] Modules linked in: nfsv3 nfs fscache tcp_diag inet_diag nfsd auth_rpcgss nfs_acl lockd grace mmfs26(OE) mmfslinux(OE) tracedev(OE) rdma_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_umad(OE) mlx5_ib(OE) ib_uverbs(OE) mlx5_core(OE) ib_core(OE) mlx_compat(OE) tls mlxfw(OE) psample pci_hyperv_intf team_mode_loadbalance bonding team nf_log_ipv6 nf_log_ipv4 nf_log_common nft_log nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat nf_nat ip_set nf_tables nfnetlink esp6_offload esp6 esp4_offload esp4 sunrpc vfat fat intel_rapl_msr intel_rapl_common isst_if_common iTCO_wdt iTCO_vendor_support skx_edac nfit libnvdimm x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel intel_cstate ipmi_ssif intel_uncore cdc_ether ses usbnet enclosure joydev pcspkr intel_rapl_perf scsi_transport_sas mii mei_me i2c_i801 lpc_ich mei ioatdma
[11953.953956]  dca wmi ipmi_si ipmi_devintf ipmi_msghandler acpi_power_meter acpi_pad binfmt_misc ip_tables xfs sd_mod sg mgag200 drm_kms_helper syscopyarea sysfillrect sysimgblt nf_conntrack fb_sys_fops drm_vram_helper nf_defrag_ipv6 nf_defrag_ipv4 drm_ttm_helper ahci ttm libahci i40e drm megaraid_sas(OE) libcrc32c libata crc32c_intel i2c_algo_bit dm_mirror dm_region_hash dm_log dm_mod [last unloaded: tracedev]
[11953.959775] CR2: ffff93a8a2c2a368

Environment

  • Red Hat Enterprise Linux 8
    • kernel-4.18.0-240.*el8 or above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content