vhci_hcd: connection closed vhci_hcd: stop threads vhci_hcd: release socket kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6138 Comm: syz-executor.0 Not tainted 4.19.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 vhci_hcd: Failed attach request for unsupported USB speed: UNKNOWN RIP: 0010:__lock_acquire+0x1eb/0x3ff0 kernel/locking/lockdep.c:3294 Code: 2b 29 00 00 48 81 c4 98 01 00 00 44 89 f8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 b3 2a 00 00 49 81 3e 20 d2 66 8c 0f 84 65 ff ff vhci_hcd: disconnect device RSP: 0018:ffff888209ecf7d0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 00000000000000fc RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88804676e480 R14: 00000000000007e0 R15: 0000000000000001 FS: 00007f1b4871d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000540198 CR3: 000000020fef5000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3907 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:152 try_to_wake_up+0x7b/0x1050 kernel/sched/core.c:1961 attach_store+0x65b/0xaa0 drivers/usb/usbip/vhci_sysfs.c:421 dev_attr_store+0x56/0x80 drivers/base/core.c:966 sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:140 kernfs_fop_write+0x2b0/0x470 fs/kernfs/file.c:316 __vfs_write+0xf7/0x770 fs/read_write.c:485 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x41913f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 vhci_hcd vhci_hcd.0: pdev(4) rhport(0) sockfd(3) RSP: 002b:00007f1b4871cb90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 vhci_hcd vhci_hcd.0: devid(0) speed(1) speed_str(low-speed) RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 000000000041913f vhci_hcd: connection closed vhci_hcd: stop threads RDX: 0000000000000007 RSI: 00007f1b4871cbe0 RDI: 0000000000000006 RBP: 0000000000000006 R08: 0000000000000000 R09: 00007f1b4871cb30 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000004afb38 R13: 00007f1b4871cbe0 R14: 0000000000000000 R15: 0000000000022000 vhci_hcd: release socket Modules linked in: ---[ end trace 3d60e5dc3363b1e3 ]--- vhci_hcd: disconnect device RIP: 0010:__lock_acquire+0x1eb/0x3ff0 kernel/locking/lockdep.c:3294 Code: 2b 29 00 00 48 81 c4 98 01 00 00 44 89 f8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 b3 2a 00 00 49 81 3e 20 d2 66 8c 0f 84 65 ff ff vhci_hcd vhci_hcd.0: pdev(1) rhport(1) sockfd(3) RSP: 0018:ffff888209ecf7d0 EFLAGS: 00010006 vhci_hcd vhci_hcd.0: devid(0) speed(1) speed_str(low-speed) RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 vhci_hcd: connection closed vhci_hcd: stop threads RDX: 00000000000000fc RSI: 0000000000000000 RDI: 0000000000000001 vhci_hcd: release socket RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88804676e480 R14: 00000000000007e0 R15: 0000000000000001 FS: 00007f1b4871d700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000540198 CR3: 000000020fef5000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400