------------[ cut here ]------------ WARNING: CPU: 1 PID: 22162 at drivers/gpu/drm/vkms/vkms_crtc.c:98 vkms_get_vblank_timestamp+0x183/0x1b0 drivers/gpu/drm/vkms/vkms_crtc.c:98 Modules linked in: CPU: 1 UID: 0 PID: 22162 Comm: syz.5.2556 Not tainted 6.13.0-rc6-syzkaller-00262-gb62cef9a5c67 #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:98 Code: 42 80 3c 30 00 74 08 48 89 ef e8 48 38 09 fc 48 89 5d 00 b0 01 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 8e d3 a2 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:ffffc9000b35ec08 EFLAGS: 00010287 RAX: ffffffff85fcaea2 RBX: 00000111bcaab157 RCX: 0000000000080000 RDX: ffffc9000c439000 RSI: 000000000000174d RDI: 000000000000174e RBP: ffffc9000b35eda0 R08: ffffffff85fcae0f R09: 0000000000000000 R10: ffffc90003499000 R11: ffffffff85fcad20 R12: 00000111bcaab157 R13: ffff888022732150 R14: 1ffff9200166bdb4 R15: ffff888024f70000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0063) knlGS:00000000f505fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002088c000 CR3: 000000003d562000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 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+0x294/0x2f0 drivers/gpu/drm/drm_atomic.c:1518 drm_client_modeset_commit_atomic+0x670/0x7d0 drivers/gpu/drm/drm_client_modeset.c:1070 drm_client_modeset_commit_locked+0xe0/0x520 drivers/gpu/drm/drm_client_modeset.c:1173 pan_display_atomic drivers/gpu/drm/drm_fb_helper.c:1377 [inline] drm_fb_helper_pan_display+0x379/0xc10 drivers/gpu/drm/drm_fb_helper.c:1437 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 redraw_screen+0x546/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 fb_compat_ioctl+0x2be/0xc80 drivers/video/fbdev/core/fb_chrdev.c:293 __do_compat_sys_ioctl fs/ioctl.c:1004 [inline] __se_compat_sys_ioctl+0x502/0xc10 fs/ioctl.c:947 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf706d579 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:00000000f505f55c EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000000000b RCX: 0000000000004601 RDX: 0000000020000940 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 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