Oops in cifs_negotiate_protocol - linux kernel 4.16.2-1.el7.elrepo.x86_64

Vidhesh Ramesh vidhesh.ramesh at komprise.com
Wed Aug 26 07:57:14 UTC 2020


Adding Steve and samba-technical.

Vidhesh Ramesh

From: Vidhesh Ramesh <vidhesh.ramesh at komprise.com>
Sent: Tuesday, August 25, 2020 2:16 PM
To: linux-cifs at vger.kernel.org <linux-cifs at vger.kernel.org>
Subject: Re: Oops in cifs_negotiate_protocol - linux kernel 4.16.2-1.el7.elrepo.x86_64 
 
Resending again. This is OOPS seen on centos running kernel 4.16. I wanted to check and see if this has been fixed in kernel 4.19 ?

Vidhesh Ramesh

From: Vidhesh Ramesh
Sent: Monday, August 17, 2020 5:23 PM
To: linux-cifs at vger.kernel.org <linux-cifs at vger.kernel.org>
Subject: Oops in cifs_negotiate_protocol - linux kernel 4.16.2-1.el7.elrepo.x86_64 
 
[1.] One line summary of the problem:
oops kernel panic
[2.] Full description of the problem/report:
ESX VM hangs with a kernel panic when cifs shares are mounted and unmounted. Unable to ssh to the VM and the console of the VM is also not responding. With kdump service running and core collected the VM restarts successfully.
[3.] Keywords (i.e., modules, networking, kernel):
cifs, kernel, panic, mount
[4.] Kernel information
[4.1.] Kernel version (from /proc/version):
Linux version 4.16.2-1.el7.elrepo.x86_64 (mockbuild at Build64R7) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)) #1 SMP Thu Apr 12 09:08:05 EDT 2018
[4.2.] Kernel .config file:
Please check the file uploaded
[5.] Most recent kernel version which did not have the bug:
[6.] Output of Oops.. message (if applicable) with symbolic information
     resolved (see Documentation/admin-guide/oops-tracing.rst)
[255120.498118] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038
[255120.498520] IP: cifs_negotiate_protocol+0x15/0xd0 [cifs]
[255120.498805] PGD 800000042a54c067 P4D 800000042a54c067 PUD 4276f0067 PMD 0
[255120.499119] Oops: 0000 [#1] SMP PTI
[255120.499398] Modules linked in: rpcsec_gss_krb5 cmac nfsv4 nfs fscache arc4 md4 nls_utf8 cifs ccm dns_resolver nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ipt_REJECT nf_reject_ipv4 ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter vmw_vsock_vmci_transport vsock ppdev sb_edac crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc vmw_balloon aesni_intel crypto_simd glue_helper cryptd intel_rapl_perf joydev input_leds pcspkr sg parport_pc parport vmw_vmci shpchp
[255120.503180]  i2c_piix4 nfsd nfs_acl lockd auth_rpcgss grace sunrpc ip_tables xfs libcrc32c sr_mod cdrom sd_mod ata_generic pata_acpi serio_raw crc32c_intel floppy vmxnet3 vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ata_piix drm libata mptspi mptscsih mptbase scsi_transport_spi dm_mirror dm_region_hash dm_log dm_mod dax
[255120.505469] CPU: 0 PID: 6419 Comm: kworker/0:0 Not tainted 4.16.2-1.el7.elrepo.x86_64 #1
[255120.506098] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/05/2016
[255120.507412] Workqueue: cifsiod smb2_reconnect_server [cifs]
[255120.508111] RIP: 0010:cifs_negotiate_protocol+0x15/0xd0 [cifs]
[255120.508827] RSP: 0018:ffffc900113e7d40 EFLAGS: 00010246
[255120.509536] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffffa061a340
[255120.510256] RDX: ffff88042d725d00 RSI: ffff88042bb9ae00 RDI: 0000000000000000
[255120.510987] RBP: ffffc900113e7d58 R08: 0000000000000271 R09: 0000000000000000
[255120.511724] R10: 0000000000000001 R11: 000000000000026b R12: ffff88042bb9ae00
[255120.512476] R13: ffff880399229568 R14: ffffffffa061a000 R15: 0000000000000001
[255120.513246] FS:  0000000000000000(0000) GS:ffff88043fc00000(0000) knlGS:0000000000000000
[255120.514048] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[255120.514832] CR2: 0000000000000038 CR3: 000000042a5b2000 CR4: 00000000000406f0
[255120.515696] Call Trace:
[255120.516545]  smb2_reconnect+0x108/0x420 [cifs]
[255120.517410]  ? remove_wait_queue+0x60/0x60
[255120.518249]  smb2_reconnect_server+0x1d4/0x340 [cifs]
[255120.519102]  process_one_work+0x15f/0x370
[255120.519962]  worker_thread+0x4d/0x3e0
[255120.520808]  kthread+0x105/0x140
[255120.521642]  ? max_active_store+0x80/0x80
[255120.522456]  ? kthread_bind+0x20/0x20
[255120.523254]  ? do_syscall_64+0x79/0x1b0
[255120.524035]  ret_from_fork+0x35/0x40
[255120.524791] Code: 64 a0 e8 ff 08 ab e0 5b 41 5c 41 5d 5d c3 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 48 89 e5 41 55 41 54 49 89 f4 53 48 8b 5e 48 <48> 8b 43 38 48 8b 90 b8 00 00 00 48 85 d2 0f 84 97 00 00 00 48
[255120.527052] RIP: cifs_negotiate_protocol+0x15/0xd0 [cifs] RSP: ffffc900113e7d40
[255120.527807] CR2: 0000000000000038
[7.] A small shell script or example program which triggers the
     problem (if possible)

Vidhesh Ramesh
















More information about the samba-technical mailing list