cifsd-team / ksmbd

ksmbd kernel server(SMB/CIFS server)
151 stars 23 forks source link

new crash log #573

Open ptpt52 opened 1 year ago

ptpt52 commented 1 year ago
[   75.178768] pci 0000:00:04.0:   bridge window [io  0xc000-0xcfff]
[   75.181074] pci 0000:00:04.0:   bridge window [mem 0xfe600000-0xfe7fffff]
[   75.183105] pci 0000:00:04.0:   bridge window [mem 0xfc800000-0xfc9fffff 64bit pref]
[   75.186635] pci 0000:00:03.0: PCI bridge to [bus 01]
[   75.187621] pci 0000:00:03.0:   bridge window [io  0xd000-0xdfff]
[   75.189945] pci 0000:00:03.0:   bridge window [mem 0xfe800000-0xfe9fffff]
[   75.191986] pci 0000:00:03.0:   bridge window [mem 0xfca00000-0xfcbfffff 64bit pref]
[   75.195394] pci 0000:00:04.0: PCI bridge to [bus 02]
[   75.196427] pci 0000:00:04.0:   bridge window [io  0xc000-0xcfff]
[   75.198769] pci 0000:00:04.0:   bridge window [mem 0xfe600000-0xfe7fffff]
[   75.200810] pci 0000:00:04.0:   bridge window [mem 0xfc800000-0xfc9fffff 64bit pref]
[   75.205293] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   92.614066] ksmbd: user not present in database
[   92.729789] general protection fault, probably for non-canonical address 0x240f80004073d: 0000 [#1] SMP PTI
[   92.731651] CPU: 1 PID: 10389 Comm: ksmbd:59861 Kdump: loaded Not tainted 5.10.134 #0
[   92.733140] Hardware name: Tencent Cloud CVM, BIOS seabios-1.9.1-qemu-project.org 04/01/2014
[   92.734731] RIP: 0010:__pv_queued_spin_lock_slowpath+0x1a9/0x2b0
[   92.735857] Code: eb 9e 83 e0 03 c1 ea 12 4c 8d 73 14 41 bf 01 00 00 00 48 c1 e0 05 4c 8d a8 40 5b 02 00 8d 42 ff 48 98 4c 03 2c c5 a0 d6 2f 82 <49> 89 5d 00 b8 00 80 00 00 eb 14 84 c0 75 09 41 0f b6 55 14 84 d2
[   92.739155] RSP: 0018:ffffc900019bbdc8 EFLAGS: 00010202
[   92.740151] RAX: 0000000000001ad9 RBX: ffff88807fd25b40 RCX: 0000000000000001
[   92.741441] RDX: 0000000000001ada RSI: 0000000000000000 RDI: 0000000000000000
[   92.742772] RBP: ffffc900019bbe00 R08: 0000000000080000 R09: ffffffffffffffc0
[   92.744073] R10: 0000000000000001 R11: 0000000000000000 R12: ffff888009ce8e7c
[   92.745370] R13: 000240f80004073d R14: ffff88807fd25b54 R15: 0000000000000001
[   92.746665] FS:  0000000000000000(0000) GS:ffff88807fd00000(0000) knlGS:0000000000000000
[   92.748186] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   92.749261] CR2: 00007fdee8402244 CR3: 0000000009d06006 CR4: 00000000003706e0
[   92.750549] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   92.751837] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   92.753125] Call Trace:
[   92.753688]  queued_write_lock_slowpath+0x79/0x80
[   92.754606]  _raw_write_lock+0x1b/0x30
[   92.755382]  ksmbd_chann_del+0x16/0xb0 [ksmbd]
[   92.756265]  ksmbd_sessions_deregister+0xf6/0x160 [ksmbd]
[   92.757288]  ksmbd_server_terminate_conn+0xe/0x30 [ksmbd]
[   92.758314]  ksmbd_conn_handler_loop+0x12d/0x250 [ksmbd]
[   92.759325]  kthread+0x126/0x140
[   92.760012]  ? ksmbd_conn_alive+0x90/0x90 [ksmbd]
[   92.760923]  ? kthread_associate_blkcg+0xb0/0xb0
[   92.761823]  ret_from_fork+0x22/0x30
[   92.762562] Modules linked in: ksmbd natcap ath9k iwl4965 iwl3945 ath9k_common rt2800usb rt2800l
ptpt52 commented 1 year ago

the ksmbd code is base on https://github.com/cifsd-team/ksmbd/commit/4c748832007beaa038bf62beee30fbce22fa9c1f

namjaejeon commented 1 year ago

FIXED(See: https://github.com/cifsd-team/ksmbd/commit/46d6e64e72db7759a0561d81b2a457dd724404f3) Thanks for your report!