------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 0 PID: 9757 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Modules linked in: CPU: 0 PID: 9757 Comm: kworker/0:7 Not tainted 5.12.0-rc2-next-20210310-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Code: be ff cc cc cc cc cc cc cc cc cc cc cc 80 3d 03 c8 aa 04 00 74 01 c3 48 c7 c7 a0 8f 6b 89 c6 05 f2 c7 aa 04 01 e8 6f d3 be ff <0f> 0b c3 48 39 77 10 0f 84 97 00 00 00 66 f7 47 22 f0 ff 74 4b 48 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9757 at drivers/gpu/drm/vkms/vkms_crtc.c:21 vkms_vblank_simulate+0x31e/0x3b0 drivers/gpu/drm/vkms/vkms_crtc.c:21 Modules linked in: CPU: 0 PID: 9757 Comm: kworker/0:7 Not tainted 5.12.0-rc2-next-20210310-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:vkms_vblank_simulate+0x31e/0x3b0 drivers/gpu/drm/vkms/vkms_crtc.c:21 Code: 85 9e 00 00 00 48 8b 95 b8 01 00 00 4c 89 e1 bf 02 00 00 00 48 c7 c6 40 fe d8 89 e8 bc 0c f0 ff e9 e5 fe ff ff e8 92 fe 25 fd <0f> 0b e9 88 fd ff ff e8 16 ae 69 fd e9 11 fe ff ff 4c 89 ef e8 09 RSP: 0018:ffffc90000007488 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888143d71e58 RCX: 0000000000000100 RDX: ffff888027788000 RSI: ffffffff844ddf0e RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff844ddc93 R11: 0000000000000000 R12: ffff888143d70d30 R13: 0000000000fe4c00 R14: ffff8880b9c26380 R15: ffffffff844ddbf0 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffda4f8090 CR3: 00000000220a8000 CR4: 00000000001506f0 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+0x609/0xe40 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:197 Code: f0 4d 89 03 e9 f2 fc ff ff b9 ff ff ff ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 40 00 <65> 8b 05 19 12 8e 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90000007750 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff888027788000 RSI: ffffffff815bdeb3 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8fac7867 R10: ffffffff815bdea9 R11: 0000000000000000 R12: ffffffff84b36d20 R13: 0000000000000200 R14: dffffc0000000000 R15: ffffc900000077b0 console_unlock+0x7c9/0xc40 kernel/printk/printk.c:2659 vprintk_emit+0x1ca/0x560 kernel/printk/printk.c:2174 vprintk_func+0x8d/0x260 kernel/printk/printk_safe.c:392 printk+0xba/0xed kernel/printk/printk.c:2222 show_opcodes.cold+0x1c/0x21 arch/x86/kernel/dumpstack.c:129 show_iret_regs+0xd/0x33 arch/x86/kernel/dumpstack.c:155 __show_regs+0x1e/0x60 arch/x86/kernel/process_64.c:73 show_regs+0x2f/0x40 arch/x86/kernel/dumpstack.c:469 __warn+0xe2/0x210 kernel/panic.c:595 report_bug+0x1bd/0x210 lib/bug.c:195 handle_bug+0x3c/0x60 arch/x86/kernel/traps.c:239 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:259 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:575 RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Code: be ff cc cc cc cc cc cc cc cc cc cc cc 80 3d 03 c8 aa 04 00 74 01 c3 48 c7 c7 a0 8f 6b 89 c6 05 f2 c7 aa 04 01 e8 6f d3 be ff <0f> 0b c3 48 39 77 10 0f 84 97 00 00 00 66 f7 47 22 f0 ff 74 4b 48 RSP: 0018:ffffc90000007c50 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801adc7080 RCX: 0000000000000000 RDX: ffff888027788000 RSI: ffffffff815c17b5 RDI: fffff52000000f7c RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815baf5e R11: 0000000000000000 R12: 0000000000000003 R13: ffffed10035b8e10 R14: 0000000000000001 R15: ffff8880b9c35fc0 kvm_wait arch/x86/kernel/kvm.c:865 [inline] kvm_wait+0xc9/0xe0 arch/x86/kernel/kvm.c:842 pv_wait arch/x86/include/asm/paravirt.h:564 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8b8/0xb40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] __netif_tx_lock include/linux/netdevice.h:4259 [inline] virtnet_poll_tx+0x1b5/0x370 drivers/net/virtio_net.c:1515 __napi_poll+0xaf/0x440 net/core/dev.c:6892 napi_poll net/core/dev.c:6959 [inline] net_rx_action+0x801/0xb40 net/core/dev.c:7036 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:422 irq_exit_rcu+0x5/0x20 kernel/softirq.c:434 common_interrupt+0xa4/0xd0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__slab_alloc.constprop.0+0x68/0xf0 mm/slub.c:2794 Code: 0c 8b 4c 89 f9 44 89 f2 44 89 ee 48 89 ef 4d 01 e0 e8 8c f4 ff ff 49 89 c4 9c 58 f6 c4 02 75 53 48 85 db 74 01 fb 48 83 c4 08 <4c> 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 55 ae c2 ff 4c 8b 65 RSP: 0018:ffffc9000d6cfb90 EFLAGS: 00000296 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1f6370a RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888010842140 R08: 0000000000000001 R09: ffffffff8fac793f R10: 0000000000000001 R11: 0000000000000000 R12: ffff888026648000 R13: 0000000000082a20 R14: 00000000ffffffff R15: ffffffff8530135c slab_alloc_node mm/slub.c:2872 [inline] __kmalloc_node_track_caller+0x2c0/0x320 mm/slub.c:4595 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:425 alloc_skb include/linux/skbuff.h:1102 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:513 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0x2ac/0xbd0 drivers/net/netdevsim/dev.c:611 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294