------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 1 PID: 111 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Modules linked in: CPU: 1 PID: 111 Comm: kworker/u4:3 Not tainted 5.12.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker 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 6d 09 ac 04 00 74 01 c3 48 c7 c7 e0 8f 6b 89 c6 05 5c 09 ac 04 01 e8 69 d0 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: 1 PID: 111 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: 1 PID: 111 Comm: kworker/u4:3 Not tainted 5.12.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker 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 e0 ba d8 89 e8 5c 09 f0 ff e9 e5 fe ff ff e8 72 62 27 fd <0f> 0b e9 88 fd ff ff e8 66 e5 6a fd e9 11 fe ff ff 4c 89 ef e8 59 RSP: 0018:ffffc90000dc04e8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888019539e58 RCX: 0000000000000100 RDX: ffff888011c23780 RSI: ffffffff844c4aee RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff844c4873 R11: 0000000000000000 R12: ffff888019538d30 R13: 0000000000fe4c00 R14: ffff8880b9d26340 R15: ffffffff844c47d0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000816c0d0 CR3: 0000000026633000 CR4: 00000000001506e0 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 59 42 8e 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90000dc07b0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff888011c23780 RSI: ffffffff815bc80f RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8fab0867 R10: ffffffff815bc805 R11: 0000000000000000 R12: ffffffff84b20f70 R13: 0000000000000200 R14: dffffc0000000000 R15: ffffc90000dc0810 console_unlock+0x805/0xc80 kernel/printk/printk.c:2586 vprintk_emit+0x1ca/0x560 kernel/printk/printk.c:2098 vprintk_func+0x8d/0x1e0 kernel/printk/printk_safe.c:401 printk+0xba/0xed kernel/printk/printk.c:2146 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 6d 09 ac 04 00 74 01 c3 48 c7 c7 e0 8f 6b 89 c6 05 5c 09 ac 04 01 e8 69 d0 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:ffffc90000dc0cb8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88801b418088 RCX: 0000000000000000 RDX: ffff888011c23780 RSI: ffffffff815c0975 RDI: fffff520001b8189 RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815b970e R11: 0000000000000000 R12: 0000000000000003 R13: ffffed1003683011 R14: 0000000000000001 R15: ffff8880b9d35f40 kvm_wait arch/x86/kernel/kvm.c:860 [inline] kvm_wait+0xc9/0xe0 arch/x86/kernel/kvm.c:837 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] tcp_tsq_handler+0x1d/0x200 net/ipv4/tcp_output.c:1029 tcp_tasklet_func+0x2cc/0x560 net/ipv4/tcp_output.c:1063 tasklet_action_common.constprop.0+0x1d7/0x2d0 kernel/softirq.c:557 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 invoke_softirq kernel/softirq.c:221 [inline] __irq_exit_rcu kernel/softirq.c:422 [inline] irq_exit_rcu+0x134/0x200 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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 5e 2c 51 f8 48 89 ef e8 86 e2 51 f8 e8 31 6a 71 f8 fb bf 01 00 00 00 56 dd 45 f8 65 8b 05 cf be f9 76 85 c0 74 02 5d c3 e8 2b 14 f8 RSP: 0018:ffffc9000125f998 EFLAGS: 00000206 RAX: 000000000012cec5 RBX: 0000000000000001 RCX: 1ffffffff1f5fff2 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff8880b9d35180 R08: 0000000000000001 R09: ffffffff8fab0937 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880b9d35180 R13: ffff8880252dd340 R14: 0000000000000000 R15: ffff888011c23780 finish_lock_switch kernel/sched/core.c:4074 [inline] finish_task_switch.isra.0+0x158/0x7e0 kernel/sched/core.c:4191 context_switch kernel/sched/core.c:4325 [inline] __schedule+0x914/0x21a0 kernel/sched/core.c:5073 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:5530 irqentry_exit_cond_resched kernel/entry/common.c:392 [inline] irqentry_exit_cond_resched kernel/entry/common.c:384 [inline] irqentry_exit+0x7a/0xa0 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:lock_acquire+0x1ef/0x740 kernel/locking/lockdep.c:5478 Code: 93 a8 7e 83 f8 01 0f 85 ee 03 00 00 9c 58 f6 c4 02 0f 85 d9 03 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000125fba0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff9200024bf76 RCX: 00000000429dd4e1 RDX: 1ffff11002384821 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8fab0867 R10: fffffbfff1f5610c R11: 0000000000000000 R12: 0000000000000002 R13: ffffffff8bf74260 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:267 [inline] rcu_read_lock include/linux/rcupdate.h:656 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0x12d/0xe50 net/batman-adv/network-coding.c:715 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