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

Vidhesh Ramesh vidhesh.ramesh at komprise.com
Wed Aug 26 07:58:57 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_reconnect - 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:26 PM
To: linux-cifs at vger.kernel.org <linux-cifs at vger.kernel.org>
Subject: Oops in cifs_reconnect - 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)
[366603.058360] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
[366603.058730] IP: cifs_reconnect+0x286/0x620 [cifs]
[366603.059062] PGD 8000000426291067 P4D 8000000426291067 PUD 42af59067 PMD 0
[366603.059418] Oops: 0000 [#1] SMP PTI
[366603.059803] Modules linked in: rpcsec_gss_krb5 nfsv4 nfs cmac 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 sb_edac crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc ppdev aesni_intel crypto_simd glue_helper cryptd vmw_balloon intel_rapl_perf pcspkr joydev input_leds sg parport_pc parport i2c_piix4
[366603.064108]  vmw_vmci shpchp nfsd nfs_acl lockd auth_rpcgss grace sunrpc ip_tables xfs libcrc32c sr_mod cdrom sd_mod ata_generic pata_acpi crc32c_intel serio_raw vmxnet3 mptspi mptscsih mptbase scsi_transport_spi vmwgfx ata_piix drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm libata drm floppy dm_mirror dm_region_hash dm_log dm_mod dax
[366603.066558] CPU: 6 PID: 5920 Comm: cifsd Tainted: G        W        4.16.2-1.el7.elrepo.x86_64 #1
[366603.067888] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/05/2016
[366603.069252] RIP: 0010:cifs_reconnect+0x286/0x620 [cifs]
[366603.069947] RSP: 0018:ffffc90005a53d70 EFLAGS: 00010203
[366603.070641] RAX: 0000000000000001 RBX: ffff88042b599c00 RCX: 0000000000000000
[366603.071413] RDX: 0000000000000000 RSI: 0000000000000246 RDI: 0000000000000246
[366603.072144] RBP: ffffc90005a53dc0 R08: 0000000000000005 R09: ffff88042d6c8000
[366603.072934] R10: 00000000000002d4 R11: 000000000000b6bf R12: 0000000000000000
[366603.073669] R13: ffffc90005a53d80 R14: ffff88035d086680 R15: ffff88035d086f00
[366603.074406] FS:  0000000000000000(0000) GS:ffff88043fd80000(0000) knlGS:0000000000000000
[366603.075162] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[366603.076031] CR2: 0000000000000000 CR3: 0000000427c88000 CR4: 00000000000406e0
[366603.076896] Call Trace:
[366603.077706]  cifs_readv_from_socket+0x1b4/0x200 [cifs]
[366603.078621]  cifs_read_from_socket+0x52/0x70 [cifs]
[366603.079458]  cifs_demultiplex_thread+0x11b/0xa90 [cifs]
[366603.080313]  kthread+0x105/0x140
[366603.081182]  ? cifs_handle_standard+0x190/0x190 [cifs]
[366603.082048]  ? kthread_bind+0x20/0x20
[366603.082896]  ? do_syscall_64+0x79/0x1b0
[366603.083716]  ret_from_fork+0x35/0x40
[366603.084541] Code: e7 da e0 84 c0 74 0e 49 8b 17 49 8b 47 08 48 89 42 08 48 89 10 49 8b 47 38 4d 89 3f 4c 89 ff 4d 89 7f 08 e8 4d 3f 5e e1 4d 39 ec <49> 8b 04 24 75 c4 65 4c 8b 2c 25 40 5c 01 00 eb 31 f6 05 66 0a
[366603.087050] RIP: cifs_reconnect+0x286/0x620 [cifs] RSP: ffffc90005a53d70
[366603.087856] CR2: 0000000000000000
[7.] A small shell script or example program which triggers the
     problem (if possible)

Vidhesh Ramesh


More information about the samba-technical mailing list