------------[ cut here ]------------ WARNING: CPU: 0 PID: 6764 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: 0 UID: 0 PID: 6764 Comm: syz.0.454 Not tainted 6.12.0-rc1-syzkaller-00031-ge32cde8d2bd7 #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 c8 a2 10 fc 48 89 5d 00 b0 01 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 de 13 aa 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:ffffc9000a406d88 EFLAGS: 00010287 RAX: ffffffff85eac782 RBX: 000000283204d7a8 RCX: 0000000000040000 RDX: ffffc90017419000 RSI: 00000000000053d1 RDI: 00000000000053d2 RBP: ffffc9000a406f20 R08: ffffffff85eac6ef R09: 0000000000000000 R10: ffffc900037a1000 R11: ffffffff85eac600 R12: 000000283204d7a8 R13: ffff888021322950 R14: 1ffff92001480de4 R15: ffff888024f2c000 FS: 00007f39c5f7d6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002024 CR3: 0000000032ac0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_crtc_get_last_vbltimestamp drivers/gpu/drm/drm_vblank.c:878 [inline] drm_crtc_next_vblank_start+0x229/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 drm_atomic_helper_commit+0x53a/0x9f0 drivers/gpu/drm/drm_atomic_helper.c:2034 drm_atomic_commit+0x296/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+0x3a3/0x680 drivers/video/fbdev/core/fbmem.c:191 bit_update_start+0x4d/0x1c0 drivers/video/fbdev/core/bitblit.c:381 fbcon_switch+0x144b/0x2250 drivers/video/fbdev/core/fbcon.c:2186 flush_scrollback drivers/tty/vt/vt.c:901 [inline] csi_J+0x6f8/0xeb0 drivers/tty/vt/vt.c:1516 do_con_trol drivers/tty/vt/vt.c:2657 [inline] do_con_write+0x3b5b/0x4c30 drivers/tty/vt/vt.c:3092 con_write+0x26/0x40 drivers/tty/vt/vt.c:3434 process_output_block drivers/tty/n_tty.c:574 [inline] n_tty_write+0xd62/0x1230 drivers/tty/n_tty.c:2389 iterate_tty_write drivers/tty/tty_io.c:1015 [inline] file_tty_write+0x546/0x9b0 drivers/tty/tty_io.c:1090 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xa6d/0xc90 fs/read_write.c:683 ksys_write+0x183/0x2b0 fs/read_write.c:736 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:0x7f39c517dff9 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:00007f39c5f7d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f39c5336058 RCX: 00007f39c517dff9 RDX: 0000000000001006 RSI: 0000000020001040 RDI: 0000000000000007 RBP: 00007f39c51f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f39c5336058 R15: 00007ffe00d9b3f8