WARNING: CPU: 0 PID: 12346 at mm/memory.c:4836 unsafe_follow_pfn+0x20f/0x260 mm/memory.c:4836 Modules linked in: CPU: 0 PID: 12346 Comm: syz-executor.3 Not tainted 5.13.0-rc1-next-20210514-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unsafe_follow_pfn+0x20f/0x260 mm/memory.c:4836 Code: 8b 7c 24 20 49 89 6d 00 e8 ae aa 74 07 e9 30 ff ff ff e8 44 78 ca ff 48 c7 c7 e0 4e 96 89 c6 05 75 ff 29 0c 01 e8 0c 14 30 07 <0f> 0b e9 71 fe ff ff 41 bc ea ff ff ff e9 06 ff ff ff e8 ea d7 0f RSP: 0018:ffffc9000160f658 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff920002c1ecb RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815dbea5 RDI: fffff520002c1ebd RBP: ffff88801ddf5840 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815d5cee R11: 0000000000000000 R12: 0000000021000000 R13: ffff88803887c010 R14: 0000000000000000 R15: 0000000000000110 FS: 00007fee84b70700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffece5a4960 CR3: 000000008636f000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_vaddr_frames+0x334/0x600 drivers/media/common/videobuf2/frame_vector.c:72 vb2_create_framevec+0x55/0xc0 drivers/media/common/videobuf2/videobuf2-memops.c:50 vb2_vmalloc_get_userptr+0xce/0x4c0 drivers/media/common/videobuf2/videobuf2-vmalloc.c:90 __prepare_userptr+0x342/0x15f0 drivers/media/common/videobuf2/videobuf2-core.c:1128 __buf_prepare+0x635/0x7d0 drivers/media/common/videobuf2/videobuf2-core.c:1367 vb2_core_qbuf+0xa9d/0x11d0 drivers/media/common/videobuf2/videobuf2-core.c:1658 vb2_qbuf+0x135/0x1a0 drivers/media/common/videobuf2/videobuf2-v4l2.c:820 vb2_ioctl_qbuf+0xfb/0x140 drivers/media/common/videobuf2/videobuf2-v4l2.c:1050 v4l_qbuf drivers/media/v4l2-core/v4l2-ioctl.c:2027 [inline] v4l_qbuf+0x92/0xc0 drivers/media/v4l2-core/v4l2-ioctl.c:2021 __video_do_ioctl+0xb94/0xe20 drivers/media/v4l2-core/v4l2-ioctl.c:2951 video_usercopy+0x253/0x1300 drivers/media/v4l2-core/v4l2-ioctl.c:3297 v4l2_ioctl+0x1b3/0x250 drivers/media/v4l2-core/v4l2-dev.c:366 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:1055 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fee84b70188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665d9 RDX: 0000000020000140 RSI: 00000000c058560f RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd4f01394f R14: 00007fee84b70300 R15: 0000000000022000