watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.5:5213] Modules linked in: irq event stamp: 11760229 hardirqs last enabled at (11760228): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (11760229): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (11757048): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (11757051): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 5213 Comm: syz-executor.5 Not tainted 5.10.237 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x4/0x20 kernel/kcov.c:270 Code: 00 00 00 0f 1f 00 48 8b 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 0c ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 ea fe ff ff 66 2e 0f 1f RSP: 0018:ffff88806ce09638 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffffffff850363c0 RCX: ffffffff81413e61 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8686c6a7 R10: 0000000000000000 R11: 0000000000000001 R12: 00007f3e0015eb19 R13: 0000000000000000 R14: ffff8880433cb480 R15: 0000000000000170 FS: 00007f3dfd6d4700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe663ccf88 CR3: 000000000e2b4000 CR4: 0000000000350ef0 Call Trace: rcu_read_lock include/linux/rcupdate.h:718 [inline] __is_insn_slot_addr+0x171/0x290 kernel/kprobes.c:299 is_kprobe_optinsn_slot include/linux/kprobes.h:336 [inline] kernel_text_address kernel/extable.c:149 [inline] kernel_text_address+0xdf/0x120 kernel/extable.c:120 __kernel_text_address+0x9/0x40 kernel/extable.c:105 unwind_get_return_address arch/x86/kernel/unwind_orc.c:323 [inline] unwind_get_return_address+0x55/0xa0 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0x99/0xf0 arch/x86/kernel/stacktrace.c:26 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] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x310 mm/slub.c:2909 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] kmem_cache_alloc_node+0x169/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:200 skb_copy+0x183/0x350 net/core/skbuff.c:1530 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb50/0x1410 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:1588 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1652 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1669 __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:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:cmpxchg_double_slab mm/slub.c:403 [inline] RIP: 0010:__slab_free+0xdd/0x5d0 mm/slub.c:3023 Code: 00 00 41 f6 40 0b 40 74 61 48 83 7c 24 50 00 0f 85 0a 03 00 00 48 89 da 48 8b 7c 24 48 48 8b 5c 24 58 4c 89 e8 f0 48 0f c7 0f <0f> 84 f1 01 00 00 f3 90 4d 85 f6 0f 84 6e ff ff ff 48 8b 34 24 4c RSP: 0018:ffff88804716f040 EFLAGS: 00000246 RAX: ffff88801d31a100 RBX: ffff88801d31b180 RCX: 000000008017000b RDX: 000000008017000c RSI: 0000000000000001 RDI: ffffea000074c620 RBP: ffff88804716f118 R08: ffff88800804ddc0 R09: ffffffff816cc600 R10: ffff88801d31b180 R11: 0000000000000001 R12: ffffea000074c600 R13: ffff88801d31a100 R14: 0000000000000000 R15: 000000008017000b 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 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x159/0x310 mm/slub.c:2909 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xd4/0x860 fs/kernfs/dir.c:635 kernfs_new_node+0x18d/0x250 fs/kernfs/dir.c:711 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:985 sysfs_add_file_mode_ns+0x221/0x560 fs/sysfs/file.c:306 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x324/0xb30 fs/sysfs/group.c:149 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:189 internal_create_groups fs/sysfs/group.c:185 [inline] sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:215 device_add_groups drivers/base/core.c:2095 [inline] device_add_attrs drivers/base/core.c:2254 [inline] device_add+0x138f/0x1c50 drivers/base/core.c:2962 netdev_register_kobject+0x17a/0x3b0 net/core/net-sysfs.c:1997 register_netdevice+0xd73/0x1480 net/core/dev.c:10049 register_netdev+0x2d/0x50 net/core/dev.c:10173 sit_init_net+0x27f/0x520 net/ipv6/sit.c:1916 ops_init+0xbb/0x6b0 net/core/net_namespace.c:156 setup_net+0x2f4/0x900 net/core/net_namespace.c:348 copy_net_ns+0x2c0/0x5d0 net/core/net_namespace.c:518 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x3fb/0x4f0 kernel/nsproxy.c:179 copy_process+0x385b/0x7800 kernel/fork.c:2129 kernel_clone+0xe7/0x980 kernel/fork.c:2506 __do_sys_clone3+0x1e5/0x320 kernel/fork.c:2781 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f3e0015eb19 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:00007f3dfd6d4188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f3e00271f60 RCX: 00007f3e0015eb19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f3e001b8f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff9e77ec5f R14: 00007f3dfd6d4300 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.237 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:99 [inline] RIP: 0010:queued_spin_lock_slowpath+0xbb/0x8c0 kernel/locking/qspinlock.c:326 Code: e4 07 49 01 c5 41 83 c4 03 be 04 00 00 00 48 89 df e8 19 f1 44 00 41 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 eb 06 00 00 8b 2b <85> ed 75 61 be 04 00 00 00 48 89 df e8 04 f1 44 00 89 e8 f0 44 0f RSP: 0018:ffff88806cf09a38 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff87a08080 RCX: ffffffff8127ab97 RDX: fffffbfff0f41011 RSI: 0000000000000004 RDI: ffffffff87a08080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a08083 R10: fffffbfff0f41010 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f41010 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005586b8707678 CR3: 00000000173fe000 CR4: 0000000000350ee0 Call Trace: 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+0x6c8/0x1410 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:1588 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1652 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1669 __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:1106 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:712 Code: 4e ff ff ff 4c 89 e7 e8 40 af 83 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 24 2c 59 00 fb f4 1d 2c 37 00 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 55 41 54 RSP: 0018:ffff888008987e70 EFLAGS: 00000206 RAX: ffffffff83e91390 RBX: 0000000000000001 RCX: ffffffff83e78f2c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e91998 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85678748 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+0x3b3/0x520 kernel/sched/idle.c:306 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:402 secondary_startup_64_no_verify+0xbe/0xcb Bluetooth: hci5: command 0x0406 tx timeout ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 0f 1f 00 nopl (%rax) 5: 48 8b 0c 24 mov (%rsp),%rcx 9: 48 89 f2 mov %rsi,%rdx c: 48 89 fe mov %rdi,%rsi f: bf 06 00 00 00 mov $0x6,%edi 14: e9 0c ff ff ff jmpq 0xffffff25 19: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 20: 00 00 00 00 24: 90 nop 25: 48 8b 0c 24 mov (%rsp),%rcx * 29: 40 0f b6 d6 movzbl %sil,%edx <-- trapping instruction 2d: 40 0f b6 f7 movzbl %dil,%esi 31: bf 01 00 00 00 mov $0x1,%edi 36: e9 ea fe ff ff jmpq 0xffffff25 3b: 66 data16 3c: 2e cs 3d: 0f .byte 0xf 3e: 1f (bad)