------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 0 PID: 19041 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: 19041 Comm: syz-executor.1 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Code: 24 48 c7 c7 e0 73 c9 88 e8 75 32 c2 ff 80 3d 10 33 fe 03 00 74 01 c3 48 c7 c7 e0 eb ca 88 c6 05 ff 32 fe 03 01 e8 6a 31 c2 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:ffffc90000007a40 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff8f4e5a40 RCX: 0000000000000000 RDX: 0000000000000102 RSI: 0000000000000004 RDI: fffff52000000f3a RBP: 0000000000000200 R08: 0000000000000001 R09: ffff8880b9e1fa1b R10: ffffed10173c3f43 R11: 61636f6c5f776172 R12: 0000000000000003 R13: fffffbfff1e9cb48 R14: 0000000000000001 R15: ffff8880b9e51f00 FS: 00007f6b7fd22700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6283b92000 CR3: 0000000085b46000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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] mac80211_hwsim_tx_frame_no_nl.isra.0+0x5ac/0x1020 drivers/net/wireless/mac80211_hwsim.c:1514 mac80211_hwsim_tx_frame+0x109/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1775 mac80211_hwsim_beacon_tx+0x3fb/0x7c0 drivers/net/wireless/mac80211_hwsim.c:1829 __iterate_interfaces+0x107/0x360 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x5c/0xf0 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xb7/0x160 drivers/net/wireless/mac80211_hwsim.c:1852 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x4d7/0xb00 kernel/time/hrtimer.c:1583 hrtimer_run_softirq+0x176/0x340 kernel/time/hrtimer.c:1600 __do_softirq+0x29b/0x9f6 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:226 [inline] __irq_exit_rcu kernel/softirq.c:420 [inline] irq_exit_rcu+0x134/0x200 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:batadv_hardif_get_by_netdev+0x116/0x2c0 net/batman-adv/hard-interface.c:71 Code: 30 00 0f 85 8e 01 00 00 4d 8b 24 24 49 81 fc 60 0f 5a 8f 0f 84 07 01 00 00 49 8d 7c 24 18 48 89 f8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 73 01 00 00 49 39 5c 24 18 75 bf 4d 8d 7c 24 20 be 04 00 00 RSP: 0018:ffffc9000992efd0 EFLAGS: 00000246 RAX: 1ffff110091dfb03 RBX: ffff88806eb82000 RCX: 1ffffffff18fa591 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888048efd818 RBP: 1ffff92001325dfb R08: 0000000000000000 R09: ffffffff8c7cfb0f R10: fffffbfff18f9f61 R11: 0000000000000001 R12: ffff888048efd800 R13: ffffc9000992eff8 R14: dffffc0000000000 R15: ffffffff8c61b060 batadv_hard_if_event+0x5e/0x1150 net/batman-adv/hard-interface.c:995 notifier_call_chain+0x94/0x170 kernel/notifier.c:83 call_netdevice_notifiers_extack net/core/dev.c:2075 [inline] call_netdevice_notifiers net/core/dev.c:2089 [inline] register_netdevice+0xd14/0x1210 net/core/dev.c:10209 __rtnl_newlink+0xcbf/0x1350 net/core/rtnetlink.c:3443 rtnl_newlink+0x5a/0x90 net/core/rtnetlink.c:3491 rtnetlink_rcv_msg+0x32f/0x860 net/core/rtnetlink.c:5553 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2502 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x70e/0xbe0 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:672 ____sys_sendmsg+0x5bf/0x7a0 net/socket.c:2348 ___sys_sendmsg+0xd3/0x150 net/socket.c:2402 __sys_sendmsg+0xb2/0x140 net/socket.c:2435 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6b809b00c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6b7fd22168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f6b80acff80 RCX: 00007f6b809b00c9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007f6b80a0bae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe5199b05f R14: 00007f6b7fd22300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 30 00 xor %al,(%rax) 2: 0f 85 8e 01 00 00 jne 0x196 8: 4d 8b 24 24 mov (%r12),%r12 c: 49 81 fc 60 0f 5a 8f cmp $0xffffffff8f5a0f60,%r12 13: 0f 84 07 01 00 00 je 0x120 19: 49 8d 7c 24 18 lea 0x18(%r12),%rdi 1e: 48 89 f8 mov %rdi,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) * 2a: 0f 85 73 01 00 00 jne 0x1a3 <-- trapping instruction 30: 49 39 5c 24 18 cmp %rbx,0x18(%r12) 35: 75 bf jne 0xfffffff6 37: 4d 8d 7c 24 20 lea 0x20(%r12),%r15 3c: be .byte 0xbe 3d: 04 00 add $0x0,%al