------------[ cut here ]------------ WARNING: CPU: 0 PID: 31412 at drivers/gpu/drm/vkms/vkms_crtc.c:103 vkms_get_vblank_timestamp+0x1d2/0x210 drivers/gpu/drm/vkms/vkms_crtc.c:103 Modules linked in: CPU: 0 PID: 31412 Comm: syz-executor.4 Not tainted 6.8.0-rc4-syzkaller-00180-g4f5e5092fdbf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:vkms_get_vblank_timestamp+0x1d2/0x210 drivers/gpu/drm/vkms/vkms_crtc.c:103 Code: 00 74 08 48 89 ef e8 9d 40 28 fc 48 89 5d 00 b0 01 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 2f 22 c6 fb 90 <0f> 0b 90 eb e0 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 74 fe ff ff 48 RSP: 0018:ffffc900136f77a0 EFLAGS: 00010293 RAX: ffffffff85cd4a11 RBX: 0000028a2917ff37 RCX: ffff88805e7e5940 RDX: 0000000000000000 RSI: 0000028a2917ff37 RDI: 0000028a2917ff37 RBP: ffffc900136f7940 R08: ffffffff85cd4979 R09: 0000000000000000 R10: ffffc90003db2000 R11: ffffffff85cd4840 R12: 0000028a2917ff37 R13: 1ffff920026def28 R14: 0000000000000000 R15: ffff88801fdd0000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0063) knlGS:0000000058294400 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000030f21000 CR3: 000000002278a000 CR4: 00000000003506f0 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:867 [inline] drm_crtc_next_vblank_start+0x22d/0x480 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+0x277/0x8d0 drivers/gpu/drm/drm_atomic_helper.c:1604 drm_atomic_helper_commit+0x53a/0x9f0 drivers/gpu/drm/drm_atomic_helper.c:2033 drm_atomic_commit+0x27d/0x2d0 drivers/gpu/drm/drm_atomic.c:1514 drm_client_modeset_commit_atomic+0x676/0x7e0 drivers/gpu/drm/drm_client_modeset.c:1051 drm_client_modeset_commit_locked+0xe0/0x520 drivers/gpu/drm/drm_client_modeset.c:1154 drm_client_modeset_commit+0x4a/0x70 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:278 [inline] drm_fb_helper_lastclose+0xbb/0x180 drivers/gpu/drm/drm_fb_helper.c:2005 drm_fbdev_generic_client_restore+0x34/0x40 drivers/gpu/drm/drm_fbdev_generic.c:258 drm_client_dev_restore+0x132/0x270 drivers/gpu/drm/drm_client.c:247 drm_lastclose drivers/gpu/drm/drm_file.c:406 [inline] drm_release+0x47c/0x560 drivers/gpu/drm/drm_file.c:437 __fput+0x429/0x8a0 fs/file_table.c:376 __do_sys_close fs/open.c:1554 [inline] __se_sys_close fs/open.c:1539 [inline] __ia32_sys_close+0x7e/0x110 fs/open.c:1539 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xbd/0x120 arch/x86/entry/common.c:321 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:346 entry_SYSENTER_compat_after_hwframe+0x7c/0x86 RIP: 0023:0xf72e4579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f7585ad0 EFLAGS: 00000206 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000058294400 RDX: 0000000000000000 RSI: 00000000f743aff4 RDI: 0000000000000000 RBP: 00000000f72e0000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 90 nop 33: 90 nop 34: 90 nop 35: 90 nop 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop