WARNING: CPU: 1 PID: 25816 at drivers/gpu/drm/drm_vblank.c:1310 drm_wait_one_vblank+0x32d/0x540 drivers/gpu/drm/drm_vblank.c:1310 Modules linked in: CPU: 1 PID: 25816 Comm: syz-executor.2 Not tainted 6.5.0-rc7-syzkaller-00168-g7d2f353b2682 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:drm_wait_one_vblank+0x32d/0x540 drivers/gpu/drm/drm_vblank.c:1310 Code: 4d 85 ed 0f 84 49 01 00 00 e8 1f 09 d4 fc 4c 89 e7 e8 d7 e6 78 00 89 e9 4c 89 ea 48 c7 c7 80 e9 dc 8a 48 89 c6 e8 43 cb 9a fc <0f> 0b e9 16 fe ff ff e8 f7 08 d4 fc 48 8d 7b 08 48 b8 00 00 00 00 RSP: 0018:ffffc9000e3dfb38 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801f254000 RCX: 0000000000000000 RDX: ffff888079020000 RSI: ffffffff814ccc86 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801f4c0010 R13: ffff8881476f8758 R14: 1ffff92001c7bf69 R15: 0000000000019d37 FS: 00007fcedb3fe6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f659d79d988 CR3: 0000000033e45000 CR4: 0000000000350ee0 Call Trace: drm_fb_helper_ioctl+0x152/0x190 drivers/gpu/drm/drm_fb_helper.c:1092 do_fb_ioctl+0x3d0/0x7d0 drivers/video/fbdev/core/fbmem.c:1085 fb_ioctl+0xf1/0x160 drivers/video/fbdev/core/fbmem.c:1099 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcedc87cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcedb3fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fcedc99c050 RCX: 00007fcedc87cae9 RDX: 0000000000000000 RSI: 0000000040044620 RDI: 0000000000000003 RBP: 00007fcedc8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcedc99c050 R15: 00007ffd2896beb8