------------[ cut here ]------------ get_vaddr_frames() cannot follow VM_IO mapping WARNING: CPU: 1 PID: 11087 at drivers/media/common/videobuf2/frame_vector.c:63 get_vaddr_frames drivers/media/common/videobuf2/frame_vector.c:63 [inline] WARNING: CPU: 1 PID: 11087 at drivers/media/common/videobuf2/frame_vector.c:63 get_vaddr_frames+0x206/0x210 drivers/media/common/videobuf2/frame_vector.c:36 Modules linked in: CPU: 1 PID: 11087 Comm: syz-executor.4 Not tainted 6.6.0-rc1-syzkaller-00072-gaed8aee11130 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:get_vaddr_frames drivers/media/common/videobuf2/frame_vector.c:63 [inline] RIP: 0010:get_vaddr_frames+0x206/0x210 drivers/media/common/videobuf2/frame_vector.c:36 Code: b8 fa fa e9 03 ff ff ff e8 47 b8 fa fa e9 ca fe ff ff e8 1d b7 a5 fa 48 c7 c7 00 b4 62 8b c6 05 d3 6f d6 07 01 e8 6a d9 6b fa <0f> 0b e9 50 ff ff ff 0f 1f 00 f3 0f 1e fa 41 57 41 56 41 55 41 54 RSP: 0018:ffffc9001661f768 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffc90014800000 RCX: ffffc9000b8af000 RDX: 0000000000040000 RSI: ffffffff814cf106 RDI: 0000000000000001 RBP: ffffc90014800004 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: 00000000fffffff2 R15: 00000000c92597ef FS: 00007fa4bf98d6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0273c53740 CR3: 0000000076e60000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vb2_create_framevec+0x64/0xd0 drivers/media/common/videobuf2/videobuf2-memops.c:52 vb2_vmalloc_get_userptr+0x137/0x560 drivers/media/common/videobuf2/videobuf2-vmalloc.c:88 __prepare_userptr.constprop.0+0x6ec/0x15d0 drivers/media/common/videobuf2/videobuf2-core.c:1180 __buf_prepare+0x620/0x800 drivers/media/common/videobuf2/videobuf2-core.c:1422 vb2_core_qbuf+0x859/0x14d0 drivers/media/common/videobuf2/videobuf2-core.c:1724 vb2_qbuf+0x138/0x1b0 drivers/media/common/videobuf2/videobuf2-v4l2.c:816 v4l2_m2m_qbuf+0x151/0x8b0 drivers/media/v4l2-core/v4l2-mem2mem.c:773 v4l_qbuf drivers/media/v4l2-core/v4l2-ioctl.c:2120 [inline] v4l_qbuf+0x94/0xc0 drivers/media/v4l2-core/v4l2-ioctl.c:2114 __video_do_ioctl+0xaea/0xef0 drivers/media/v4l2-core/v4l2-ioctl.c:3048 video_usercopy+0x4c2/0x15c0 drivers/media/v4l2-core/v4l2-ioctl.c:3389 v4l2_ioctl+0x1bd/0x250 drivers/media/v4l2-core/v4l2-dev.c:364 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa4bec7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa4bf98d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa4bed9bf80 RCX: 00007fa4bec7cae9 RDX: 0000000020000280 RSI: 00000000c058560f RDI: 0000000000000003 RBP: 00007fa4becc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa4bed9bf80 R15: 00007ffda3fbbe08