watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz-executor.2:14648] Modules linked in: irq event stamp: 12621183 hardirqs last enabled at (12621182): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 hardirqs last disabled at (12621183): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1100 softirqs last enabled at (9580800): [] invoke_softirq kernel/softirq.c:433 [inline] softirqs last enabled at (9580800): [] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 softirqs last disabled at (9580803): [] invoke_softirq kernel/softirq.c:433 [inline] softirqs last disabled at (9580803): [] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 CPU: 0 PID: 14648 Comm: syz-executor.2 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x737/0x1330 drivers/net/wireless/mac80211_hwsim.c:1515 Code: b6 44 24 08 84 c0 0f 85 a8 06 00 00 e8 f2 7f 4c fc e8 ed 7f 4c fc 48 89 d8 48 c1 e8 03 80 3c 28 00 0f 85 93 09 00 00 48 8b 1b <48> 81 fb 60 39 d6 8c 0f 84 f7 04 00 00 e8 c7 7f 4c fc 49 39 de 4c RSP: 0018:ffffc90000007ba0 EFLAGS: 00000246 RAX: 1ffff11002f7263c RBX: ffff888033ae31e0 RCX: 0000000000000100 RDX: ffff88807cf254c0 RSI: ffffffff85285c93 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff85285d09 R11: 0000000000000000 R12: ffff88805896e000 R13: ffff888062b4b410 R14: ffff888062b4b1e0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bcc9c1b1e8 CR3: 000000000bc8e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: mac80211_hwsim_tx_frame+0x14f/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1775 mac80211_hwsim_beacon_tx+0x4ba/0x910 drivers/net/wireless/mac80211_hwsim.c:1829 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1852 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe40 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 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 de 52 41 f8 48 89 ef e8 76 cb 41 f8 e8 d1 bf 61 f8 fb bf 01 00 00 00 56 c1 35 f8 65 8b 05 3f c3 e8 76 85 c0 74 02 5d c3 e8 fb 18 e7 RSP: 0018:ffffc9000173f5b0 EFLAGS: 00000202 RAX: 00000000000096cd RBX: 0000000000000001 RCX: 1ffffffff1b925d1 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff8880b9c35640 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817aec78 R11: 0000000000000000 R12: ffff8880b9c35640 R13: ffff888064961c40 R14: 0000000000000000 R15: ffff88807cf254c0 finish_lock_switch kernel/sched/core.c:4093 [inline] finish_task_switch.isra.0+0x15d/0x810 kernel/sched/core.c:4210 context_switch kernel/sched/core.c:4342 [inline] __schedule+0x91e/0x23e0 kernel/sched/core.c:5147 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:5307 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] zap_pte_range mm/memory.c:1326 [inline] zap_pmd_range mm/memory.c:1374 [inline] zap_pud_range mm/memory.c:1403 [inline] zap_p4d_range mm/memory.c:1424 [inline] unmap_page_range+0xf98/0x2650 mm/memory.c:1445 unmap_single_vma+0x198/0x300 mm/memory.c:1490 unmap_vmas+0x16d/0x2f0 mm/memory.c:1522 exit_mmap+0x2a8/0x590 mm/mmap.c:3208 __mmput+0x122/0x470 kernel/fork.c:1096 mmput+0x58/0x60 kernel/fork.c:1117 exit_mm kernel/exit.c:502 [inline] do_exit+0xb0a/0x2a60 kernel/exit.c:813 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47f/0x2150 kernel/signal.c:2835 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x171/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: Unable to access opcode bytes at RIP 0x4665af. RSP: 002b:00007f313b437218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000056bf88 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000056bf88 RBP: 000000000056bf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf8c R13: 00007fff573285af R14: 00007f313b437300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14690 Comm: syz-executor.4 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:mark_lock+0xf7/0x17b0 kernel/locking/lockdep.c:4458 Code: 66 81 e2 ff 1f 44 0f b7 f2 be 08 00 00 00 4c 89 f0 48 c1 f8 06 48 8d 3c c5 a0 68 22 90 e8 71 e0 5f 00 4c 0f a3 35 e9 62 c8 0e <0f> 83 03 01 00 00 4b 8d 04 76 48 c1 e0 06 48 05 c0 6c 22 90 48 8d RSP: 0018:ffffc90000dc0500 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 1ffff920001b80a7 RCX: ffffffff815a05af RDX: fffffbfff2044d16 RSI: 0000000000000008 RDI: ffffffff902268a8 RBP: 0000000000000100 R08: 0000000000000000 R09: ffffffff902268af R10: fffffbfff2044d15 R11: 0000000000000000 R12: 0000000000000008 R13: ffff8880564ba688 R14: 0000000000000057 R15: ffff8880564ba6a8 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bcc9dd82b8 CR3: 00000000167ce000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4401 [inline] __lock_acquire+0x898/0x5230 kernel/locking/lockdep.c:4856 lock_acquire kernel/locking/lockdep.c:5512 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 hrtimer_interrupt+0x103/0xa00 kernel/time/hrtimer.c:1644 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:647 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3c4/0xb40 kernel/locking/qspinlock.c:508 Code: 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 72 04 00 00 <41> 0f b6 45 00 38 d8 7f 08 84 c0 0f 85 91 05 00 00 0f b6 45 00 84 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff19ac734 RDX: 0000000000000001 RSI: ffffffff817aec91 RDI: ffffffff8132b571 RBP: ffffffff8cd639a0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817aec59 R11: 0000000000000080 R12: 0000000000006c1b R13: fffffbfff19ac734 R14: 0000000000000001 R15: ffff8880b9d36400 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1514 mac80211_hwsim_tx_frame+0x14f/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1775 mac80211_hwsim_beacon_tx+0x4ba/0x910 drivers/net/wireless/mac80211_hwsim.c:1829 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1852 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe40 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:5535 Code: 55 53 65 48 8b 1c 25 00 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 42 fc 36 f8 e8 1d e9 62 f8 fb bf 01 00 00 00 92 ce ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 90 ea 36 RSP: 0018:ffffc90001b6f648 EFLAGS: 00000202 RAX: 00000000000bf10b RBX: ffff8880564b9c40 RCX: 1ffffffff1b925d1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed100ac97388 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817aec78 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:preempt_schedule+0x0/0x20 kernel/sched/core.c:5329 Code: f0 13 00 00 eb 9f 31 ff 45 31 ed e8 aa d2 42 f8 eb d6 48 89 df e8 00 e8 a1 f8 eb ad e8 79 e8 a1 f8 eb da 0f 1f 80 00 00 00 00 <65> 8b 05 e9 f4 e9 76 a9 ff ff ff 7f 74 01 c3 9c 58 f6 c4 02 74 f8 RSP: 0018:ffffc90001b6f710 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc90001b6f760 R08: 0000000000000000 R09: ffff88802a7487e3 R10: ffffed10054e90fc R11: 0000000000000000 R12: ffff888081730b00 R13: 0000000000000000 R14: dffffc0000000000 R15: 00007fb0398ad000 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] zap_pte_range mm/memory.c:1326 [inline] zap_pmd_range mm/memory.c:1374 [inline] zap_pud_range mm/memory.c:1403 [inline] zap_p4d_range mm/memory.c:1424 [inline] unmap_page_range+0xf98/0x2650 mm/memory.c:1445 unmap_single_vma+0x198/0x300 mm/memory.c:1490 unmap_vmas+0x16d/0x2f0 mm/memory.c:1522 exit_mmap+0x2a8/0x590 mm/mmap.c:3208 __mmput+0x122/0x470 kernel/fork.c:1096 mmput+0x58/0x60 kernel/fork.c:1117 exit_mm kernel/exit.c:502 [inline] do_exit+0xb0a/0x2a60 kernel/exit.c:813 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47f/0x2150 kernel/signal.c:2835 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x171/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: Unable to access opcode bytes at RIP 0x4665af. RSP: 002b:00007fb037ee2188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000033fe0 RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc6c841dbf R14: 00007fb037ee2300 R15: 0000000000022000