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: 1 PID: 94 Comm: kworker/1:2 Not tainted 5.5.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:vmk80xx_write_packet+0x75/0x260 drivers/staging/comedi/drivers/vmk80xx.c:204 Code: 48 8d 7b 68 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d3 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 68 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 4c 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 84 01 00 00 RSP: 0018:ffff8881d5d4f200 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881c8838200 RCX: ffffc9000d358000 RDX: 0000000000000002 RSI: ffffffff8487deb3 RDI: ffff8881c8838268 RBP: ffff8881d51b5800 R08: ffff8881d6cae200 R09: 0000000000000010 R10: fffffbfff1269cbe R11: ffffffff8934e5f7 R12: ffff8881cdfd9000 R13: 0000000000000010 R14: 0000000000000000 R15: ffff8881d9454788 FS: 0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000738008 CR3: 00000001b02e1000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vmk80xx_reset_device drivers/staging/comedi/drivers/vmk80xx.c:226 [inline] vmk80xx_auto_attach+0x13b1/0x17c0 drivers/staging/comedi/drivers/vmk80xx.c:814 comedi_auto_config+0x16e/0x250 drivers/staging/comedi/drivers.c:1067 usb_probe_interface+0x310/0x800 drivers/usb/core/driver.c:361 really_probe+0x290/0xad0 drivers/base/dd.c:548 driver_probe_device+0x223/0x350 drivers/base/dd.c:721 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:828 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430 __device_attach+0x217/0x390 drivers/base/dd.c:894 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490 device_add+0x1459/0x1bf0 drivers/base/core.c:2487 usb_set_configuration+0xe47/0x17d0 drivers/usb/core/message.c:2023 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210 usb_probe_device+0xaf/0x140 drivers/usb/core/driver.c:266 really_probe+0x290/0xad0 drivers/base/dd.c:548 driver_probe_device+0x223/0x350 drivers/base/dd.c:721 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:828 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430 __device_attach+0x217/0x390 drivers/base/dd.c:894 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490 device_add+0x1459/0x1bf0 drivers/base/core.c:2487 usb_new_device.cold+0x540/0xcd0 drivers/usb/core/hub.c:2538 hub_port_connect drivers/usb/core/hub.c:5185 [inline] hub_port_connect_change drivers/usb/core/hub.c:5325 [inline] port_event drivers/usb/core/hub.c:5471 [inline] hub_event+0x21cb/0x4300 drivers/usb/core/hub.c:5553 process_one_work+0x945/0x15c0 kernel/workqueue.c:2264 worker_thread+0x96/0xe20 kernel/workqueue.c:2410 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 2beb0b2ccc361ff4 ]--- RIP: 0010:vmk80xx_write_packet+0x75/0x260 drivers/staging/comedi/drivers/vmk80xx.c:204 Code: 48 8d 7b 68 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d3 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 68 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 4c 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 84 01 00 00 RSP: 0018:ffff8881d5d4f200 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8881c8838200 RCX: ffffc9000d358000 RDX: 0000000000000002 RSI: ffffffff8487deb3 RDI: ffff8881c8838268 RBP: ffff8881d51b5800 R08: ffff8881d6cae200 R09: 0000000000000010 R10: fffffbfff1269cbe R11: ffffffff8934e5f7 R12: ffff8881cdfd9000 R13: 0000000000000010 R14: 0000000000000000 R15: ffff8881d9454788 FS: 0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000738008 CR3: 00000001b02e1000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400