------------[ cut here ]------------ WARNING: CPU: 1 PID: 6483 at drivers/gpu/drm/vkms/vkms_crtc.c:100 vkms_get_vblank_timestamp+0x15c/0x17c drivers/gpu/drm/vkms/vkms_crtc.c:100 Modules linked in: CPU: 1 UID: 0 PID: 6483 Comm: syz.3.4 Not tainted 6.11.0-rc5-syzkaller-gdf54f4a16f82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : vkms_get_vblank_timestamp+0x15c/0x17c drivers/gpu/drm/vkms/vkms_crtc.c:100 lr : vkms_get_vblank_timestamp+0x15c/0x17c drivers/gpu/drm/vkms/vkms_crtc.c:100 sp : ffff8000acc17520 x29: ffff8000acc17520 x28: ffff0000c75ad080 x27: 0000000000000000 x26: 1ffff00015982eb0 x25: dfff800000000000 x24: 1ffff00015982ed4 x23: ffff0000c9708000 x22: dfff800000000000 x21: 0000000977639ba8 x20: 0000000977639ba8 x19: ffff8000acc176a0 x18: 1fffe0003679e7e6 x17: ffff80008f50d000 x16: ffff80008b22c470 x15: 0000000000000002 x14: 1fffe000196e58a1 x13: 0000000000000000 x12: ffff80009b2a9000 x11: ffff6000196e58a3 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cb3c1e40 x7 : 0000000000000000 x6 : ffff80009b2a9000 x5 : ffff0000cb72c518 x4 : ffff0000cb72c4d8 x3 : 0000000000000000 x2 : ffff8000acc176a0 x1 : 0000000977639ba8 x0 : 0000000977639ba8 Call trace: vkms_get_vblank_timestamp+0x15c/0x17c drivers/gpu/drm/vkms/vkms_crtc.c:100 drm_crtc_get_last_vbltimestamp drivers/gpu/drm/drm_vblank.c:880 [inline] drm_crtc_next_vblank_start+0x1d4/0x3e0 drivers/gpu/drm/drm_vblank.c:1014 set_fence_deadline drivers/gpu/drm/drm_atomic_helper.c:1558 [inline] drm_atomic_helper_wait_for_fences+0x200/0x7c4 drivers/gpu/drm/drm_atomic_helper.c:1605 drm_atomic_helper_commit+0x4d0/0x8d4 drivers/gpu/drm/drm_atomic_helper.c:2034 drm_atomic_commit+0x264/0x2bc drivers/gpu/drm/drm_atomic.c:1522 drm_client_modeset_commit_atomic+0x5a4/0x730 drivers/gpu/drm/drm_client_modeset.c:1068 drm_client_modeset_commit_locked+0xd0/0x4a8 drivers/gpu/drm/drm_client_modeset.c:1171 drm_client_modeset_commit+0x50/0x7c drivers/gpu/drm/drm_client_modeset.c:1197 __drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:244 [inline] drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:271 [inline] drm_fb_helper_lastclose+0xc0/0x160 drivers/gpu/drm/drm_fb_helper.c:2009 drm_fbdev_shmem_client_restore+0x3c/0x50 drivers/gpu/drm/drm_fbdev_shmem.c:229 drm_client_dev_restore+0x12c/0x24c drivers/gpu/drm/drm_client.c:260 drm_lastclose drivers/gpu/drm/drm_file.c:406 [inline] drm_release+0x4ac/0x504 drivers/gpu/drm/drm_file.c:437 __fput+0x1bc/0x774 fs/file_table.c:422 ____fput+0x20/0x30 fs/file_table.c:450 task_work_run+0x230/0x2e0 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 51152 hardirqs last enabled at (51151): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (51151): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (51152): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (50870): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (50870): [] handle_softirqs+0xa3c/0xbfc kernel/softirq.c:582 softirqs last disabled at (50801): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---