------------[ cut here ]------------ WARNING: CPU: 0 PID: 19416 at mm/gup.c:2992 pin_user_pages_locked+0x60d/0x780 mm/gup.c:2992 Modules linked in: CPU: 1 PID: 19416 Comm: syz-executor.3 Not tainted 5.9.0-rc8-next-20201006-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pin_user_pages_locked+0x60d/0x780 mm/gup.c:2992 Code: cf ff 49 83 c7 08 e8 22 2e cf ff 48 8b 44 24 10 c6 44 24 10 01 48 05 00 10 00 00 48 89 44 24 08 e9 65 fb ff ff e8 03 2e cf ff <0f> 0b 49 c7 c4 ea ff ff ff e9 8a fe ff ff e8 f0 2d cf ff 0f 0b 49 RSP: 0018:ffffc900183cf6e8 EFLAGS: 00010206 RAX: 00000000000083b0 RBX: 0000000000010000 RCX: ffffc9000ec6c000 RDX: 0000000000040000 RSI: ffffffff81a6192d RDI: 0000000000000005 RBP: ffffc900183cf7c8 R08: ffffc900183cf7c8 R09: ffff888059175747 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000010 R14: 0000000000000010 R15: ffff8880a1a72c10 FS: 00007fa6ac163700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000932c8000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_vaddr_frames+0x788/0x960 mm/frame_vector.c:75 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:1117 __buf_prepare+0x635/0x7d0 drivers/media/common/videobuf2/videobuf2-core.c:1356 vb2_core_prepare_buf+0xe0/0x2c0 drivers/media/common/videobuf2/videobuf2-core.c:1485 vb2_prepare_buf+0xff/0x170 drivers/media/common/videobuf2/videobuf2-v4l2.c:750 vb2_ioctl_prepare_buf+0xfb/0x140 drivers/media/common/videobuf2/videobuf2-v4l2.c:1037 v4l_prepare_buf drivers/media/v4l2-core/v4l2-ioctl.c:2106 [inline] v4l_prepare_buf+0x92/0xc0 drivers/media/v4l2-core/v4l2-ioctl.c:2100 __video_do_ioctl+0xb94/0xe20 drivers/media/v4l2-core/v4l2-ioctl.c:2990 video_usercopy+0x207/0xe50 drivers/media/v4l2-core/v4l2-ioctl.c:3306 v4l2_ioctl+0x1b3/0x250 drivers/media/v4l2-core/v4l2-dev.c:360 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de29 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa6ac162c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001c640 RCX: 000000000045de29 RDX: 0000000020000140 RSI: 00000000c058565d RDI: 0000000000000003 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd0a0e0b1f R14: 00007fa6ac1639c0 R15: 000000000118bf2c