RHEL7: kernel panic at __list_del_entry from smb2_reconnect_server

Solution Verified - Updated -

Issue

  • Kernel panic with logs:
[1776376.706629] CIFS VFS: Send error in SessSetup = -127
[1776376.714900] Status code returned 0xc0000071 STATUS_PASSWORD_EXPIRED
[1776376.714907] CIFS VFS: Send error in SessSetup = -127
[1776377.575188] BUG: unable to handle kernel paging request at 0000200000000000
[1776377.575365] IP: [<ffffffff88dbd37d>] __list_del_entry+0x2d/0xe0
[1776377.575482] PGD 0 
[1776377.575588] Oops: 0000 [#1] SMP 
[1776377.575697] Modules linked in: vsock_diag unix_diag af_packet_diag netlink_diag udp_diag cmac arc4 md4 nls_utf8 cifs ccm rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache tcp_diag inet_diag ip6table_filter ip6_tables iptable_filter xt_REDIRECT nf_nat_redirect iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack vmw_vsock_vmci_transport vsock sunrpc ext4 mbcache jbd2 iosf_mbi crc32_pclmul ppdev ghash_clmulni_intel aesni_intel lrw vmw_balloon gf128mul glue_helper ablk_helper cryptd joydev pcspkr sg vmw_vmci parport_pc parport binfmt_misc ip_tables xfs libcrc32c ata_generic pata_acpi vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod crc_t10dif drm crct10dif_generic nfit ata_piix libnvdimm libata crct10dif_pclmul crct10dif_common
[1776377.576890]  crc32c_intel serio_raw vmxnet3 vmw_pvscsi drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod fuse
[1776377.577203] CPU: 6 PID: 13278 Comm: kworker/6:6 Kdump: loaded Tainted: G        W      ------------ T 3.10.0-1160.102.1.el7.x86_64 #1
[1776377.577530] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
[1776377.577887] Workqueue: cifsiod smb2_reconnect_server [cifs]
[1776377.578234] task: ffffa0b1848a3180 ti: ffffa0ac34da0000 task.ti: ffffa0ac34da0000
[1776377.578593] RIP: 0010:[<ffffffff88dbd37d>]  [<ffffffff88dbd37d>] __list_del_entry+0x2d/0xe0
[1776377.578983] RSP: 0018:ffffa0ac34da3d70  EFLAGS: 00010207
[1776377.579363] RAX: 0000200000000000 RBX: ffffa0b74b697800 RCX: dead000000000200
[1776377.579757] RDX: ffffd8a1dbc4de80 RSI: 0000000000000000 RDI: ffffa0b74b697800
[1776377.580214] RBP: ffffa0ac34da3d70 R08: ffffa0ac2d5b8a00 R09: 0000000100200002
[1776377.580663] R10: 000000002d5b9601 R11: ffffa0ac2d5b8a00 R12: ffffd8a1f7946a00
[1776377.581086] R13: 0000000000000001 R14: ffffa0b63a2f2018 R15: ffffa0b74b697800
[1776377.581518] FS:  0000000000000000(0000) GS:ffffa0bcf7300000(0000) knlGS:0000000000000000
[1776377.581958] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1776377.582405] CR2: 0000200000000000 CR3: 000000119af4a000 CR4: 0000000000760fe0
[1776377.582892] PKRU: 00000000
[1776377.583379] Call Trace:
[1776377.583855]  [<ffffffffc08c1eb8>] cifs_put_tcon.part.32+0x68/0x190 [cifs]
[1776377.584349]  [<ffffffffc08c1ffc>] cifs_put_tcon+0x1c/0x30 [cifs]
[1776377.584888]  [<ffffffffc08f465d>] smb2_reconnect_server+0x16d/0x2c0 [cifs]
[1776377.585385]  [<ffffffff88ac32ef>] process_one_work+0x17f/0x440
[1776377.585896]  [<ffffffff88ac4436>] worker_thread+0x126/0x3c0
[1776377.586401]  [<ffffffff88ac4310>] ? manage_workers.isra.26+0x2b0/0x2b0
[1776377.586913]  [<ffffffff88acb621>] kthread+0xd1/0xe0
[1776377.587441]  [<ffffffff88acb550>] ? insert_kthread_work+0x40/0x40
[1776377.587987]  [<ffffffff891c51dd>] ret_from_fork_nospec_begin+0x7/0x21
[1776377.588516]  [<ffffffff88acb550>] ? insert_kthread_work+0x40/0x40
[1776377.589046] Code: 8b 17 48 b9 00 01 00 00 00 00 ad de 48 8b 47 08 48 89 e5 48 39 ca 74 31 48 b9 00 02 00 00 00 00 ad de 48 39 c8 0f 84 8a 00 00 00 <4c> 8b 00 4c 39 c7 75 5f 4c 8b 42 08 4c 39 c7 75 33 48 89 42 08 
[1776377.590234] RIP  [<ffffffff88dbd37d>] __list_del_entry+0x2d/0xe0
[1776377.590851]  RSP <ffffa0ac34da3d70>
[1776377.591448] CR2: 0000200000000000

Environment

  • Red Hat Enterprise Linux 7
  • Seen on kernel-3.10.0-1160.102.1.el7
  • [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