watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.7:5391]
Modules linked in:
irq event stamp: 4583923
hardirqs last  enabled at (4583922): [<ffffffff84000d02>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
hardirqs last disabled at (4583923): [<ffffffff83e6274b>] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094
softirqs last  enabled at (4578160): [<ffffffff84001092>] asm_call_irq_on_stack+0x12/0x20
softirqs last disabled at (4578163): [<ffffffff84001092>] asm_call_irq_on_stack+0x12/0x20
CPU: 0 PID: 5391 Comm: syz-executor.7 Not tainted 5.10.227 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:__orc_find+0xb1/0xf0 arch/x86/kernel/unwind_orc.c:60
Code: 39 c1 73 b0 4c 8d 63 fc 49 39 ec 73 b3 4d 29 ee 49 c1 fe 02 4b 8d 04 76 48 8d 04 46 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f <e9> ca d3 0f 03 48 83 c4 10 31 c0 5b 5d 41 5c 41 5d 41 5e 41 5f e9
RSP: 0018:ffff88806ce09668 EFLAGS: 00000282
RAX: ffffffff859b9ea0 RBX: 0000000000000002 RCX: ffffffff8130259b
RDX: 0000000000000000 RSI: ffffffff859b9e8e RDI: ffffffff856e7f3c
RBP: ffff88806ce0977d R08: ffffffff859b9e8e R09: ffffffff859b9f0c
R10: 0000000000032042 R11: 1ffff1100d9c12d6 R12: ffff88806ce09790
R13: ffff88806ce09748 R14: 1ffff1100d9c12d6 R15: ffffffff8130259b
FS:  00007f3a8ccfd700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001d80 CR3: 00000000455da000 CR4: 0000000000350ef0
Call Trace:
 <IRQ>
 orc_find arch/x86/kernel/unwind_orc.c:178 [inline]
 unwind_next_frame+0x2b3/0x1a90 arch/x86/kernel/unwind_orc.c:448
 arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121
 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48
 kasan_set_track mm/kasan/common.c:56 [inline]
 __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461
 slab_post_alloc_hook mm/slab.h:532 [inline]
 slab_alloc_node mm/slub.c:2896 [inline]
 kmem_cache_alloc_node+0x14b/0x330 mm/slub.c:2932
 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199
 skb_copy+0x183/0x350 net/core/skbuff.c:1529
 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb1d/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1499
 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716
 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770
 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792
 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828
 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793
 __run_hrtimer kernel/time/hrtimer.c:1586 [inline]
 __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650
 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667
 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298
 asm_call_irq_on_stack+0x12/0x20
 </IRQ>
 __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+0x80/0xa0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:393 [inline]
 __irq_exit_rcu kernel/softirq.c:423 [inline]
 irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:do_syscall_64+0x37/0x40 arch/x86/entry/common.c:56
Code: 00 00 48 3d b8 01 00 00 77 20 48 3d b9 01 00 00 48 19 d2 48 21 d0 48 89 ef 48 8b 04 c5 40 34 40 84 e8 ed 44 3a 00 48 89 45 50 <48> 89 ef 5d e9 30 40 00 00 55 48 89 fd 65 48 8b 04 25 80 6f 02 00
RSP: 0018:ffff8880455eff48 EFLAGS: 00000282
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffc90006e32000
RDX: 0000000000040000 RSI: ffffffff8135c8b4 RDI: ffff88801e6ecee0
RBP: ffff8880455eff58 R08: 0000000000000001 R09: ffff88801e6ecee3
R10: ffffed1003cdd9dc R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 entry_SYSCALL_64_after_hwframe+0x67/0xd1
RIP: 0033:0x7f3a8f787b19
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:00007f3a8ccfd218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f3a8f89af68 RCX: 00007f3a8f787b19
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f3a8f89af6c
RBP: 00007f3a8f89af60 R08: 000000000000000e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000246 R12: 00007f3a8f89af6c
R13: 00007ffeb9fbf4af R14: 00007f3a8ccfd300 R15: 0000000000022000
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.227 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline]
RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline]
RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326
Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 40 8a f8 02 f3 90 <e9> 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00
RSP: 0018:ffff88806cf09a38 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffffff87a06080 RCX: ffffffff8127b507
RDX: fffffbfff0f40c11 RSI: 0000000000000004 RDI: ffffffff87a06080
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a06083
R10: fffffbfff0f40c10 R11: 0000000000000001 R12: 0000000000000003
R13: fffffbfff0f40c10 R14: 0000000000000001 R15: 1ffff1100d9e1348
FS:  0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9176605620 CR3: 000000000dece000 CR4: 0000000000350ee0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock+0x1dc/0x260 kernel/locking/spinlock_debug.c:113
 spin_lock include/linux/spinlock.h:354 [inline]
 mac80211_hwsim_tx_frame_no_nl.isra.0+0x695/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1450
 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716
 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770
 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792
 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828
 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793
 __run_hrtimer kernel/time/hrtimer.c:1586 [inline]
 __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650
 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667
 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298
 asm_call_irq_on_stack+0x12/0x20
 </IRQ>
 __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+0x80/0xa0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:393 [inline]
 __irq_exit_rcu kernel/softirq.c:423 [inline]
 irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:default_idle+0xe/0x20 arch/x86/kernel/process.c:707
Code: 4e ff ff ff 4c 89 e7 e8 e0 f8 84 fd eb 8f 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 e9 07 00 00 00 0f 00 2d 74 85 5a 00 fb f4 <e9> ad 86 38 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54
RSP: 0018:ffff888008987e70 EFLAGS: 00000202
RAX: ffffffff83e7b900 RBX: 0000000000000001 RCX: ffffffff83e634dc
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e7bf08
RBP: ffffed100112f000 R08: 0000000000000001 R09: ffff88806cf3c12b
R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001
R13: ffffffff85677688 R14: 0000000000000000 R15: dffffc0000000000
 default_idle_call+0xbf/0x2c0 kernel/sched/idle.c:112
 cpuidle_idle_call kernel/sched/idle.c:194 [inline]
 do_idle+0x3ad/0x520 kernel/sched/idle.c:300
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:396
 secondary_startup_64_no_verify+0xbe/0xcb
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
print_req_error: 38 callbacks suppressed
blk_update_request: I/O error, dev sr0, sector 2096896 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
blk_update_request: I/O error, dev loop4, sector 2096896 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
buffer_io_error: 14 callbacks suppressed
Buffer I/O error on dev loop4, logical block 2096896, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
blk_update_request: I/O error, dev sr0, sector 2096897 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
blk_update_request: I/O error, dev loop4, sector 2096897 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Buffer I/O error on dev loop4, logical block 2096897, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
blk_update_request: I/O error, dev sr0, sector 2096898 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
blk_update_request: I/O error, dev loop4, sector 2096898 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Buffer I/O error on dev loop4, logical block 2096898, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
blk_update_request: I/O error, dev sr0, sector 2096899 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
blk_update_request: I/O error, dev loop4, sector 2096899 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Buffer I/O error on dev loop4, logical block 2096899, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
blk_update_request: I/O error, dev sr0, sector 2096900 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
blk_update_request: I/O error, dev loop4, sector 2096900 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Buffer I/O error on dev loop4, logical block 2096900, async page read
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
sr 1:0:0:0: [sr0] tag#0 unaligned transfer
Buffer I/O error on dev loop4, logical block 2096901, async page read
Buffer I/O error on dev loop4, logical block 2096902, async page read
Buffer I/O error on dev loop4, logical block 2096903, async page read
----------------
Code disassembly (best guess):
   0:	39 c1                	cmp    %eax,%ecx
   2:	73 b0                	jae    0xffffffb4
   4:	4c 8d 63 fc          	lea    -0x4(%rbx),%r12
   8:	49 39 ec             	cmp    %rbp,%r12
   b:	73 b3                	jae    0xffffffc0
   d:	4d 29 ee             	sub    %r13,%r14
  10:	49 c1 fe 02          	sar    $0x2,%r14
  14:	4b 8d 04 76          	lea    (%r14,%r14,2),%rax
  18:	48 8d 04 46          	lea    (%rsi,%rax,2),%rax
  1c:	48 83 c4 10          	add    $0x10,%rsp
  20:	5b                   	pop    %rbx
  21:	5d                   	pop    %rbp
  22:	41 5c                	pop    %r12
  24:	41 5d                	pop    %r13
  26:	41 5e                	pop    %r14
  28:	41 5f                	pop    %r15
* 2a:	e9 ca d3 0f 03       	jmpq   0x30fd3f9 <-- trapping instruction
  2f:	48 83 c4 10          	add    $0x10,%rsp
  33:	31 c0                	xor    %eax,%eax
  35:	5b                   	pop    %rbx
  36:	5d                   	pop    %rbp
  37:	41 5c                	pop    %r12
  39:	41 5d                	pop    %r13
  3b:	41 5e                	pop    %r14
  3d:	41 5f                	pop    %r15
  3f:	e9                   	.byte 0xe9