------------[ cut here ]------------ WARNING: CPU: 1 PID: 14906 at drivers/gpu/drm/vkms/vkms_crtc.c:103 vkms_get_vblank_timestamp+0x188/0x1e4 drivers/gpu/drm/vkms/vkms_crtc.c:116 Modules linked in: CPU: 1 PID: 14906 Comm: syz-executor.0 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0 Hardware name: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : vkms_get_vblank_timestamp+0x188/0x1e4 drivers/gpu/drm/vkms/vkms_crtc.c:103 lr : drm_crtc_get_last_vbltimestamp+0x140/0x184 drivers/gpu/drm/drm_vblank.c:867 sp : ffff800089a37620 x29: ffff800089a37620 x28: ffff00000ed36800 x27: 0000000000000003 x26: ffff00000fdccd28 x25: 0000000000000001 x24: ffff00000fdccd28 x23: ffff800085272a00 x22: 000002ce7acb3680 x21: ffff800089a377f0 x20: ffff00000b7fc080 x19: ffff00000fdcc000 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: ffff00000ed35c08 x13: 0000000000000000 x12: ffff700011346ec3 x11: 1ffff00011346ec2 x10: ffff700011346ec2 x9 : dfff800000000000 x8 : 0000000041b58ab3 x7 : ffff700011346ed4 x6 : dfff800000000000 x5 : 0000000000000000 x4 : ffff800081b73e48 x3 : 1fffe000016ff849 x2 : 1fffe000016ff835 x1 : 0000000000000000 x0 : 000002ce7acb3680 Call trace: vkms_get_vblank_timestamp+0x188/0x1e4 drivers/gpu/drm/vkms/vkms_crtc.c:116 drm_crtc_get_last_vbltimestamp+0x140/0x184 drivers/gpu/drm/drm_vblank.c:867 drm_crtc_next_vblank_start+0x11c/0x244 drivers/gpu/drm/drm_vblank.c:1002 set_fence_deadline drivers/gpu/drm/drm_atomic_helper.c:1557 [inline] drm_atomic_helper_wait_for_fences+0x184/0x614 drivers/gpu/drm/drm_atomic_helper.c:1604 drm_atomic_helper_commit+0x170/0x2b4 drivers/gpu/drm/drm_atomic_helper.c:2033 drm_atomic_commit+0x1ac/0x264 drivers/gpu/drm/drm_atomic.c:1514 drm_client_modeset_commit_atomic+0x4a0/0x5f4 drivers/gpu/drm/drm_client_modeset.c:1051 drm_client_modeset_commit_locked+0x108/0x3fc drivers/gpu/drm/drm_client_modeset.c:1154 drm_client_modeset_commit+0x44/0x74 drivers/gpu/drm/drm_client_modeset.c:1180 __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:230 [inline] drm_fb_helper_restore_fbdev_mode_unlocked drivers/gpu/drm/drm_fb_helper.c:278 [inline] drm_fb_helper_lastclose+0xac/0x130 drivers/gpu/drm/drm_fb_helper.c:2005 drm_fbdev_generic_client_restore+0x30/0x4c drivers/gpu/drm/drm_fbdev_generic.c:258 drm_client_dev_restore+0x128/0x210 drivers/gpu/drm/drm_client.c:247 drm_lastclose+0xc4/0x174 drivers/gpu/drm/drm_file.c:406 drm_release+0x210/0x328 drivers/gpu/drm/drm_file.c:437 __fput+0x1a4/0x92c fs/file_table.c:376 __fput_sync+0x74/0x84 fs/file_table.c:461 __do_sys_close fs/open.c:1554 [inline] __se_sys_close fs/open.c:1539 [inline] __arm64_sys_close+0x6c/0xbc fs/open.c:1539 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x6c/0x258 arch/arm64/kernel/syscall.c:51 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:136 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x140 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 irq event stamp: 0 hardirqs last enabled at (0): [<0000000000000000>] 0x0 hardirqs last disabled at (0): [] copy_process+0x1404/0x5034 kernel/fork.c:2437 softirqs last enabled at (0): [] copy_process+0x1444/0x5034 kernel/fork.c:2441 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]---