usb 6-1: USB disconnect, device number 10 general protection fault, probably for non-canonical address 0xdffffc0000000125: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000928-0x000000000000092f] CPU: 1 PID: 5655 Comm: kworker/1:7 Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:__lock_acquire+0xd7a/0x5470 kernel/locking/lockdep.c:4897 Code: c7 08 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 2c 58 c7 08 e9 bd 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 9f 2e 00 00 49 81 3e e0 92 9b 89 0f 84 52 f3 ff RSP: 0018:ffffc9000bda7000 EFLAGS: 00010003 RAX: dffffc0000000000 RBX: 1ffff920017b4e2b RCX: 1ffff920017b4e12 RDX: 0000000000000125 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff116bab2 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888118479c00 R14: 000000000000092f R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020e58000 CR3: 000000010d56c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 try_to_wake_up+0xa5/0x11d0 kernel/sched/core.c:4003 swake_up_locked kernel/sched/swait.c:30 [inline] swake_up_locked kernel/sched/swait.c:22 [inline] swake_up_all_locked+0x72/0x1a0 kernel/sched/swait.c:45 complete_all+0x41/0x60 kernel/sched/completion.c:65 device_pm_remove+0x7e/0x360 drivers/base/power/main.c:158 device_del+0x50a/0xd60 drivers/base/core.c:3582 device_unregister+0x1f/0xc0 drivers/base/core.c:3614 led_classdev_unregister.part.0+0x114/0x2d0 drivers/leds/led-class.c:460 led_classdev_unregister+0x58/0x70 include/linux/err.h:41 input_leds_disconnect+0xaa/0x160 drivers/input/input-leds.c:178 __input_unregister_device+0x206/0x470 drivers/input/input.c:2189 input_unregister_device+0xb4/0xf0 drivers/input/input.c:2379 hidinput_disconnect+0x15e/0x3d0 drivers/hid/hid-input.c:2043 hid_disconnect+0x13f/0x1a0 drivers/hid/hid-core.c:2032 hid_hw_stop drivers/hid/hid-core.c:2079 [inline] hid_device_remove+0x15d/0x200 drivers/hid/hid-core.c:2318 __device_release_driver+0x3bd/0x700 drivers/base/dd.c:1203 device_release_driver_internal drivers/base/dd.c:1236 [inline] device_release_driver+0x26/0x40 drivers/base/dd.c:1259 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:529 device_del+0x502/0xd60 drivers/base/core.c:3581 hid_remove_device drivers/hid/hid-core.c:2485 [inline] hid_destroy_device+0xe1/0x150 drivers/hid/hid-core.c:2504 usbhid_disconnect+0x9f/0xe0 drivers/hid/usbhid/hid-core.c:1451 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 __device_release_driver+0x5d7/0x700 drivers/base/dd.c:1205 device_release_driver_internal drivers/base/dd.c:1236 [inline] device_release_driver+0x26/0x40 drivers/base/dd.c:1259 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:529 device_del+0x502/0xd60 drivers/base/core.c:3581 usb_disable_device+0x35b/0x7b0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x27a/0x78e drivers/usb/core/hub.c:2228 hub_port_connect drivers/usb/core/hub.c:5202 [inline] hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] port_event drivers/usb/core/hub.c:5660 [inline] hub_event+0x1e39/0x44d0 drivers/usb/core/hub.c:5742 process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298 worker_thread+0x65d/0x1130 kernel/workqueue.c:2445 kthread+0x40b/0x500 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace f0259f93ba19643c ]--- RIP: 0010:__lock_acquire+0xd7a/0x5470 kernel/locking/lockdep.c:4897 Code: c7 08 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 2c 58 c7 08 e9 bd 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 9f 2e 00 00 49 81 3e e0 92 9b 89 0f 84 52 f3 ff RSP: 0018:ffffc9000bda7000 EFLAGS: 00010003 RAX: dffffc0000000000 RBX: 1ffff920017b4e2b RCX: 1ffff920017b4e12 RDX: 0000000000000125 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff116bab2 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888118479c00 R14: 000000000000092f R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020e58000 CR3: 000000010d56c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 08 41 bf or %al,-0x41(%rcx) 3: 01 00 add %eax,(%rax) 5: 00 00 add %al,(%rax) 7: 0f 86 c8 00 00 00 jbe 0xd5 d: 89 05 2c 58 c7 08 mov %eax,0x8c7582c(%rip) # 0x8c7583f 13: e9 bd 00 00 00 jmpq 0xd5 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 4c 89 f2 mov %r14,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 9f 2e 00 00 jne 0x2ed2 33: 49 81 3e e0 92 9b 89 cmpq $0xffffffff899b92e0,(%r14) 3a: 0f .byte 0xf 3b: 84 52 f3 test %dl,-0xd(%rdx) 3e: ff .byte 0xff