vhci_hcd: connection closed vhci_hcd: stop threads kasan: CONFIG_KASAN_INLINE enabled vhci_hcd: release socket kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 7988 Comm: syz-executor241 Not tainted 4.14.226-syzkaller #0 vhci_hcd: disconnect device Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880b3ec86c0 task.stack: ffff8880982c0000 RIP: 0010:__lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369 RSP: 0018:ffff8880982c7868 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 00000000000000fc RSI: 0000000000000000 RDI: 00000000000007e0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: ffff8880b3ec86c0 R12: 00000000000007e0 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8beb5d40 FS: 00007f8daf55b700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004b2768 CR3: 00000000aad24000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160 try_to_wake_up+0x6a/0x1100 kernel/sched/core.c:1997 store_attach+0x577/0x990 drivers/usb/usbip/vhci_sysfs.c:435 dev_attr_store+0x56/0x80 drivers/base/core.c:738 sysfs_kf_write+0x106/0x160 fs/sysfs/file.c:142 kernfs_fop_write+0x289/0x440 fs/kernfs/file.c:316 __vfs_write+0xe4/0x630 fs/read_write.c:480 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x40684f RSP: 002b:00007f8daf55ad60 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 000000000040684f RDX: 0000000000000007 RSI: 00007f8daf55adb0 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007f8daf55ad00 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f8daf55adb0 R13: 0000000000000000 R14: 00007f8daf55b400 R15: 0000000000022000 Code: 18 00 00 00 00 48 81 c4 80 01 00 00 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 67 2a 00 00 49 81 3c 24 a0 17 2e 8b 0f 84 5f RIP: __lock_acquire+0x1cc/0x3f20 kernel/locking/lockdep.c:3369 RSP: ffff8880982c7868 ---[ end trace d85b11c131318e26 ]---