------------[ cut here ]------------ WARNING: CPU: 1 PID: 8245 at drivers/gpu/drm/vkms/vkms_crtc.c:103 vkms_get_vblank_timestamp+0x1a4/0x1d4 drivers/gpu/drm/vkms/vkms_crtc.c:103 Modules linked in: CPU: 1 PID: 8245 Comm: syz-executor.3 Not tainted 6.4.0-rc3-syzkaller-geb0f1697d729 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : vkms_get_vblank_timestamp+0x1a4/0x1d4 drivers/gpu/drm/vkms/vkms_crtc.c:103 lr : vkms_get_vblank_timestamp+0x1a4/0x1d4 drivers/gpu/drm/vkms/vkms_crtc.c:103 sp : ffff8000205171f0 x29: ffff8000205171f0 x28: ffff0000c8e0c080 x27: 0000000000000000 x26: 1ffff000040a2e4c x25: 1ffff000040a2e70 x24: 0000000000000000 x23: ffff0000c5eb0000 x22: dfff800000000000 x21: 0000004632cac060 x20: 0000004632cac060 x19: ffff800020517380 x18: ffff800020517d28 x17: 0000000000000000 x16: ffff800012381170 x15: 0000000000000000 x14: ffff800015ec0570 x13: 0000000000000000 x12: ffff8000222ea000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : ffff0000c2c85340 x7 : 0000000000000000 x6 : ffff8000222ea000 x5 : ffff0000d77ad8e8 x4 : ffff0000d77ad8a8 x3 : 0000000000000000 x2 : ffff800020517380 x1 : 0000004632cac060 x0 : 0000004632cac060 Call trace: vkms_get_vblank_timestamp+0x1a4/0x1d4 drivers/gpu/drm/vkms/vkms_crtc.c:103 drm_crtc_get_last_vbltimestamp drivers/gpu/drm/drm_vblank.c:877 [inline] drm_crtc_next_vblank_start+0x1d4/0x3e0 drivers/gpu/drm/drm_vblank.c:1012 set_fence_deadline drivers/gpu/drm/drm_atomic_helper.c:1537 [inline] drm_atomic_helper_wait_for_fences+0x200/0x7c4 drivers/gpu/drm/drm_atomic_helper.c:1584 drm_atomic_helper_commit+0x500/0x94c drivers/gpu/drm/drm_atomic_helper.c:2013 drm_atomic_commit+0x24c/0x2a0 drivers/gpu/drm/drm_atomic.c:1503 drm_client_modeset_commit_atomic+0x5a4/0x730 drivers/gpu/drm/drm_client_modeset.c:1045 drm_client_modeset_commit_locked+0xd0/0x4a8 drivers/gpu/drm/drm_client_modeset.c:1148 drm_client_modeset_commit+0x50/0x7c drivers/gpu/drm/drm_client_modeset.c:1174 __drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:251 [inline] drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:278 [inline] drm_fb_helper_lastclose+0xc0/0x160 drivers/gpu/drm/drm_fb_helper.c:2361 drm_fbdev_generic_client_restore+0x3c/0x50 drivers/gpu/drm/drm_fbdev_generic.c:260 drm_client_dev_restore+0x12c/0x24c drivers/gpu/drm/drm_client.c:236 drm_lastclose drivers/gpu/drm/drm_file.c:462 [inline] drm_release+0x500/0x608 drivers/gpu/drm/drm_file.c:493 __fput+0x30c/0x7bc fs/file_table.c:321 ____fput+0x20/0x30 fs/file_table.c:349 task_work_run+0x230/0x2e0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2180/0x3c90 arch/arm64/kernel/signal.c:1305 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x90/0x15c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 464 hardirqs last enabled at (463): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] hardirqs last enabled at (463): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:94 hardirqs last disabled at (464): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (312): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (310): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---