rtl_usb: reg 0xa, usbctrl_vendorreq TimeOut! status:0xffffffb9 value=0x0 rtl_usb: Too few input end points found INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 2776 Comm: kworker/0:4 Not tainted 5.2.0-rc6+ #15 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xca/0x13e lib/dump_stack.c:113 assign_lock_key kernel/locking/lockdep.c:775 [inline] register_lock_class+0x11ae/0x1240 kernel/locking/lockdep.c:1084 __lock_acquire+0x11d/0x5340 kernel/locking/lockdep.c:3674 lock_acquire+0x100/0x2b0 kernel/locking/lockdep.c:4303 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x32/0x50 kernel/locking/spinlock.c:159 rtl_c2hcmd_launcher+0xcc/0x390 drivers/net/wireless/realtek/rtlwifi/base.c:2349 rtl_deinit_core+0x20/0x2d0 drivers/net/wireless/realtek/rtlwifi/base.c:579 rtl_usb_probe.cold+0x855/0xa65 drivers/net/wireless/realtek/rtlwifi/usb.c:1093 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361 really_probe+0x281/0x660 drivers/base/dd.c:509 driver_probe_device+0x104/0x210 drivers/base/dd.c:670 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454 __device_attach+0x217/0x360 drivers/base/dd.c:843 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514 device_add+0xae6/0x16f0 drivers/base/core.c:2111 usb_set_configuration+0xdf6/0x1670 drivers/usb/core/message.c:2023 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210 usb_probe_device+0x99/0x100 drivers/usb/core/driver.c:266 really_probe+0x281/0x660 drivers/base/dd.c:509 driver_probe_device+0x104/0x210 drivers/base/dd.c:670 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454 __device_attach+0x217/0x360 drivers/base/dd.c:843 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514 device_add+0xae6/0x16f0 drivers/base/core.c:2111 usb_new_device.cold+0x6a4/0xe61 drivers/usb/core/hub.c:2536 hub_port_connect drivers/usb/core/hub.c:5098 [inline] hub_port_connect_change drivers/usb/core/hub.c:5213 [inline] port_event drivers/usb/core/hub.c:5359 [inline] hub_event+0x1abd/0x3550 drivers/usb/core/hub.c:5441 process_one_work+0x905/0x1570 kernel/workqueue.c:2269 worker_thread+0x96/0xe20 kernel/workqueue.c:2415 kthread+0x30b/0x410 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN CPU: 0 PID: 2776 Comm: kworker/0:4 Not tainted 5.2.0-rc6+ #15 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:rtl_free_entries_from_scan_list drivers/net/wireless/realtek/rtlwifi/base.c:1938 [inline] RIP: 0010:rtl_deinit_core+0x7f/0x2d0 drivers/net/wireless/realtek/rtlwifi/base.c:580 Code: 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 52 02 00 00 4d 8b bc 24 c8 c4 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 22 02 00 00 4d 39 f7 4d 8b 2f 4c 89 ff 0f 84 3d RSP: 0018:ffff8881ce047270 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8881b07e2540 RCX: ffffc9000e837000 RDX: 0000000000000000 RSI: ffffffff82f871e0 RDI: ffff8881b07e0b68 RBP: ffff8881b07e0b20 R08: ffff8881ce2a0000 R09: ffffed10360fc51d R10: ffffed10360fc51c R11: ffff8881b07e28e3 R12: ffff8881b07e2540 R13: ffff8881b07ef0d0 R14: ffff8881b07eea08 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f882ffdb000 CR3: 00000001b0a89000 CR4: 00000000001406f0 Call Trace: rtl_usb_probe.cold+0x855/0xa65 drivers/net/wireless/realtek/rtlwifi/usb.c:1093 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361 really_probe+0x281/0x660 drivers/base/dd.c:509 driver_probe_device+0x104/0x210 drivers/base/dd.c:670 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454 __device_attach+0x217/0x360 drivers/base/dd.c:843 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514 device_add+0xae6/0x16f0 drivers/base/core.c:2111 usb_set_configuration+0xdf6/0x1670 drivers/usb/core/message.c:2023 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210 usb_probe_device+0x99/0x100 drivers/usb/core/driver.c:266 really_probe+0x281/0x660 drivers/base/dd.c:509 driver_probe_device+0x104/0x210 drivers/base/dd.c:670 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454 __device_attach+0x217/0x360 drivers/base/dd.c:843 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514 device_add+0xae6/0x16f0 drivers/base/core.c:2111 usb_new_device.cold+0x6a4/0xe61 drivers/usb/core/hub.c:2536 hub_port_connect drivers/usb/core/hub.c:5098 [inline] hub_port_connect_change drivers/usb/core/hub.c:5213 [inline] port_event drivers/usb/core/hub.c:5359 [inline] hub_event+0x1abd/0x3550 drivers/usb/core/hub.c:5441 process_one_work+0x905/0x1570 kernel/workqueue.c:2269 worker_thread+0x96/0xe20 kernel/workqueue.c:2415 kthread+0x30b/0x410 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace e1acb55343cdc6ce ]--- RIP: 0010:rtl_free_entries_from_scan_list drivers/net/wireless/realtek/rtlwifi/base.c:1938 [inline] RIP: 0010:rtl_deinit_core+0x7f/0x2d0 drivers/net/wireless/realtek/rtlwifi/base.c:580 Code: 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 52 02 00 00 4d 8b bc 24 c8 c4 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 22 02 00 00 4d 39 f7 4d 8b 2f 4c 89 ff 0f 84 3d RSP: 0018:ffff8881ce047270 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8881b07e2540 RCX: ffffc9000e837000 RDX: 0000000000000000 RSI: ffffffff82f871e0 RDI: ffff8881b07e0b68 RBP: ffff8881b07e0b20 R08: ffff8881ce2a0000 R09: ffffed10360fc51d R10: ffffed10360fc51c R11: ffff8881b07e28e3 R12: ffff8881b07e2540 R13: ffff8881b07ef0d0 R14: ffff8881b07eea08 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f882ffdb000 CR3: 00000001b0a89000 CR4: 00000000001406f0