general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 3037 Comm: kworker/1:3 Not tainted 5.8.0-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:ffff8881aa88f108 EFLAGS: 00010246 RAX: ffff8881c78a6400 RBX: ffff8881c607d000 RCX: dffffc0000000000 RDX: ffff8881c2ee6000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffff8881aab34000 R08: 0000000000000001 R09: ffffffff895c166f R10: fffffbfff12b82cd R11: 000000000004e017 R12: 0000000000000000 R13: ffff8881c2ee60a0 R14: ffff8881d4342e00 R15: ffffffff869a49a0 FS: 0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fc9c97a030 CR3: 00000001d1e52000 CR4: 00000000001506e0 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/0xde0 drivers/base/dd.c:553 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:912 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xb51/0x1c70 drivers/base/core.c:2930 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/0xde0 drivers/base/dd.c:553 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:912 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xb51/0x1c70 drivers/base/core.c:2930 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 process_scheduled_works kernel/workqueue.c:2331 [inline] worker_thread+0x82b/0x1120 kernel/workqueue.c:2417 kthread+0x392/0x470 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: ---[ end trace 8befc8f542c5b64b ]--- 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:ffff8881aa88f108 EFLAGS: 00010246 RAX: ffff8881c78a6400 RBX: ffff8881c607d000 RCX: dffffc0000000000 RDX: ffff8881c2ee6000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffff8881aab34000 R08: 0000000000000001 R09: ffffffff895c166f R10: fffffbfff12b82cd R11: 000000000004e017 R12: 0000000000000000 R13: ffff8881c2ee60a0 R14: ffff8881d4342e00 R15: ffffffff869a49a0 FS: 0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fc9c97a030 CR3: 0000000007224000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400