------------[ cut here ]------------ WARNING: CPU: 1 PID: 7522 at drivers/gpu/drm/vkms/vkms_crtc.c:21 vkms_vblank_simulate+0x2c1/0x320 drivers/gpu/drm/vkms/vkms_crtc.c:21 Modules linked in: CPU: 1 PID: 7522 Comm: syz-executor.4 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vkms_vblank_simulate+0x2c1/0x320 drivers/gpu/drm/vkms/vkms_crtc.c:21 Code: 00 00 00 48 c7 c6 a0 18 8c 8a 31 c0 e8 48 98 ee ff b8 01 00 00 00 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 8f 97 e7 fc <0f> 0b e9 e8 fd ff ff 89 d9 80 e1 07 38 c1 0f 8c 5c fe ff ff 48 89 RSP: 0018:ffffc90000dc0cd0 EFLAGS: 00010046 RAX: ffffffff8496e981 RBX: 0000000000000003 RCX: ffff888022930000 RDX: 0000000000010001 RSI: 0000000000000003 RDI: 0000000000000001 RBP: ffff8880b9b26260 R08: ffffffff8496e761 R09: fffffbfff1c2c29e R10: fffffbfff1c2c29e R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880229309d8 R14: 0000000000fe4c00 R15: ffff888018e4cd30 FS: 00007fcf22340700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000541198 CR3: 000000002e070000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:191 Code: f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 2a 2b 14 f8 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 2f 61 a5 f7 65 8b 05 40 07 51 76 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90010ee7840 EFLAGS: 00000206 RAX: 1ffff920021dcf0c RBX: ffffffff90fb1660 RCX: ffffffff81612179 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90010ee78c8 R08: dffffc0000000000 R09: fffffbfff1ffe3c5 R10: fffffbfff1ffe3c5 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff920021dcf08 R14: ffffc90010ee7860 R15: 0000000000000a02 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] tpk_write+0x4ea/0x580 drivers/char/ttyprintk.c:127 process_output_block drivers/tty/n_tty.c:592 [inline] n_tty_write+0xd7b/0x1310 drivers/tty/n_tty.c:2354 do_tty_write drivers/tty/tty_io.c:1043 [inline] file_tty_write+0x5c5/0x9a0 drivers/tty/tty_io.c:1133 do_iter_readv_writev+0x566/0x770 include/linux/fs.h:2110 do_iter_write+0x16c/0x5f0 fs/read_write.c:866 vfs_writev fs/read_write.c:939 [inline] do_writev+0x240/0x440 fs/read_write.c:982 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcf22340188 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fff4f59cd1f R14: 00007fcf22340300 R15: 0000000000022000