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: 4623 Comm: v4l_id Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:usb_make_path include/linux/usb.h:914 [inline] RIP: 0010:vidioc_querycap+0x11c/0x320 drivers/media/usb/usbvision/usbvision-video.c:460 Code: 80 3c 02 00 0f 85 03 02 00 00 4c 8b ad f0 17 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 48 4d 8d 45 04 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c7 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffff8881cf70fa20 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff8881cf70fc18 RCX: 0000000000000000 RDX: 0000000000000009 RSI: 2e4c1f4252534d27 RDI: 0000000000000048 RBP: ffff8881c9ecc200 R08: 0000000000000004 R09: fffffbfff0c90b2c R10: fffffbfff0c90b2b R11: ffffffff86485958 R12: ffff8881c9ecda9c R13: 0000000000000000 R14: ffff8881cf70fc48 R15: ffff8881c9ecccd0 FS: 00007f00ce349700(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff3c0d7ac8 CR3: 00000001d0297000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: v4l_querycap+0x129/0x350 drivers/media/v4l2-core/v4l2-ioctl.c:1058 __video_do_ioctl+0x969/0xba0 drivers/media/v4l2-core/v4l2-ioctl.c:2910 video_usercopy+0x446/0xf40 drivers/media/v4l2-core/v4l2-ioctl.c:3092 v4l2_ioctl+0x1a2/0x220 drivers/media/v4l2-core/v4l2-dev.c:360 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xd2d/0x1330 fs/ioctl.c:696 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:718 do_syscall_64+0xb7/0x580 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f00cde7c347 Code: 90 90 90 48 8b 05 f1 fa 2a 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 90 90 90 90 90 90 90 90 90 90 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c1 fa 2a 00 31 d2 48 29 c2 64 RSP: 002b:00007fff7db69578 EFLAGS: 00000206 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f00cde7c347 RDX: 00007fff7db69580 RSI: 0000000080685600 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000400884 R13: 00007fff7db696d0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0cf947e558206423 ]--- RIP: 0010:usb_make_path include/linux/usb.h:914 [inline] RIP: 0010:vidioc_querycap+0x11c/0x320 drivers/media/usb/usbvision/usbvision-video.c:460 Code: 80 3c 02 00 0f 85 03 02 00 00 4c 8b ad f0 17 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7d 48 4d 8d 45 04 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c7 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffff8881cf70fa20 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff8881cf70fc18 RCX: 0000000000000000 RDX: 0000000000000009 RSI: 2e4c1f4252534d27 RDI: 0000000000000048 RBP: ffff8881c9ecc200 R08: 0000000000000004 R09: fffffbfff0c90b2c R10: fffffbfff0c90b2b R11: ffffffff86485958 R12: ffff8881c9ecda9c R13: 0000000000000000 R14: ffff8881cf70fc48 R15: ffff8881c9ecccd0 FS: 00007f00ce349700(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff3c0d7ac8 CR3: 00000001d0297000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400