------------[ cut here ]------------ WARNING: CPU: 0 PID: 6960 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: 0 UID: 0 PID: 6960 Comm: syz-executor.1 Not tainted 6.11.0-rc5-syzkaller-gdf54f4a16f82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 804000c5 (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 : ffff8000a1da72a0 x29: ffff8000a1da72a0 x28: 0000000000004e20 x27: ffff8000a1da7370 x26: ffff8000a1da7360 x25: 0000000000000000 x24: 1ffff000143b4e6e x23: ffff0000c9178000 x22: dfff800000000000 x21: 0000000e3d480009 x20: 0000000e3d480009 x19: ffff8000a1da7370 x18: 0000000000000000 x17: 0048000000000326 x16: ffff80008035e93c x15: ffff7000143b4e68 x14: 1ffff000143b4e68 x13: 0000000000000004 x12: ffff7000143b4e68 x11: ffff800084000a0c x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d1a53c80 x7 : ffff8000840014f0 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff8000a1da7370 x1 : 0000000e3d480009 x0 : 0000000e3d480009 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_get_last_vbltimestamp drivers/gpu/drm/drm_vblank.c:899 [inline] drm_update_vblank_count+0x1fc/0xa5c drivers/gpu/drm/drm_vblank.c:311 drm_vblank_disable_and_save+0xc8/0x324 drivers/gpu/drm/drm_vblank.c:480 drm_crtc_vblank_off+0x258/0x7b8 drivers/gpu/drm/drm_vblank.c:1363 vkms_crtc_atomic_disable+0x20/0x30 drivers/gpu/drm/vkms/vkms_crtc.c:230 disable_outputs drivers/gpu/drm/drm_atomic_helper.c:1214 [inline] drm_atomic_helper_commit_modeset_disables+0xab0/0x15bc drivers/gpu/drm/drm_atomic_helper.c:1418 vkms_atomic_commit_tail+0x5c/0x20c drivers/gpu/drm/vkms/vkms_drv.c:71 commit_tail+0x274/0x3b8 drivers/gpu/drm/drm_atomic_helper.c:1833 drm_atomic_helper_commit+0x854/0x8d4 drivers/gpu/drm/drm_atomic_helper.c:2073 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_sync+0x60/0x9c fs/file_table.c:507 __do_sys_close fs/open.c:1566 [inline] __se_sys_close fs/open.c:1551 [inline] __arm64_sys_close+0x150/0x1e0 fs/open.c:1551 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 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: 1924 hardirqs last enabled at (1923): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (1923): [] _raw_spin_unlock_irq+0x30/0x80 kernel/locking/spinlock.c:202 hardirqs last disabled at (1924): [] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:117 [inline] hardirqs last disabled at (1924): [] _raw_spin_lock_irq+0x28/0x70 kernel/locking/spinlock.c:170 softirqs last enabled at (1778): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1776): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---