kasan: GPF could be caused by NULL-ptr deref or user memory access EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 24130 Comm: syz-executor.0 Not tainted 4.19.197-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vgem_fence_attach_ioctl+0x27d/0x640 drivers/gpu/drm/vgem/vgem_fence.c:184 Code: 03 80 3c 02 00 0f 85 9b 03 00 00 4c 8b b5 10 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d be e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 7f 03 00 00 4c 89 ea 4d 8b b6 e0 00 00 00 48 b8 RSP: 0018:ffff88803bb27af0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880ab685580 RCX: 1ffff11007764f4b RDX: 000000000000001c RSI: ffffffff8153c38f RDI: 00000000000000e0 RBP: ffff8880a3ebdac0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a1ff1180 R13: ffff8880ab685584 R14: 0000000000000000 R15: ffff8880a1ff1218 FS: 00007f1a2322e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 PM: Basic memory bitmaps created CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e8895203d0 CR3: 0000000045c41000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_ioctl_kernel+0x208/0x2a0 drivers/gpu/drm/drm_ioctl.c:758 drm_ioctl+0x507/0x9c0 drivers/gpu/drm/drm_ioctl.c:858 PM: Basic memory bitmaps freed vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 PM: Marking nosave pages: [mem 0x00000000-0x00000fff] __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe PM: Marking nosave pages: [mem 0x0009f000-0x000fffff] RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1a2322e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000020000040 RSI: 00000000c10c5541 RDI: 0000000000000004 PM: Marking nosave pages: [mem 0xbfffd000-0xffffffff] RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe5d0fe4ff R14: 00007f1a2322e300 R15: 0000000000022000 Modules linked in: libceph: connect [d::]:6789 error -101 PM: Basic memory bitmaps created libceph: mon0 [d::]:6789 connect error PM: Basic memory bitmaps freed ---[ end trace dc15988e89c12eea ]--- RIP: 0010:vgem_fence_attach_ioctl+0x27d/0x640 drivers/gpu/drm/vgem/vgem_fence.c:184 Code: 03 80 3c 02 00 0f 85 9b 03 00 00 4c 8b b5 10 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d be e0 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 7f 03 00 00 4c 89 ea 4d 8b b6 e0 00 00 00 48 b8 RSP: 0018:ffff88803bb27af0 EFLAGS: 00010202 usb usb9: usbfs: process 24156 (syz-executor.3) did not claim interface 0 before use RAX: dffffc0000000000 RBX: ffff8880ab685580 RCX: 1ffff11007764f4b RDX: 000000000000001c RSI: ffffffff8153c38f RDI: 00000000000000e0 RBP: ffff8880a3ebdac0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a1ff1180 R13: ffff8880ab685584 R14: 0000000000000000 R15: ffff8880a1ff1218 FS: 00007f1a2322e700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002bb0848 CR3: 0000000045c41000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400