hso 1-1:0.0: Failed to find BULK IN ep general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 1 PID: 7725 Comm: kworker/1:3 Not tainted 5.12.0-rc5-next-20210401-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:cdev_del+0x22/0x90 fs/char_dev.c:596 Code: b5 0f 1f 80 00 00 00 00 55 48 89 fd 48 83 ec 08 e8 53 3a cd ff 48 8d 7d 64 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 4f 48 RSP: 0018:ffffc90000e37150 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff888108599d00 RCX: 0000000000000000 RDX: 000000000000000c RSI: ffffffff81727b4d RDI: 0000000000000064 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff89bf0737 R10: ffffffff82357cff R11: 1ffff920001c6d7b R12: ffff888108599d08 R13: ffff8881086f3000 R14: 0000000000000000 R15: ffff88810ee74070 FS: 0000000000000000(0000) GS:ffff8881f6b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c6841d36d8 CR3: 00000001013e0000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_unregister_device drivers/tty/tty_io.c:3342 [inline] tty_unregister_device+0x112/0x1b0 drivers/tty/tty_io.c:3337 hso_serial_tty_unregister drivers/net/usb/hso.c:2232 [inline] hso_create_bulk_serial_device drivers/net/usb/hso.c:2680 [inline] hso_probe.cold+0x70/0x16a drivers/net/usb/hso.c:2946 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396 really_probe+0x291/0xf60 drivers/base/dd.c:564 driver_probe_device+0x298/0x410 drivers/base/dd.c:751 __device_attach_driver+0x203/0x2c0 drivers/base/dd.c:858 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4b0 drivers/base/dd.c:926 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbdb/0x1db0 drivers/base/core.c:3277 usb_set_configuration+0x113f/0x1910 drivers/usb/core/message.c:2164 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293 really_probe+0x291/0xf60 drivers/base/dd.c:564 driver_probe_device+0x298/0x410 drivers/base/dd.c:751 __device_attach_driver+0x203/0x2c0 drivers/base/dd.c:858 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4b0 drivers/base/dd.c:926 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbdb/0x1db0 drivers/base/core.c:3277 usb_new_device.cold+0x721/0x1058 drivers/usb/core/hub.c:2556 hub_port_connect drivers/usb/core/hub.c:5276 [inline] hub_port_connect_change drivers/usb/core/hub.c:5416 [inline] port_event drivers/usb/core/hub.c:5562 [inline] hub_event+0x2357/0x4330 drivers/usb/core/hub.c:5644 process_one_work+0x98d/0x1580 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x82b/0x1120 kernel/workqueue.c:2423 kthread+0x38c/0x460 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: ---[ end trace ae3a58abf91ec890 ]--- RIP: 0010:cdev_del+0x22/0x90 fs/char_dev.c:596 Code: b5 0f 1f 80 00 00 00 00 55 48 89 fd 48 83 ec 08 e8 53 3a cd ff 48 8d 7d 64 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 4f 48 RSP: 0018:ffffc90000e37150 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff888108599d00 RCX: 0000000000000000 RDX: 000000000000000c RSI: ffffffff81727b4d RDI: 0000000000000064 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff89bf0737 R10: ffffffff82357cff R11: 1ffff920001c6d7b R12: ffff888108599d08 R13: ffff8881086f3000 R14: 0000000000000000 R15: ffff88810ee74070 FS: 0000000000000000(0000) GS:ffff8881f6b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c6841d36d8 CR3: 0000000007225000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400