vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3) vhci_hcd vhci_hcd.0: devid(0) speed(1) speed_str(low-speed) general protection fault, probably for non-canonical address 0xdffffc0000000118: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000008c0-0x00000000000008c7] CPU: 1 PID: 10139 Comm: syz-executor.0 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0xd94/0x54f0 kernel/locking/lockdep.c:4702 Code: 48 0d 41 bf 01 00 00 00 0f 86 8e 00 00 00 89 05 a2 1a 48 0d e9 83 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 0c 30 00 00 49 81 3e c0 f2 75 8e 0f 84 39 f3 ff RSP: 0018:ffffc90000f97828 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000118 RSI: 0000000000000000 RDI: 00000000000008c0 RBP: ffff88801b70e380 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 00000000000008c0 R15: 0000000000000000 FS: 00007f853e4aa700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a3b0b8e1a8 CR3: 000000002b423000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5442 [inline] lock_acquire+0x1a8/0x720 kernel/locking/lockdep.c:5407 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 try_to_wake_up+0x98/0x14a0 kernel/sched/core.c:3349 __attach_store drivers/usb/usbip/vhci_sysfs.c:405 [inline] attach_store drivers/usb/usbip/vhci_sysfs.c:418 [inline] attach_store.cold+0x1f9/0x25a drivers/usb/usbip/vhci_sysfs.c:411 dev_attr_store+0x50/0x80 drivers/base/core.c:1861 sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x342/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:1901 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x791/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x418f7f 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 RSP: 002b:00007f853e4a9b90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000000418f7f RDX: 0000000000000007 RSI: 00007f853e4a9be0 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007f853e4a9b30 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000004af938 R13: 00007f853e4a9be0 R14: 0000000000000000 R15: 0000000000022000 Modules linked in: ---[ end trace 88088e5981022efd ]--- RIP: 0010:__lock_acquire+0xd94/0x54f0 kernel/locking/lockdep.c:4702 Code: 48 0d 41 bf 01 00 00 00 0f 86 8e 00 00 00 89 05 a2 1a 48 0d e9 83 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 0c 30 00 00 49 81 3e c0 f2 75 8e 0f 84 39 f3 ff RSP: 0018:ffffc90000f97828 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000118 RSI: 0000000000000000 RDI: 00000000000008c0 RBP: ffff88801b70e380 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 00000000000008c0 R15: 0000000000000000 FS: 00007f853e4aa700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a3b0b8e1a8 CR3: 000000002b423000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400