usb 4-1: config 16 interface 242 altsetting 0 has an invalid endpoint with address 0x0, skipping usb 4-1: New USB device found, idVendor=0eb1, idProduct=7007, bcdDevice= 2.00 usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 15609 Comm: kworker/0:0 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:usb_endpoint_type include/uapi/linux/usb/ch9.h:483 [inline] RIP: 0010:go7007_usb_probe+0x4ba/0x1d13 drivers/media/usb/go7007/go7007-usb.c:1145 Code: c1 ee 03 80 3c 0e 00 0f 85 23 16 00 00 4c 8b a2 e8 05 00 00 48 b9 00 00 00 00 00 fc ff df 49 8d 7c 24 03 48 89 fe 48 c1 ee 03 <0f> b6 0c 0e 48 89 fe 83 e6 07 40 38 f1 7f 08 84 c9 0f 85 db 15 00 RSP: 0018:ffff8881c8e5f118 EFLAGS: 00010246 RAX: ffff8881c7891000 RBX: ffff8881ac315000 RCX: dffffc0000000000 RDX: ffff8881c52dd000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffff8881aaa4c000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8881c52dd0a0 R14: ffff8881cac28600 R15: ffffffff869a3500 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a4c905f160 CR3: 00000001ad435000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:374 really_probe+0x291/0xc90 drivers/base/dd.c:520 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:696 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:802 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x28d/0x430 drivers/base/dd.c:868 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xb09/0x1c10 drivers/base/core.c:2700 usb_set_configuration+0xf05/0x18a0 drivers/usb/core/message.c:2032 usb_generic_driver_probe+0xba/0xf2 drivers/usb/core/generic.c:239 usb_probe_device+0xd9/0x250 drivers/usb/core/driver.c:272 really_probe+0x291/0xc90 drivers/base/dd.c:520 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:696 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:802 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x28d/0x430 drivers/base/dd.c:868 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xb09/0x1c10 drivers/base/core.c:2700 usb_new_device.cold+0x71d/0xfd4 drivers/usb/core/hub.c:2554 hub_port_connect drivers/usb/core/hub.c:5208 [inline] hub_port_connect_change drivers/usb/core/hub.c:5348 [inline] port_event drivers/usb/core/hub.c:5494 [inline] hub_event+0x2361/0x4390 drivers/usb/core/hub.c:5576 process_one_work+0x94c/0x15f0 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x392/0x470 kernel/kthread.c:291 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Modules linked in: ---[ end trace 5d2d530de87b19e0 ]--- RIP: 0010:usb_endpoint_type include/uapi/linux/usb/ch9.h:483 [inline] RIP: 0010:go7007_usb_probe+0x4ba/0x1d13 drivers/media/usb/go7007/go7007-usb.c:1145 Code: c1 ee 03 80 3c 0e 00 0f 85 23 16 00 00 4c 8b a2 e8 05 00 00 48 b9 00 00 00 00 00 fc ff df 49 8d 7c 24 03 48 89 fe 48 c1 ee 03 <0f> b6 0c 0e 48 89 fe 83 e6 07 40 38 f1 7f 08 84 c9 0f 85 db 15 00 RSP: 0018:ffff8881c8e5f118 EFLAGS: 00010246 RAX: ffff8881c7891000 RBX: ffff8881ac315000 RCX: dffffc0000000000 RDX: ffff8881c52dd000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffff8881aaa4c000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8881c52dd0a0 R14: ffff8881cac28600 R15: ffffffff869a3500 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a4c905f160 CR3: 00000001ad435000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400