WARNING: CPU: 0 PID: 10257 at drivers/media/common/videobuf2/frame_vector.c:63 get_vaddr_frames+0x1e8/0x22c drivers/media/common/videobuf2/frame_vector.c:63 Modules linked in: CPU: 0 PID: 10257 Comm: syz-executor.2 Not tainted 6.5.0-rc7-syzkaller-gfe4469582053 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : get_vaddr_frames+0x1e8/0x22c drivers/media/common/videobuf2/frame_vector.c:63 lr : get_vaddr_frames+0x1e8/0x22c drivers/media/common/videobuf2/frame_vector.c:63 sp : ffff80009abf72f0 x29: ffff80009abf72f0 x28: ffff0000d39d6060 x27: 0000000000000000 x26: dfff800000000000 x25: 1ffff00014a00000 x24: dfff800000000000 x23: 0000000000100000 x22: 1ffff00014a00000 x21: ffff8000a5000004 x20: 00000000fffffff2 x19: ffff800090d43000 x18: ffff80009abf67e0 x17: 0000000000000000 x16: ffff80008a572e30 x15: 0000000000000001 x14: 1fffe0003683ae2a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000003b28e x9 : f7a97c592fb47400 x8 : f7a97c592fb47400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009abf6bd8 x4 : ffff80008e17f000 x3 : ffff8000805a25e4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: get_vaddr_frames+0x1e8/0x22c drivers/media/common/videobuf2/frame_vector.c:63 vb2_create_framevec+0x5c/0xd8 drivers/media/common/videobuf2/videobuf2-memops.c:52 vb2_vmalloc_get_userptr+0xfc/0x418 drivers/media/common/videobuf2/videobuf2-vmalloc.c:89 __prepare_userptr drivers/media/common/videobuf2/videobuf2-core.c:1180 [inline] __buf_prepare+0x9b0/0x3708 drivers/media/common/videobuf2/videobuf2-core.c:1422 vb2_core_prepare_buf+0xe4/0x308 drivers/media/common/videobuf2/videobuf2-core.c:1561 vb2_prepare_buf+0xfc/0x174 drivers/media/common/videobuf2/videobuf2-v4l2.c:738 v4l2_m2m_prepare_buf drivers/media/v4l2-core/v4l2-mem2mem.c:823 [inline] v4l2_m2m_ioctl_prepare_buf+0x174/0x428 drivers/media/v4l2-core/v4l2-mem2mem.c:1412 v4l_prepare_buf+0xac/0xd8 drivers/media/v4l2-core/v4l2-ioctl.c:2158 __video_do_ioctl+0x7f4/0xb68 drivers/media/v4l2-core/v4l2-ioctl.c:3046 video_usercopy+0xa00/0x1124 drivers/media/v4l2-core/v4l2-ioctl.c:3387 video_ioctl2+0x3c/0x50 drivers/media/v4l2-core/v4l2-ioctl.c:3441 v4l2_ioctl+0x148/0x18c 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 fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 902 hardirqs last enabled at (901): [] __up_console_sem+0x60/0xb4 kernel/printk/printk.c:347 hardirqs last disabled at (902): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (276): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (276): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:582 softirqs last disabled at (249): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---