kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN kobject: 'loop1' (ffff8880a492c960): kobject_uevent_env Modules linked in: kobject: 'loop1' (ffff8880a492c960): fill_kobj_path: path = '/devices/virtual/block/loop1' CPU: 0 PID: 12180 Comm: syz-executor.0 Not tainted 4.14.139 #35 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880561ec480 task.stack: ffff888055fa0000 RIP: 0010:vb2_vmalloc_put_userptr+0x6e/0x210 drivers/media/v4l2-core/videobuf2-vmalloc.c:136 RSP: 0018:ffff888055fa7c18 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc900018f3000 RCX: 1ffffffff0da7654 RDX: 0000000000000001 RSI: ffff8880a8413014 RDI: 0000000000000009 RBP: ffff888055fa7c40 R08: dffffc0000000000 R09: ffffffff88ca1808 R10: ffff888055fa7cd0 R11: ffff8880561ec480 R12: ffff8880964fed00 R13: 0000000000000000 R14: ffff8880964fed00 R15: ffff8880964fed08 FS: 000000000132d940(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc7499cb10 CR3: 00000000842db000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vb2_buf_userptr_put drivers/media/v4l2-core/videobuf2-core.c:256 [inline] __vb2_free_mem drivers/media/v4l2-core/videobuf2-core.c:413 [inline] __vb2_queue_free+0x3a8/0x7d0 drivers/media/v4l2-core/videobuf2-core.c:454 vb2_core_queue_release+0x64/0x80 drivers/media/v4l2-core/videobuf2-core.c:2043 vb2_queue_release drivers/media/v4l2-core/videobuf2-v4l2.c:669 [inline] _vb2_fop_release+0x1cf/0x2a0 drivers/media/v4l2-core/videobuf2-v4l2.c:840 vb2_fop_release+0x75/0xc0 drivers/media/v4l2-core/videobuf2-v4l2.c:854 vivid_fop_release+0x180/0x3f0 drivers/media/platform/vivid/vivid-core.c:486 v4l2_release+0xf9/0x190 drivers/media/v4l2-core/v4l2-dev.c:446 __fput+0x275/0x7a0 fs/file_table.c:210 ____fput+0x16/0x20 fs/file_table.c:244 task_work_run+0x114/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1da/0x220 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4bc/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x413511 RSP: 002b:00007ffc09006dc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413511 RDX: 0000001b30c20000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000010745ce5 R09: 0000000010745ce9 R10: 00007ffc09006ea0 R11: 0000000000000293 R12: 000000000075bf20 R13: 000000000003bafd R14: 0000000000760c00 R15: ffffffffffffffff Code: 4c 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 8d 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6c 24 08 49 8d 7d 09 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 3c 01 00 RIP: vb2_vmalloc_put_userptr+0x6e/0x210 drivers/media/v4l2-core/videobuf2-vmalloc.c:136 RSP: ffff888055fa7c18 ---[ end trace ffa4c7e675f23858 ]---