misc userio: No port type given on /dev/userio 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 Modules linked in: CPU: 1 PID: 5681 Comm: syz-executor.1 Not tainted 4.14.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809035c580 task.stack: ffff88805e150000 RIP: 0010:vb2_vmalloc_put_userptr+0x6e/0x210 drivers/media/v4l2-core/videobuf2-vmalloc.c:136 RSP: 0018:ffff88805e1579c8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc9001614e000 RCX: ffffc90013756000 RDX: 0000000000000001 RSI: ffffffff84703555 RDI: 0000000000000009 RBP: ffff88805e1579f0 R08: dffffc0000000000 R09: ffffffff89587b90 R10: ffff88805e157a80 R11: ffff88809035c580 R12: ffff88809630a680 R13: 0000000000000000 R14: ffff88809630a680 R15: ffff88809630a688 FS: 00007fccd0d86700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 000000008b53f000 CR4: 00000000001426e0 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+0x16/0x20 drivers/media/v4l2-core/videobuf2-v4l2.c:669 v4l2_m2m_ctx_release+0x2d/0x40 drivers/media/v4l2-core/v4l2-mem2mem.c:674 vim2m_release+0xde/0x130 drivers/media/platform/vim2m.c:959 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 get_signal+0x18a8/0x1cd0 kernel/signal.c:2224 do_signal+0x86/0x19a0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x15c/0x220 arch/x86/entry/common.c:160 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:0x45af49 RSP: 002b:00007fccd0d85c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 000000000045af49 RDX: 0000000020000300 RSI: 00000000c100565c RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fccd0d866d4 R13: 00000000004c6fcc R14: 00000000004deae8 R15: 00000000ffffffff 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: ffff88805e1579c8 ---[ end trace b5e48eca6b525f01 ]---