------------[ cut here ]------------ get_vaddr_frames() cannot follow VM_IO mapping WARNING: CPU: 1 PID: 5419 at drivers/media/common/videobuf2/frame_vector.c:63 get_vaddr_frames+0x1ee/0x240 drivers/media/common/videobuf2/frame_vector.c:63 Modules linked in: CPU: 1 PID: 5419 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:get_vaddr_frames+0x1ee/0x240 drivers/media/common/videobuf2/frame_vector.c:63 Code: 8c 11 ff ff ff 4c 89 ef e8 df d2 c1 fa e9 04 ff ff ff e8 85 aa 67 fa c6 05 7a 5a 3e 07 01 48 c7 c7 e0 42 aa 8b e8 32 c7 2f fa <0f> 0b e9 4b ff ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 1f ff RSP: 0018:ffffc9000511f5c8 EFLAGS: 00010246 RAX: a4adf0afaf8d7300 RBX: 1ffff920018c0000 RCX: ffff88801d8e9dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff8152bc7e R09: ffffed1017324f5b R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000fffffff2 R13: ffffc9000c600004 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f3966269700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e80e3f7680 CR3: 00000000703eb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vb2_create_framevec+0x51/0xc0 drivers/media/common/videobuf2/videobuf2-memops.c:52 vb2_vmalloc_get_userptr+0xfc/0x410 drivers/media/common/videobuf2/videobuf2-vmalloc.c:89 __prepare_userptr drivers/media/common/videobuf2/videobuf2-core.c:1180 [inline] __buf_prepare+0xc22/0x4460 drivers/media/common/videobuf2/videobuf2-core.c:1422 vb2_core_prepare_buf+0xe2/0x300 drivers/media/common/videobuf2/videobuf2-core.c:1561 v4l2_m2m_prepare_buf drivers/media/v4l2-core/v4l2-mem2mem.c:823 [inline] v4l2_m2m_ioctl_prepare_buf+0x137/0x3a0 drivers/media/v4l2-core/v4l2-mem2mem.c:1412 __video_do_ioctl+0xa3a/0xe30 drivers/media/v4l2-core/v4l2-ioctl.c:3044 video_usercopy+0x890/0x1190 drivers/media/v4l2-core/v4l2-ioctl.c:3385 v4l2_ioctl+0x181/0x1d0 drivers/media/v4l2-core/v4l2-dev.c:364 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f396548c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3966269168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f39655abf80 RCX: 00007f396548c0f9 RDX: 0000000020000300 RSI: 00000000c058565d RDI: 0000000000000003 RBP: 00007f39654e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffde04c543f R14: 00007f3966269300 R15: 0000000000022000