watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.0:4854] Modules linked in: irq event stamp: 4182009 hardirqs last enabled at (4182008): [<ffffffff84000d02>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4182009): [<ffffffff83e5e2fb>] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (4168478): [<ffffffff84001092>] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4168481): [<ffffffff84001092>] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 4854 Comm: syz-executor.0 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x795/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1461 Code: bb 8c 26 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 64 09 00 00 44 0f b6 bb 8c 26 00 00 <31> ff 44 89 fe e8 d1 9c 77 fe 45 84 ff 0f 84 77 ff ff ff e8 b3 a3 RSP: 0018:ffff88806cf09b90 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880468831c0 RCX: ffffffff82c8fce9 RDX: 0000000000000004 RSI: ffffffff82c8fb49 RDI: ffff88804688584c RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffffff8686872f R10: 0000000000000002 R11: 0000000000000001 R12: ffff88800e3168c0 R13: ffff888047d333f0 R14: ffff888047d331c0 R15: 0000000000000001 FS: 00007fc46368b700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd265a4c78 CR3: 000000001ca36000 CR4: 0000000000350ee0 Call Trace: <IRQ> 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:__kasan_slab_free+0x117/0x160 mm/kasan/common.c:424 Code: 48 01 ca 48 29 fa e8 b8 9e 96 00 84 db 74 33 41 f6 45 0b 08 74 2c 4c 89 e6 4c 89 ef 31 d2 e8 50 24 00 00 49 63 bd c0 00 00 00 <4c> 89 ee 4c 01 e7 e8 4e 2a 00 00 89 d8 5b 5d 41 5c 41 5d e9 d1 d2 RSP: 0018:ffff888048f1f610 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 00000000ce72f933 RSI: ffffffff8400011f RDI: 0000000000000000 RBP: ffffffff816c4da7 R08: 00000000a2f626b2 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801abdfcb8 R13: ffff88800c737a00 R14: 0000000000000296 R15: ffff88801abdfcb8 slab_free_hook mm/slub.c:1542 [inline] slab_free_freelist_hook+0xa9/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kmem_cache_free+0xa7/0x2d0 mm/slub.c:3165 jbd2_free_handle include/linux/jbd2.h:1559 [inline] jbd2_journal_stop+0x61f/0xdc0 fs/jbd2/transaction.c:1938 __ext4_journal_stop+0xde/0x1f0 fs/ext4/ext4_jbd2.c:127 ext4_truncate+0x834/0x1160 fs/ext4/inode.c:4361 ext4_setattr+0x1684/0x2160 fs/ext4/inode.c:5615 notify_change+0xc28/0x1160 fs/attr.c:410 do_truncate+0x134/0x1f0 fs/open.c:64 handle_truncate fs/namei.c:2970 [inline] do_open fs/namei.c:3311 [inline] path_openat+0x1dcd/0x2770 fs/namei.c:3425 do_filp_open+0x190/0x3e0 fs/namei.c:3452 do_sys_openat2+0x171/0x4d0 fs/open.c:1227 do_sys_open fs/open.c:1243 [inline] __do_sys_creat fs/open.c:1317 [inline] __se_sys_creat fs/open.c:1311 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1311 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fc466115b19 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:00007fc46368b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fc466228f60 RCX: 00007fc466115b19 RDX: 0000000000000000 RSI: 00000000000001c8 RDI: 0000000020000000 RBP: 00007fc46616ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2aa3c46f R14: 00007fc46368b300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4835 Comm: syz-executor.6 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:196 Code: ff ff ff b8 08 00 00 00 4d 8b 17 49 8b 16 48 0f bd c8 48 63 c9 e9 5e ff ff ff 4c 01 d2 49 89 17 e9 cd fd ff ff 90 48 8b 34 24 <65> 48 8b 14 25 80 6f 02 00 65 8b 05 ec cf c1 7e a9 00 01 ff 00 74 RSP: 0018:ffff88806ce09788 EFLAGS: 00000016 RAX: 0000000000000000 RBX: 0000005c464366db RCX: ffffffff8131277a RDX: 0000005c464366db RSI: ffffffff81312d5b RDI: 0000000000000006 RBP: ffff88800f5eb158 R08: 0000000000000000 R09: ffffffff85675ecf R10: 0000005c46438659 R11: 0000000000000001 R12: ffff88806ce2ea40 R13: ffff88806ce2eac0 R14: 0000005c46438659 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055edbbbaa678 CR3: 0000000047c02000 CR4: 0000000000350ef0 Call Trace: <NMI> </NMI> <IRQ> __hrtimer_run_queues+0x92b/0xb40 include/trace/events/timer.h:283 hrtimer_interrupt+0x2fd/0x9b0 kernel/time/hrtimer.c:1712 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfb/0x310 arch/x86/kernel/apic/apic.c:1100 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x3e/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 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 00 a4 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:ffff88806ce09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a04080 RCX: ffffffff81279b47 RDX: fffffbfff0f40811 RSI: 0000000000000004 RDI: ffffffff87a04080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04083 R10: fffffbfff0f40810 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40810 R14: 0000000000000001 R15: 1ffff1100d9c1348 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:bytes_is_nonzero mm/kasan/generic.c:91 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:108 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline] RIP: 0010:check_memory_region_inline mm/kasan/generic.c:183 [inline] RIP: 0010:check_memory_region+0x198/0x1f0 mm/kasan/generic.c:192 Code: 7d 85 41 bb 01 00 00 00 5b 5d 44 89 d8 41 5c e9 0e b0 b3 02 48 85 d2 74 e9 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 db 80 38 00 <74> f2 e9 28 ff ff ff 48 29 c3 48 89 da 49 89 d3 49 c1 fb 3f 49 c1 RSP: 0018:ffff88804a88f740 EFLAGS: 00000246 RAX: ffffed1008f5585c RBX: ffffed1008f5585d RCX: ffffffff815fe654 RDX: ffffed1008f5585d RSI: 0000000000000008 RDI: ffff888047aac2e0 RBP: ffffed1008f5585c R08: 0000000000000001 R09: ffff888047aac2e7 R10: ffffed1008f5585c R11: 0000000000000001 R12: fffffffffffffff9 R13: ffff888047aac2e0 R14: dffffc0000000000 R15: fffffffffffffff9 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic64_add_return include/asm-generic/atomic-instrumented.h:882 [inline] atomic_long_add_return include/asm-generic/atomic-long.h:59 [inline] add_mm_counter include/linux/mm.h:1910 [inline] add_mm_rss_vec mm/memory.c:491 [inline] zap_pte_range mm/memory.c:1339 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x12e4/0x1fe0 mm/memory.c:1475 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3235 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x2350 kernel/signal.c:2759 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f47dd9d7b19 Code: Unable to access opcode bytes at RIP 0x7f47dd9d7aef. RSP: 002b:00007f47daf4d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000004 RBX: 00007f47ddaeaf60 RCX: 00007f47dd9d7b19 RDX: 0000000000000010 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 00007f47dda31f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcc8db5e2f R14: 00007f47daf4d300 R15: 0000000000022000 syz-executor.7 (4806) used greatest stack depth: 23720 bytes left ---------------- Code disassembly (best guess): 0: bb 8c 26 00 00 mov $0x268c,%ebx 5: 48 89 f8 mov %rdi,%rax 8: 48 89 fa mov %rdi,%rdx b: 48 c1 e8 03 shr $0x3,%rax f: 83 e2 07 and $0x7,%edx 12: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax 16: 38 d0 cmp %dl,%al 18: 7f 08 jg 0x22 1a: 84 c0 test %al,%al 1c: 0f 85 64 09 00 00 jne 0x986 22: 44 0f b6 bb 8c 26 00 movzbl 0x268c(%rbx),%r15d 29: 00 * 2a: 31 ff xor %edi,%edi <-- trapping instruction 2c: 44 89 fe mov %r15d,%esi 2f: e8 d1 9c 77 fe callq 0xfe779d05 34: 45 84 ff test %r15b,%r15b 37: 0f 84 77 ff ff ff je 0xffffffb4 3d: e8 .byte 0xe8 3e: b3 a3 mov $0xa3,%bl