View Issue Details

IDProjectCategoryView StatusLast Update
0017740CentOS-8cifs-utilspublic2020-09-20 04:39
Reporterhurleyef 
PriorityurgentSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version8.2.2004 
Target VersionFixed in Version 
Summary0017740: Cifs transfers fail after about 2MB
DescriptionCifs transfers fail after about 2MB. This issue is reproducible 100% of the time for me on both kernel 4.18.0-193.14.2.el8_2.x86_64 and 4.18.0-193.19.1.el8_2.x86_64. Whether the share is being hosted by a Windows server or Centos doesn't seem to make a difference. I've tested this with VMs on hyper-v and esxi. The only workaround I know of is to blacklist the 8.2 kernels in yum.
Steps To Reproduce1. Install cifs-utils on a centos 8.2 machine.
2. Mount a samba or smb share hosted on a remote server.
3. Copy a file larger than 3MB from the network share to a local device.
Additional Information[ 11.894350] vmxnet3 0000:0b:00.0 ens192: intr type 3, mode 0, 3 vectors allocated
[ 11.895744] vmxnet3 0000:0b:00.0 ens192: NIC Link is Up 10000 Mbps
[ 81.179155] Key type dns_resolver registered
[ 81.340491] Key type cifs.spnego registered
[ 81.340499] Key type cifs.idmap registered
[ 81.341712] CIFS: Attempting to mount //smb.int.domain.tld/share
[ 83.744379] srv rsp padded more than expected. Length 384 not 208 for cmd:5 mid:5
[ 194.582292] WARNING: CPU: 0 PID: 5394 at mm/page_alloc.c:4106 __alloc_pages_slowpath+0xbc8/0xd60
[ 194.582295] Modules linked in: arc4 libarc4 md4 sha512_ssse3 sha512_generic cmac nls_utf8 cifs dns_resolver nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nft_chain_route_ipv6 nft_chain_nat_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack nft_chain_route_ipv4 ip6_tables nft_compat ip_set nf_tables nfnetlink vmw_vsock_vmci_transport vsock vfat fat ext4 mbcache jbd2 intel_rapl_msr intel_rapl_common sb_edac crct10dif_pclmul crc32_pclmul ghash_clmulni_intel vmw_balloon intel_rapl_perf joydev pcspkr vmw_vmci i2c_piix4 ip_tables xfs libcrc32c ata_generic vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops sd_mod ttm sg ata_piix drm crc32c_intel libata serio_raw vmxnet3 vmw_pvscsi dm_mirror dm_region_hash dm_log dm_mod fuse
[ 194.582462] CPU: 0 PID: 5394 Comm: cifsd Not tainted 4.18.0-193.19.1.el8_2.x86_64 #1
[ 194.582464] Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.13989454.B64.1906190538 06/19/2019
[ 194.582469] RIP: 0010:__alloc_pages_slowpath+0xbc8/0xd60
[ 194.582483] Code: 24 0c 00 00 00 00 c7 44 24 50 00 00 00 00 c7 44 24 3c 01 00 00 00 e9 71 fd ff ff 31 c0 41 81 e6 00 02 00 00 0f 85 14 fa ff ff <0f> 0b e9 0d fa ff ff 65 48 8b 04 25 80 5c 01 00 8b 74 24 58 3b b0
[ 194.582485] RSP: 0018:ffffa42582efb928 EFLAGS: 00010246
[ 194.582488] RAX: 0000000000000000 RBX: 0000000000484020 RCX: ffff8c777ffd7cd0
[ 194.582490] RDX: ffffa42582efba20 RSI: 000000000000000b RDI: 0000000000484020
[ 194.582491] RBP: 000000000000000b R08: 0000000000000000 R09: 0000000000000701
[ 194.582492] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000484020
[ 194.582493] R13: 0000000000000000 R14: 0000000000000000 R15: ffff8c775f42b800
[ 194.582496] FS: 0000000000000000(0000) GS:ffff8c777fc00000(0000) knlGS:0000000000000000
[ 194.582498] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 194.582499] CR2: 000056230a080000 CR3: 0000000022a0a005 CR4: 00000000000606f0
[ 194.582571] Call Trace:
[ 194.582655] ? skb_copy_bits+0x70/0x250
[ 194.582667] ? vmxnet3_tq_xmit.isra.63+0x5c2/0xe00 [vmxnet3]
[ 194.582716] ? __switch_to_asm+0x35/0x70
[ 194.582720] ? __switch_to_asm+0x35/0x70
[ 194.582722] ? __switch_to_asm+0x35/0x70
[ 194.582725] ? __switch_to_asm+0x35/0x70
[ 194.582727] ? __switch_to_asm+0x41/0x70
[ 194.582731] __alloc_pages_nodemask+0x245/0x280
[ 194.582756] kmalloc_order+0x14/0x30
[ 194.582761] kmalloc_order_trace+0x1d/0xa0
[ 194.582812] gcmaes_decrypt.constprop.15+0xd4/0x380
[ 194.582853] ? __crypto_alloc_tfm+0x14f/0x180
[ 194.582857] ? crypto_alloc_base+0x3c/0xd0
[ 194.582861] ? __alloc_pages_nodemask+0xef/0x280
[ 194.582866] ? generic_gcmaes_decrypt+0x56/0x70
[ 194.582921] ? crypt_message+0x5cc/0x8d0 [cifs]
[ 194.582925] ? generic_gcmaes_decrypt+0x56/0x70
[ 194.582965] ? crypt_message+0x7ce/0x8d0 [cifs]
[ 194.583006] ? decrypt_raw_data+0xb2/0x140 [cifs]
[ 194.583047] ? smb3_receive_transform+0x61a/0x7b0 [cifs]
[ 194.583080] ? cifs_demultiplex_thread+0xaf0/0xbd0 [cifs]
[ 194.583113] ? cifs_handle_standard+0x1a0/0x1a0 [cifs]
[ 194.583132] ? kthread+0x112/0x130
[ 194.583137] ? kthread_flush_work_fn+0x10/0x10
[ 194.583140] ? ret_from_fork+0x35/0x40
[ 194.583144] ---[ end trace 8f600f3e7b33aa6f ]---
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-09-19 23:57 hurleyef New Issue