------------[ cut here ]------------ WARNING: CPU: 1 PID: 11622 at drivers/gpu/drm/vkms/vkms_crtc.c:100 vkms_get_vblank_timestamp+0x183/0x1b0 drivers/gpu/drm/vkms/vkms_crtc.c:100 Modules linked in: CPU: 1 UID: 0 PID: 11622 Comm: syz.6.2226 Not tainted 6.12.0-rc6-syzkaller-00110-gff7afaeca1a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:vkms_get_vblank_timestamp+0x183/0x1b0 drivers/gpu/drm/vkms/vkms_crtc.c:100 Code: 42 80 3c 30 00 74 08 48 89 ef e8 18 c9 09 fc 48 89 5d 00 b0 01 5b 41 5c 41 5d 41 5e 41 5f 5d e9 be 68 fb 05 e8 0e 02 a0 fb 90 <0f> 0b 90 eb e4 89 d9 80 e1 07 38 c1 0f 8c cd fe ff ff 48 89 df e8 RSP: 0018:ffffc90002deecc8 EFLAGS: 00010287 RAX: ffffffff85f4d852 RBX: 0000003957e96235 RCX: 0000000000040000 RDX: ffffc9001a800000 RSI: 0000000000001c5f RDI: 0000000000001c60 RBP: ffffc90002deee60 R08: ffffffff85f4d7bf R09: 1ffffffff2859b0a R10: dffffc0000000000 R11: ffffffff85f4d6d0 R12: 0000003957e96235 R13: ffff888020bec150 R14: 1ffff920005bddcc R15: ffff888024c40000 FS: 00007fc6736626c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff1873bcb8 CR3: 000000002916a000 CR4: 0000000000350ef0 Call Trace: drm_crtc_get_last_vbltimestamp drivers/gpu/drm/drm_vblank.c:878 [inline] drm_crtc_next_vblank_start+0x22b/0x490 drivers/gpu/drm/drm_vblank.c:1012 set_fence_deadline drivers/gpu/drm/drm_atomic_helper.c:1558 [inline] drm_atomic_helper_wait_for_fences+0x277/0x8e0 drivers/gpu/drm/drm_atomic_helper.c:1605 commit_tail+0x75/0x3c0 drivers/gpu/drm/drm_atomic_helper.c:1819 drm_atomic_helper_commit+0x953/0x9f0 drivers/gpu/drm/drm_atomic_helper.c:2073 drm_atomic_commit+0x298/0x2f0 drivers/gpu/drm/drm_atomic.c:1516 drm_client_modeset_commit_atomic+0x676/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1068 drm_client_modeset_commit_locked+0xe0/0x520 drivers/gpu/drm/drm_client_modeset.c:1171 pan_display_atomic drivers/gpu/drm/drm_fb_helper.c:1371 [inline] drm_fb_helper_pan_display+0x379/0xc10 drivers/gpu/drm/drm_fb_helper.c:1431 fb_pan_display+0x3a5/0x680 drivers/video/fbdev/core/fbmem.c:191 fb_set_var+0x860/0xf10 drivers/video/fbdev/core/fbmem.c:323 fbcon_switch+0x8af/0x2250 drivers/video/fbdev/core/fbcon.c:2126 redraw_screen+0x548/0xe90 drivers/tty/vt/vt.c:957 vc_do_resize+0x1275/0x17f0 drivers/tty/vt/vt.c:1272 vc_resize include/linux/vt_kern.h:49 [inline] fbcon_modechanged+0x765/0x1200 drivers/video/fbdev/core/fbcon.c:2679 do_fb_ioctl+0x71b/0x7b0 drivers/video/fbdev/core/fb_chrdev.c:92 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc67277e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc673662038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc672935f80 RCX: 00007fc67277e719 RDX: 0000000020000940 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00007fc6727f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc672935f80 R15: 00007fffdaa84c78