RHEL8: kernel panic at cifs_reconnect with "no target servers for DFS failover"

Solution Verified - Updated -

Issue

  • Kernel panic with below logs:
[ 2624.510422] CIFS: VFS: \\cifs.remote cifs_reconnect: no target servers for DFS failover
[ 2624.510581] BUG: unable to handle kernel paging request at fffffffffffffff8
[ 2624.510585] PGD ac13067 P4D ac13067 PUD ac15067 PMD 0 
[ 2624.510593] Oops: 0000 [#1] SMP PTI
[ 2624.510599] CPU: 0 PID: 1573 Comm: cifsd Kdump: loaded Not tainted 4.18.0-305.7.1.el8_4.x86_64 #1
[ 2624.510603] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[ 2624.510679] RIP: 0010:cifs_reconnect+0x41e/0xe00 [cifs]
[ 2624.510685] Code: 00 48 8b 6d 08 48 39 f5 0f 84 6b 05 00 00 48 83 ed 08 0f 84 61 05 00 00 85 c0 74 0e 0f 1f 44 00 00 48 85 ed 0f 84 30 04 00 00 <4c> 8b 65 00 48 8b 7b 50 e8 e5 e0 5a e6 4c 89 e7 e8 7d cf ff ff 48
[ 2624.510689] RSP: 0018:ffffa4eb822bbd98 EFLAGS: 00010282
[ 2624.510694] RAX: 0000000000000000 RBX: ffff897809cca800 RCX: 0000000000000000
[ 2624.510697] RDX: ffff89780ec817c0 RSI: ffffa4eb822bbdd0 RDI: ffff897809cca9c0
[ 2624.510701] RBP: fffffffffffffff8 R08: 0000000000000000 R09: ffff897809cca970
[ 2624.510704] R10: ffff89780f1bb440 R11: 0000000000000001 R12: ffffa4eb822bbdb8
[ 2624.510708] R13: ffff897809cca9c0 R14: ffff897809e74800 R15: ffffa4eb822bbdb8
[ 2624.510712] FS:  0000000000000000(0000) GS:ffff89783bc00000(0000) knlGS:0000000000000000
[ 2624.510716] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2624.510719] CR2: fffffffffffffff8 CR3: 000000000ac10004 CR4: 00000000001706f0
[ 2624.510778] Call Trace:
[ 2624.510824]  cifs_handle_standard+0x187/0x190 [cifs]
[ 2624.510860]  cifs_demultiplex_thread+0xa48/0xbf0 [cifs]
[ 2624.510896]  ? cifs_handle_standard+0x190/0x190 [cifs]
[ 2624.510959]  kthread+0x116/0x130
[ 2624.510974]  ? kthread_flush_work_fn+0x10/0x10
[ 2624.511019]  ret_from_fork+0x35/0x40
[ 2624.511025] Modules linked in: xt_CHECKSUM ipt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 nft_compat nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink tun bridge stp llc md4 sha512_ssse3 sha512_generic cmac nls_utf8 cifs rdma_cm iw_cm ib_cm ib_core libarc4 dns_resolver vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock intel_rapl_msr intel_rapl_common sb_edac crct10dif_pclmul crc32_pclmul ghash_clmulni_intel rapl vmw_balloon joydev pcspkr vmw_vmci i2c_piix4 auth_rpcgss sunrpc ip_tables xfs libcrc32c sr_mod cdrom vmwgfx drm_kms_helper sd_mod t10_pi syscopyarea sysfillrect sysimgblt fb_sys_fops sg ttm ata_generic drm crc32c_intel serio_raw ahci libahci vmxnet3 ata_piix vmw_pvscsi libata dm_mirror dm_region_hash dm_log dm_mod fuse
[ 2624.511152] CR2: fffffffffffffff8

Environment

  • Red Hat Enterprise Linux
  • 4.18.0-240.15.1.el8_3.x86_64, kernel-4.18.0-305.7.1.el8_4
  • cifsd vers3.1.1

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