RHEL9.3: kernel panic at native_queued_spin_lock_slowpath in __refresh_tcon of refresh_cache_worker

Solution Verified - Updated -

Issue

  • Kernel panic with logs:
[127311.240625] BUG: unable to handle page fault for address: ffffffff8f82d198
[127311.242451] #PF: supervisor write access in kernel mode
[127311.244064] #PF: error_code(0x0003) - permissions violation
[127311.245391] PGD 2586615067 P4D 2586615067 PUD 2586616063 PMD 80000025860000e1
[127311.246516] Oops: 0003 1 PREEMPT SMP PTI
[127311.247678] CPU: 33 PID: 1860596 Comm: kworker/u80:3 Kdump: loaded Not tainted 5.14.0-362.14.1.el9_3.x86_64 #1
[127311.248866] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 07/18/2022
[127311.250082] Workqueue: cifs-dfscache refresh_cache_worker [cifs]
[127311.251775] RIP: 0010:native_queued_spin_lock_slowpath+0x26d/0x2b0
[127311.253003] Code: fe ff ff c6 45 01 00 e9 67 fe ff ff c1 ea 12 83 e0 03 83 ea 01 48 c1 e0 05 48 63 d2 48 05 40 29 03 00 48 03 04 d5 00 7b 7e 8f <48> 89 18 8b 43 08 85 c0 75 09 f3 90 8b 43 08 85 c0 74 f7 48 8b 13
[127311.255609] RSP: 0000:ffffa8d602677d70 EFLAGS: 00010282
[127311.256928] RAX: ffffffff8f82d198 RBX: ffff9d917fb72940 RCX: 0000000000880000
[127311.258265] RDX: 0000000000002409 RSI: 0000000090295000 RDI: ffff9d3412c22158
[127311.259634] RBP: ffff9d3412c22158 R08: ffffa8d602677dd0 R09: ffffa8d602677dd0
[127311.261018] R10: ffff9d52a9870fe0 R11: ffffa8d602677d24 R12: 0000000000000000
[127311.262425] R13: 0000000000000021 R14: ffff9ce04281e901 R15: ffff9ce883a0c000
[127311.263795] FS: 0000000000000000(0000) GS:ffff9d917fb40000(0000) knlGS:0000000000000000
[127311.265164] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[127311.266534] CR2: ffffffff8f82d198 CR3: 0000006188d08001 CR4: 00000000001706e0
[127311.267915] Call Trace:
[127311.269261] <TASK>
[127311.270612] ? show_trace_log_lvl+0x1c4/0x2df
[127311.271986] ? show_trace_log_lvl+0x1c4/0x2df
[127311.273341] ? _raw_spin_lock+0x25/0x30
[127311.274678] ? __die_body.cold+0x8/0xd
[127311.276015] ? page_fault_oops+0x134/0x170
[127311.277366] ? kernelmode_fixup_or_oops+0x84/0x110
[127311.278709] ? exc_page_fault+0xa8/0x150
[127311.280044] ? asm_exc_page_fault+0x22/0x30
[127311.281402] ? native_queued_spin_lock_slowpath+0x26d/0x2b0
[127311.283306] _raw_spin_lock+0x25/0x30
[127311.284941] __refresh_tcon.isra.0+0x2db/0x720 [cifs]
[127311.286612] refresh_cache_worker+0x202/0x290 [cifs]
[127311.288298] process_one_work+0x1e5/0x3b0
[127311.289661] worker_thread+0x50/0x3a0
[127311.291026] ? __pfx_worker_thread+0x10/0x10
[127311.292401] kthread+0xe0/0x100
[127311.293752] ? __pfx_kthread+0x10/0x10
[127311.295104] ret_from_fork+0x2c/0x50
[127311.296467] </TASK>
[127311.297792] Modules linked in: xt_REDIRECT ip_vs_rr xt_ipvs ip_vs vxlan ip6_udp_tunnel udp_tunnel xt_policy xt_mark xt_bpf xt_nat veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nft_counter xt_addrtype nft_compat br_netfilter bridge stp llc rpcsec_gss_krb5 nfsv4 nfsv3 nfs fscache nls_utf8 netfs cifs rpcrdma cifs_arc4 rdma_cm iw_cm ib_cm ib_core cifs_md4 dns_resolver binfmt_misc tls overlay 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 ext4 mbcache jbd2 vfat fat squashfs loop intel_rapl_msr intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel ipmi_ssif kvm iTCO_wdt irqbypass iTCO_vendor_support rapl intel_cstate intel_uncore pcspkr acpi_ipmi i2c_i801 ipmi_si i2c_smbus lpc_ich ioatdma hpilo ipmi_devintf dca ipmi_msghandler acpi_tad acpi_power_meter nfsd nfs_acl lockd auth_rpcgss grace sunrpc
[127311.297930] xfs sr_mod cdrom mgag200 drm_kms_helper sd_mod syscopyarea sysfillrect sysimgblt i2c_algo_bit drm_shmem_helper sg ahci crct10dif_pclmul libahci drm crc32_pclmul bnx2x libata hpsa ghash_clmulni_intel tg3 nvme hpwdt nvme_core scsi_transport_sas wmi nvme_common mdio libcrc32c t10_pi crc32c_intel dm_mirror dm_region_hash dm_log dm_mod fuse
[127311.328290] CR2: ffffffff8f82d198

Environment

  • Red Hat Enterprise Linux 9.3
  • kernel-5.14.0-362.14.1.el9_3
  • [cifs]

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