watchdog: BUG: soft lockup - CPU#0 stuck for 21s! [syz-executor.5:4865] Modules linked in: irq event stamp: 10829477 hardirqs last enabled at (10829476): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (10829477): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (10807702): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (10807707): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4865 Comm: syz-executor.5 Not tainted 5.10.224 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:168 [inline] RIP: 0010:unwind_next_frame+0x205/0x1a90 arch/x86/kernel/unwind_orc.c:448 Code: 52 ff 39 d6 0f 83 0f 11 00 00 48 ba 00 00 00 00 00 fc ff df 89 f1 48 8d 3c 8d b8 9a d6 85 49 89 f8 49 c1 e8 03 45 0f b6 04 10 <48> 89 fa 83 e2 07 83 c2 03 44 38 c2 7c 09 45 84 c0 0f 85 67 12 00 RSP: 0018:ffff88806ce09868 EFLAGS: 00000217 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000006f45 RDX: dffffc0000000000 RSI: 0000000000006f45 RDI: ffffffff85d857cc RBP: ffff88806ce09975 R08: 0000000000000000 R09: ffff88806ce09a68 R10: 0000000000032042 R11: 1ffff1100d9c1315 R12: ffff88806ce09988 R13: ffff88806ce09940 R14: 1ffff1100d9c1315 R15: ffffffff816f4581 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555af5c52b8 CR3: 0000000018036000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 __save_stack_trace mm/kmemleak.c:563 [inline] create_object.isra.0+0x372/0xa20 mm/kmemleak.c:618 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] __kmalloc_node_track_caller+0x1a6/0x3b0 mm/slub.c:4496 __kmalloc_reserve net/core/skbuff.c:143 [inline] __alloc_skb+0xb1/0x5b0 net/core/skbuff.c:211 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:447 netdev_alloc_skb include/linux/skbuff.h:2857 [inline] dev_alloc_skb include/linux/skbuff.h:2870 [inline] __ieee80211_beacon_get+0x3af/0x1440 net/mac80211/tx.c:4876 ieee80211_beacon_get_tim+0x88/0x9f0 net/mac80211/tx.c:4990 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x940 drivers/net/wireless/mac80211_hwsim.c:1740 __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:1584 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1648 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1665 __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:bytes_is_nonzero mm/kasan/generic.c:90 [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+0x193/0x1f0 mm/kasan/generic.c:192 Code: e1 07 49 39 c1 7d 85 41 bb 01 00 00 00 5b 5d 44 89 d8 41 5c e9 fe aa 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 RSP: 0018:ffff88804a1df528 EFLAGS: 00000246 RAX: fffffbfff0acebf2 RBX: fffffbfff0acebf2 RCX: ffffffff8127369f RDX: fffffbfff0acebf2 RSI: 0000000000000008 RDI: ffffffff85675f88 RBP: fffffbfff0acebf1 R08: 0000000000000000 R09: ffffffff85675f8f R10: fffffbfff0acebf1 R11: 0000000000000001 R12: ffffffff84ff8c20 R13: 0000000000000246 R14: 0000000000000006 R15: 00000000fffffd78 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:367 [inline] trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x41f/0x680 kernel/locking/lockdep.c:5577 rcu_lock_release include/linux/rcupdate.h:308 [inline] rcu_read_unlock include/linux/rcupdate.h:771 [inline] mod_objcg_state mm/slab.h:314 [inline] memcg_slab_free_hook mm/slab.h:383 [inline] memcg_slab_free_hook mm/slab.h:351 [inline] do_slab_free mm/slub.c:3105 [inline] ___cache_free+0x1d6/0x360 mm/slub.c:3156 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_trace+0x133/0x320 mm/slub.c:2921 kmalloc include/linux/slab.h:552 [inline] kzalloc include/linux/slab.h:664 [inline] kobject_uevent_env+0x22b/0xfd0 lib/kobject_uevent.c:539 device_del+0xa8f/0x1180 drivers/base/core.c:3203 device_unregister+0x11/0x30 drivers/base/core.c:3226 hci_conn_del_sysfs+0xa7/0xd0 net/bluetooth/hci_sysfs.c:84 hci_conn_cleanup+0x2c6/0x5d0 net/bluetooth/hci_conn.c:140 hci_conn_del+0x23e/0x650 net/bluetooth/hci_conn.c:645 hci_conn_hash_flush+0x191/0x230 net/bluetooth/hci_conn.c:1572 hci_dev_do_close+0x719/0x1240 net/bluetooth/hci_core.c:1784 hci_unregister_dev+0x179/0x460 net/bluetooth/hci_core.c:3854 vhci_release+0x70/0xf0 drivers/bluetooth/hci_vhci.c:345 __fput+0x285/0x9f0 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:185 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xb6f/0x2600 kernel/exit.c:860 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:0x7fc215750a04 Code: Unable to access opcode bytes at RIP 0x7fc2157509da. RSP: 002b:00007fc212cf2060 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffeb RBX: 00007fc2158b1020 RCX: 00007fc215750a04 RDX: 0000000000000002 RSI: 00007fc212cf20f0 RDI: 00000000ffffff9c RBP: 00007fc212cf20f0 R08: 0000000000000000 R09: 00007fc212cf1f70 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffcd8ac45df R14: 00007fc212cf2300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 324 Comm: kworker/u4:5 Not tainted 5.10.224 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Workqueue: phy9 ieee80211_iface_work RIP: 0010:check_memory_region+0x177/0x1f0 mm/kasan/generic.c:193 Code: d2 75 0b 48 89 da 48 29 c2 e9 20 ff ff ff 48 89 d0 49 39 c2 75 92 49 0f be 02 41 83 e1 07 49 39 c1 7d 85 41 bb 01 00 00 00 5b <5d> 44 89 d8 41 5c e9 fe aa b3 02 48 85 d2 74 e9 48 01 ea eb 09 48 RSP: 0018:ffff888017f97928 EFLAGS: 00000046 RAX: fffffbfff0d0d0f3 RBX: 1ffff11002ff2f2f RCX: ffffffff81269a15 RDX: fffffbfff0d0d0f3 RSI: 0000000000000008 RDI: ffffffff86868790 RBP: fffffbfff0d0d0f2 R08: 0000000000000000 R09: ffffffff86868797 R10: fffffbfff0d0d0f2 R11: 0000000000000001 R12: ffff88804692a3b0 R13: 000000000000058e R14: ffff88804692a3d0 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555af5c81d0 CR3: 000000000d5a0000 CR4: 0000000000350ee0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:196 [inline] mark_lock+0xf5/0x2df0 kernel/locking/lockdep.c:4511 mark_held_locks+0x9e/0xe0 kernel/locking/lockdep.c:4134 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4152 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4220 [inline] lockdep_hardirqs_on_prepare+0x129/0x3e0 kernel/locking/lockdep.c:4172 trace_hardirqs_on+0x5b/0x180 kernel/trace/trace_preemptirq.c:49 quarantine_put+0x8b/0x1a0 mm/kasan/quarantine.c:217 __kasan_slab_free+0x122/0x160 mm/kasan/common.c:424 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] 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] kfree_skb net/core/skbuff.c:711 [inline] kfree_skb+0x115/0x2c0 net/core/skbuff.c:705 ieee80211_iface_work+0x2d3/0x930 net/mac80211/iface.c:1466 process_one_work+0x9a9/0x14b0 kernel/workqueue.c:2282 worker_thread+0x61d/0x1310 kernel/workqueue.c:2428 kthread+0x38f/0x470 kernel/kthread.c:328 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 39 d6 cmp %edx,%esi 2: 0f 83 0f 11 00 00 jae 0x1117 8: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx f: fc ff df 12: 89 f1 mov %esi,%ecx 14: 48 8d 3c 8d b8 9a d6 lea -0x7a296548(,%rcx,4),%rdi 1b: 85 1c: 49 89 f8 mov %rdi,%r8 1f: 49 c1 e8 03 shr $0x3,%r8 23: 45 0f b6 04 10 movzbl (%r8,%rdx,1),%r8d * 28: 48 89 fa mov %rdi,%rdx <-- trapping instruction 2b: 83 e2 07 and $0x7,%edx 2e: 83 c2 03 add $0x3,%edx 31: 44 38 c2 cmp %r8b,%dl 34: 7c 09 jl 0x3f 36: 45 84 c0 test %r8b,%r8b 39: 0f .byte 0xf 3a: 85 67 12 test %esp,0x12(%rdi)