kernel crashes in CIFS code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-hwe-6.2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I've had several crashes like this on 2 different systems mounting the same SMB server.
Oct 19 13:25:47 1y51573u kernel: [ 1103.030468] ------------[ cut here ]------------
Oct 19 13:25:47 1y51573u kernel: [ 1103.030477] WARNING: CPU: 2 PID: 5411 at fs/cifs/
Oct 19 13:25:47 1y51573u kernel: [ 1103.030684] Modules linked in: nls_utf8 cifs cifs_arc4 cifs_md4 fscache netfs ccm xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_
ser xfrm_algo xt_addrtype nft_compat nf_tables nfnetlink br_netfilter bridge stp llc rfcomm cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_hdmi overlay zram snd_sof_
ire_generic_
led snd_compress intel_tcc_cooling ac97_bus snd_hda_
l_sdw_acpi kvm_intel snd_hda_codec snd_hda_core snd_hwdep dell_laptop dell_smm_hwmon
Oct 19 13:25:47 1y51573u kernel: [ 1103.030844] nls_iso8859_1 kvm snd_pcm irqbypass snd_seq_midi rapl snd_seq_midi_event intel_cstate dell_wmi snd_rawmidi serio_raw uvcvideo typec_displayport dell_wmi_sysman dell_smbios snd_seq iwlmvm
btusb dcdbas btrtl snd_seq_device firmware_
k mtd libarc4 soundcore videodev bluetooth processor_
r mc ecdh_generic processor_
rmal int3403_thermal int340x_
Oct 19 13:25:47 1y51573u kernel: [ 1103.030992] soc_button_array acpi_thermal_rel acpi_pad sch_fq_codel msr parport_pc ppdev lp parport efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c r8153_ecm cdc_et
her usbnet r8152 dm_crypt mii usbhid hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 drm_buddy i2c_algo_bit hid_generic ttm crct10dif_pclmul drm_display_helper crc32_pclmul cec polyval_clmulni rc_core polyval_generic ghash_clmulni
_intel drm_kms_helper sha512_ssse3 syscopyarea aesni_intel sysfillrect rtsx_pci_sdmmc nvme sysimgblt intel_lpss_pci spi_intel_pc
i i2c_i801 ucsi_acpi intel_lpss crypto_simd nvme_core i2c_smbus xhci_pci typec_ucsi spi_intel drm intel_ish_ipc psmouse thunderbolt nvme_common i2c_hid_acpi rtsx_pci xhci_pci_renesas idma64 cryptd typec intel_ishtp i2c_hid hid video wmi pinctrl_cannonlake z3fold zstd
Oct 19 13:25:47 1y51573u kernel: [ 1103.031153] CPU: 2 PID: 5411 Comm: kworker/2:1 Not tainted 6.2.0-34-generic #34~22.04.1-Ubuntu
Oct 19 13:25:47 1y51573u kernel: [ 1103.031162] Hardware name: Dell Inc. Latitude 7410/0M5G57, BIOS 1.24.0 07/06/2023
Oct 19 13:25:47 1y51573u kernel: [ 1103.031167] Workqueue: events delayed_mntput
Oct 19 13:25:47 1y51573u kernel: [ 1103.031180] RIP: 0010:__
Oct 19 13:25:47 1y51573u kernel: [ 1103.031364] Code: e8 48 c7 c1 70 32 fe c1 48 c7 c2 30 e4 00 c2 41 89 c1 48 c7 c6 68 7f ff c1 48 c7 c7 d0 47 05 c2 e8 a8 b5 4f de e9 21 ff ff ff <0f> 0b e9 a6 fc ff ff 49 8d 5e 20 48 89 df e8 00 47 d4 de 48 c7 c6
Oct 19 13:25:47 1y51573u kernel: [ 1103.031371] RSP: 0018:ffffb01c50
Oct 19 13:25:47 1y51573u kernel: [ 1103.031378] RAX: 00000000ffffffff RBX: ffff9d72da1353c0 RCX: 0000000000000000
Oct 19 13:25:47 1y51573u kernel: [ 1103.031383] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Oct 19 13:25:47 1y51573u kernel: [ 1103.031387] RBP: ffffb01c50b9bd68 R08: 0000000000000000 R09: 0000000000000000
Oct 19 13:25:47 1y51573u kernel: [ 1103.031391] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9d72ca687800
Oct 19 13:25:47 1y51573u kernel: [ 1103.031395] R13: ffff9d72ca687838 R14: 0000000000000000 R15: ffff9d764d7319c0
Oct 19 13:25:47 1y51573u kernel: [ 1103.031400] FS: 000000000000000
Oct 19 13:25:47 1y51573u kernel: [ 1103.031405] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 19 13:25:47 1y51573u kernel: [ 1103.031411] CR2: 00007f8ecb8df370 CR3: 0000000395e10006 CR4: 00000000003706e0
Oct 19 13:25:47 1y51573u kernel: [ 1103.031416] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 19 13:25:47 1y51573u kernel: [ 1103.031420] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct 19 13:25:47 1y51573u kernel: [ 1103.031424] Call Trace:
Oct 19 13:25:47 1y51573u kernel: [ 1103.031428] <TASK>
Oct 19 13:25:47 1y51573u kernel: [ 1103.031436] ? show_regs+0x72/0x90
Oct 19 13:25:47 1y51573u kernel: [ 1103.031448] ? __cifs_
Oct 19 13:25:47 1y51573u kernel: [ 1103.031629] ? __warn+0x8d/0x160
Oct 19 13:25:47 1y51573u kernel: [ 1103.031641] ? __cifs_
Oct 19 13:25:47 1y51573u kernel: [ 1103.031824] ? report_
Oct 19 13:25:47 1y51573u kernel: [ 1103.031834] ? handle_
Oct 19 13:25:47 1y51573u kernel: [ 1103.031847] ? exc_invalid_
Oct 19 13:25:47 1y51573u kernel: [ 1103.031858] ? asm_exc_
Oct 19 13:25:47 1y51573u kernel: [ 1103.031871] ? __cifs_
Oct 19 13:25:47 1y51573u kernel: [ 1103.032050] ? __cifs_
Oct 19 13:25:47 1y51573u kernel: [ 1103.032227] ? tconInfoFree+
Oct 19 13:25:47 1y51573u kernel: [ 1103.032430] cifs_put_
Oct 19 13:25:47 1y51573u kernel: [ 1103.032611] cifs_put_
Oct 19 13:25:47 1y51573u kernel: [ 1103.032831] cifs_umount+
Oct 19 13:25:49 1y51573u kernel: [ 1103.033015] cifs_kill_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033191] deactivate_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033204] deactivate_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033214] cleanup_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033223] delayed_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033231] process_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033242] worker_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033251] ? __pfx_worker_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033259] kthread+0xeb/0x120
Oct 19 13:25:49 1y51573u kernel: [ 1103.033270] ? __pfx_kthread+
Oct 19 13:25:49 1y51573u kernel: [ 1103.033280] ret_from_
Oct 19 13:25:49 1y51573u kernel: [ 1103.033292] </TASK>
Oct 19 13:25:49 1y51573u kernel: [ 1103.033295] ---[ end trace 0000000000000000 ]---
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.2.0-34-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Thu Oct 19 13:45:46 2023
InstallationDate: Installed on 2023-04-14 (187 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- lernel crashes in CIFS code + kernel crashes in CIFS code |
This has started happening for me since upgrading linux-image- generic- hwe-22. 04 from 6.2.0.31.31~22.04.8 to 6.2.0.32. 32~22.04. 9. It is still happening currently with 6.2.0.36. 37~22.04. 14.
I get this issue typically when (auto-) mounting or unmounting a CIFS share that has VFS, resulting in a NULL pointer dereference in the kernel and a soft lockup in the CPU. A recent example:
Oct 31 14:46:04 lipc-carsus kernel: ------------[ cut here ]------------ connect. c:1979 __cifs_ put_smb_ ses+0x3dd/ 0x4d0 [cifs] virtio_ transp> generic_ allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_ctl_led snd_soc_ acpi_intel_ match snd_soc_a> thermal_ zone int3400_thermal dell_smo8800 intel_hid acpi_thermal_rel mac_hid acpi_pad sparse_keymap > cifs_put_ smb_ses+ 0x3dd/0x4d0 [cifs] 067d20 EFLAGS: 00010286 0(0000) GS:ffff8a906c30 0000(0000) knlGS:000000000 0000000 put_smb_ ses+0x3dd/ 0x4d0 [cifs]
Oct 31 14:46:04 lipc-carsus kernel: WARNING: CPU: 4 PID: 29475 at fs/cifs/
Oct 31 14:46:04 lipc-carsus kernel: Modules linked in: nls_utf8 cifs cifs_arc4 cifs_md4 fscache netfs authenc echainiv esp4 ccm rfcomm nft_masq xfrm_user xfrm_algo nft_chain_nat nf_nat bridge stp llc vhost_vsock vmw_vsock_
Oct 31 14:46:04 lipc-carsus kernel: soundwire_
Oct 31 14:46:04 lipc-carsus kernel: hid_multitouch mei intel_rapl_common intel_soc_dts_iosf intel_pch_thermal int3403_thermal int340x_
Oct 31 14:46:04 lipc-carsus kernel: CPU: 4 PID: 29475 Comm: umount Tainted: P OE 6.2.0-35-generic #35~22.04.1-Ubuntu
Oct 31 14:46:04 lipc-carsus kernel: Hardware name: Dell Inc. Latitude 5591/0DVVG1, BIOS 1.28.0 07/04/2023
Oct 31 14:46:04 lipc-carsus kernel: RIP: 0010:__
Oct 31 14:46:04 lipc-carsus kernel: Code: e8 48 c7 c1 70 82 d5 c1 48 c7 c2 30 34 d8 c1 41 89 c1 48 c7 c6 68 cf d6 c1 48 c7 c7 d0 97 dc c1 e8 a8 65 98 c8 e9 21 ff ff ff <0f> 0b e9 a6 fc ff ff 49 8d 5e 20 48 89 df e8 00 f7 1c c9 48 c7 c6
Oct 31 14:46:04 lipc-carsus kernel: RSP: 0018:ffffa923d8
Oct 31 14:46:04 lipc-carsus kernel: RAX: 00000000ffffffff RBX: ffff8a8d13f0eee8 RCX: 0000000000000000
Oct 31 14:46:04 lipc-carsus kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
Oct 31 14:46:04 lipc-carsus kernel: RBP: ffffa923d8067d50 R08: 0000000000000000 R09: 0000000000000000
Oct 31 14:46:04 lipc-carsus kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8a8ddf627000
Oct 31 14:46:04 lipc-carsus kernel: R13: ffff8a8ddf627038 R14: 0000000000000000 R15: ffff8a8ddf627000
Oct 31 14:46:04 lipc-carsus kernel: FS: 00007f7c7b2ac80
Oct 31 14:46:04 lipc-carsus kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 31 14:46:04 lipc-carsus kernel: CR2: 000055b1b50e4400 CR3: 000000039631e002 CR4: 00000000003706e0
Oct 31 14:46:04 lipc-carsus kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 31 14:46:04 lipc-carsus kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct 31 14:46:04 lipc-carsus kernel: Call Trace:
Oct 31 14:46:04 lipc-carsus kernel: <TASK>
Oct 31 14:46:04 lipc-carsus kernel: ? show_regs+0x72/0x90
Oct 31 14:46:04 lipc-carsus kernel: ? __cifs_
Oct 31 14:46:04 lipc-carsu...