get_vaddr_frames() cannot follow VM_IO mapping ------------[ cut here ]------------ WARNING: CPU: 1 PID: 11527 at mm/frame_vector.c:79 get_vaddr_frames.cold+0x18/0x1f mm/frame_vector.c:79 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 11527 Comm: syz-executor.2 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 RIP: 0010:get_vaddr_frames.cold+0x18/0x1f mm/frame_vector.c:79 RSP: 0018:ffff8880a1e47690 EFLAGS: 00010282 RAX: 000000000000002e RBX: ffff88809864e500 RCX: 0000000000000000 RDX: 0000000000000433 RSI: ffffffff814443b0 RDI: ffffed10143c8ec8 RBP: fffffffffffffe00 R08: 000000000000002e R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff110143c8ed5 R13: 0000000020000000 R14: 00000000fffffe00 R15: ffff888097a70040 vb2_create_framevec+0x70/0xd0 drivers/media/v4l2-core/videobuf2-memops.c:56 vb2_vmalloc_get_userptr+0xcf/0x470 drivers/media/v4l2-core/videobuf2-vmalloc.c:90 __prepare_userptr+0x304/0x1040 drivers/media/v4l2-core/videobuf2-core.c:1033 __buf_prepare+0x3f6/0x4f0 drivers/media/v4l2-core/videobuf2-core.c:1258 vb2_core_qbuf+0x112/0xb60 drivers/media/v4l2-core/videobuf2-core.c:1386 vb2_qbuf+0x95/0xe0 drivers/media/v4l2-core/videobuf2-v4l2.c:570 v4l2_m2m_qbuf+0x66/0x150 drivers/media/v4l2-core/v4l2-mem2mem.c:403 v4l_qbuf drivers/media/v4l2-core/v4l2-ioctl.c:1881 [inline] v4l_qbuf+0x88/0xb0 drivers/media/v4l2-core/v4l2-ioctl.c:1875 __video_do_ioctl+0x65b/0x6a0 drivers/media/v4l2-core/v4l2-ioctl.c:2738 video_usercopy+0xfd/0xe70 drivers/media/v4l2-core/v4l2-ioctl.c:2908 v4l2_ioctl+0x1bb/0x2f0 drivers/media/v4l2-core/v4l2-dev.c:360 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f7beb0de0a9 RSP: 002b:00007f7be962f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7beb1fe050 RCX: 00007f7beb0de0a9 RDX: 0000000020000300 RSI: 00000000c058560f RDI: 0000000000000006 RBP: 00007f7beb139ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb1a32e3f R14: 00007f7be962f300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..