watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.7:4118] Modules linked in: irq event stamp: 5165699 hardirqs last enabled at (5165698): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (5165699): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (5150762): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5150765): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4118 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:__preempt_count_sub arch/x86/include/asm/preempt.h:84 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x25/0x40 kernel/locking/spinlock.c:191 Code: 38 00 0f 1f 00 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 7a 76 3f fd 48 89 ef e8 d2 30 40 fd f6 c7 02 75 10 53 9d <65> ff 0d e4 99 1a 7c 5b 5d e9 5d 6a 38 00 e8 b8 55 5f fd eb e9 66 RSP: 0018:ffff88806ce09b70 EFLAGS: 00000246 RAX: 00000000004ed274 RBX: 0000000000000246 RCX: 1ffffffff0d12b62 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e7d568 RBP: ffffffff850a7580 R08: 0000000000000001 R09: ffffffff8686a757 R10: fffffbfff0d0d4ea R11: 0000000000000001 R12: ffff88801cabfcb0 R13: ffff88801cabfb48 R14: ffff888008041280 R15: ffff88800d5d8000 FS: 00007febbf5b1700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005618b321ab70 CR3: 00000000158ba000 CR4: 0000000000350ef0 Call Trace: find_and_remove_object+0xe4/0x120 mm/kmemleak.c:553 delete_object_full mm/kmemleak.c:684 [inline] kmemleak_free+0x1f/0x40 mm/kmemleak.c:966 kmemleak_free_recursive include/linux/kmemleak.h:49 [inline] slab_free_hook mm/slub.c:1517 [inline] slab_free_freelist_hook+0x13e/0x180 mm/slub.c:1576 slab_free mm/slub.c:3149 [inline] kfree+0xd7/0x340 mm/slub.c:4125 skb_free_head net/core/skbuff.c:605 [inline] skb_release_data+0x604/0x820 net/core/skbuff.c:625 skb_release_all net/core/skbuff.c:679 [inline] __kfree_skb net/core/skbuff.c:693 [inline] consume_skb net/core/skbuff.c:849 [inline] consume_skb+0x110/0x2b0 net/core/skbuff.c:843 mac80211_hwsim_tx_frame+0x15a/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1717 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 __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:compound_head include/linux/page-flags.h:188 [inline] RIP: 0010:virt_to_head_page include/linux/mm.h:862 [inline] RIP: 0010:___cache_free+0x4f/0x360 mm/slub.c:3156 Code: 00 00 48 c7 c2 00 00 00 80 48 2b 15 db 51 5c 03 48 01 d0 48 8b 35 c1 51 5c 03 48 c1 e8 0c 48 c1 e0 06 4c 8d 2c 30 49 8b 55 08 <48> 8d 42 ff 83 e2 01 49 0f 44 c5 48 89 04 24 0f 1f 44 00 00 48 85 RSP: 0018:ffff888046747760 EFLAGS: 00000212 RAX: 0000000001142040 RBX: ffff888045081b58 RCX: ffffea0001142000 RDX: ffffea0001142001 RSI: ffffea0000000000 RDI: ffff8880083f9780 RBP: dffffc0000000000 R08: 0000000000000015 R09: ffffffff816cb501 R10: ffff88801a75ce60 R11: 0000000000000001 R12: ffff8880083f9780 R13: ffffea0001142040 R14: ffffffff80000000 R15: ffff88801d64b490 qlink_free mm/kasan/quarantine.c:151 [inline] qlist_free_all+0x59/0xe0 mm/kasan/quarantine.c:170 quarantine_reduce+0x184/0x210 mm/kasan/quarantine.c:267 __kasan_kmalloc.constprop.0+0xa2/0xd0 mm/kasan/common.c:442 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x310 mm/slub.c:2909 ptlock_alloc mm/memory.c:5336 [inline] ptlock_init include/linux/mm.h:2196 [inline] pmd_ptlock_init include/linux/mm.h:2282 [inline] pgtable_pmd_page_ctor include/linux/mm.h:2318 [inline] pmd_alloc_one include/asm-generic/pgalloc.h:129 [inline] __pmd_alloc+0x94/0x5e0 mm/memory.c:4777 pmd_alloc include/linux/mm.h:2146 [inline] copy_pmd_range mm/memory.c:1050 [inline] copy_pud_range mm/memory.c:1107 [inline] copy_p4d_range mm/memory.c:1131 [inline] copy_page_range+0x2bd8/0x3810 mm/memory.c:1204 dup_mmap kernel/fork.c:596 [inline] dup_mm kernel/fork.c:1380 [inline] copy_mm kernel/fork.c:1436 [inline] copy_process+0x759b/0x7800 kernel/fork.c:2126 kernel_clone+0xe7/0x980 kernel/fork.c:2506 __do_sys_fork+0x8a/0xc0 kernel/fork.c:2569 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7febc203bb19 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:00007febbf5b1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000039 RAX: ffffffffffffffda RBX: 00007febc214ef60 RCX: 00007febc203bb19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007febc2095f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1729b1af R14: 00007febbf5b1300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] NMI backtrace for cpu 1 skipped: idling at default_idle+0xe/0x20 arch/x86/kernel/process.c:706 ---------------- Code disassembly (best guess): 0: 38 00 cmp %al,(%rax) 2: 0f 1f 00 nopl (%rax) 5: 55 push %rbp 6: 48 89 fd mov %rdi,%rbp 9: 48 83 c7 18 add $0x18,%rdi d: 53 push %rbx e: 48 89 f3 mov %rsi,%rbx 11: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 16: e8 7a 76 3f fd callq 0xfd3f7695 1b: 48 89 ef mov %rbp,%rdi 1e: e8 d2 30 40 fd callq 0xfd4030f5 23: f6 c7 02 test $0x2,%bh 26: 75 10 jne 0x38 28: 53 push %rbx 29: 9d popfq * 2a: 65 ff 0d e4 99 1a 7c decl %gs:0x7c1a99e4(%rip) # 0x7c1a9a15 <-- trapping instruction 31: 5b pop %rbx 32: 5d pop %rbp 33: e9 5d 6a 38 00 jmpq 0x386a95 38: e8 b8 55 5f fd callq 0xfd5f55f5 3d: eb e9 jmp 0x28 3f: 66 data16