watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.7:9614] Modules linked in: irq event stamp: 4815011 hardirqs last enabled at (4815010): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (4815011): [] sysvec_apic_timer_interrupt+0xf/0x90 softirqs last enabled at (4769302): [] irq_exit_rcu+0x93/0xc0 softirqs last disabled at (4769305): [] irq_exit_rcu+0x93/0xc0 CPU: 0 PID: 9614 Comm: syz-executor.7 Not tainted 6.5.0-rc6-next-20230815 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__sanitizer_cov_trace_pc+0x20/0x70 Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 8b 05 fd f5 b5 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 80 8d 03 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 9c 14 00 00 85 c0 74 2b 8b RSP: 0018:ffff88806ce09638 EFLAGS: 00000206 RAX: 0000000000000102 RBX: ffff88806ce09660 RCX: 0000000000000100 RDX: ffff88804251b680 RSI: ffffffff8113b310 RDI: ffff88806ce09660 RBP: ffff88806ce09700 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88806ce09730 R14: ffff88804251b680 R15: ffff88806ce09700 FS: 00007f68cd47a700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ed27000 CR3: 000000001957e000 CR4: 0000000000350ef0 Call Trace: unwind_get_return_address+0x10/0xe0 arch_stack_walk+0xa2/0x160 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 kasan_set_track+0x25/0x30 __kasan_slab_alloc+0x59/0x70 kmem_cache_alloc_node+0x199/0x3b0 kmalloc_reserve+0x169/0x270 __alloc_skb+0x129/0x330 skb_copy+0x13d/0x3f0 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb11/0x1330 mac80211_hwsim_tx_frame+0x1ee/0x2a0 mac80211_hwsim_beacon_tx+0x427/0x730 __iterate_interfaces+0x2d3/0x580 ieee80211_iterate_active_interfaces_atomic+0x73/0x1c0 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x59d/0xb60 hrtimer_run_softirq+0x14c/0x310 __do_softirq+0x1b7/0x7d4 irq_exit_rcu+0x93/0xc0 sysvec_apic_timer_interrupt+0x6e/0x90 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:__sanitizer_cov_trace_pc+0x47/0x70 Code: 8d 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 9c 14 00 00 85 c0 74 2b 8b 82 78 14 00 00 83 f8 02 75 20 48 8b 8a 80 14 00 00 <8b> 92 7c 14 00 00 48 8b 01 48 83 c0 01 48 39 c2 76 07 48 89 01 48 RSP: 0018:ffff888014f0f240 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffffc90009a38000 RDX: ffff88804251b680 RSI: ffffffff81614160 RDI: ffff888042ded910 RBP: ffff888042ded910 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 1ffff1100d9c69bf R12: ffff888042ded910 R13: ffff888014f0f340 R14: ffff88806ce34d60 R15: ffffe8ffffc46000 perf_swevent_event+0x30/0x3f0 perf_tp_event+0x2dd/0x1280 perf_trace_run_bpf_submit+0xf3/0x190 perf_trace_lock+0x2d5/0x480 lock_release+0x4a9/0x680 avc_has_perm_noaudit+0x12d/0x3a0 avc_has_perm+0xa7/0x1a0 may_create+0x2e2/0x360 security_inode_create+0xad/0x110 lookup_open.isra.0+0xe67/0x1400 path_openat+0x96c/0x2710 do_filp_open+0x1ba/0x410 do_sys_openat2+0x164/0x1d0 __x64_sys_openat+0x143/0x200 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x73/0xdd RIP: 0033:0x7f68cff04b19 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:00007f68cd47a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f68d0017f60 RCX: 00007f68cff04b19 RDX: 0000000000004042 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007f68cff5ef6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff917d025f R14: 00007f68cd47a300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.5.0-rc6-next-20230815 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:queued_spin_lock_slowpath+0x128/0xb20 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 5c 09 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 2a 22 00 00 f3 90 71 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e4 00 00 RSP: 0018:ffff88806cf09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff845cbacb RDX: fffffbfff0b4e5e9 RSI: 0000000000000004 RDI: ffffffff85a72f40 RBP: ffffffff85a72f40 R08: 0000000000000000 R09: fffffbfff0b4e5e8 R10: ffffffff85a72f43 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0b4e5e8 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555e64aa1ac0 CR3: 000000000eb7a000 CR4: 0000000000350ee0 Call Trace: do_raw_spin_lock+0x1e0/0x270 mac80211_hwsim_tx_frame_no_nl.isra.0+0x6e7/0x1330 mac80211_hwsim_tx_frame+0x1ee/0x2a0 mac80211_hwsim_beacon_tx+0x427/0x730 __iterate_interfaces+0x2d3/0x580 ieee80211_iterate_active_interfaces_atomic+0x73/0x1c0 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x59d/0xb60 hrtimer_run_softirq+0x14c/0x310 __do_softirq+0x1b7/0x7d4 irq_exit_rcu+0x93/0xc0 sysvec_apic_timer_interrupt+0x6e/0x90 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:default_idle+0x1e/0x30 Code: 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 eb 0c 0f 1f 44 00 00 0f 00 2d 69 2d 28 00 0f 1f 44 00 00 fb f4 e9 0c 7e 02 00 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 RSP: 0018:ffff888008de7e70 EFLAGS: 00000206 RAX: 00000000001deff9 RBX: 0000000000000001 RCX: ffffffff845a4fbe RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81299cc5 RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffed100d9e6a08 R10: ffff88806cf35043 R11: 0000000000000001 R12: ffffffff85d51dd0 R13: 1ffff110011bcfd3 R14: 0000000000000000 R15: 0000000000000000 default_idle_call+0x67/0xa0 do_idle+0x305/0x3c0 cpu_startup_entry+0x18/0x20 start_secondary+0x1bf/0x220 secondary_startup_64_no_verify+0x178/0x17b audit: type=1326 audit(1692135428.626:24): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=9654 comm="syz-executor.5" exe="/syz-executor.5" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f370f1c7b19 code=0x0 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium audit: type=1326 audit(1692135429.460:25): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=9654 comm="syz-executor.5" exe="/syz-executor.5" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f370f1c7b19 code=0x0 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 Bluetooth: hci0: command 0x0409 tx timeout ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 90 nop a: f3 0f 1e fa endbr64 e: 65 8b 05 fd f5 b5 7e mov %gs:0x7eb5f5fd(%rip),%eax # 0x7eb5f612 15: 89 c1 mov %eax,%ecx 17: 48 8b 34 24 mov (%rsp),%rsi 1b: 81 e1 00 01 00 00 and $0x100,%ecx 21: 65 48 8b 14 25 80 8d mov %gs:0x38d80,%rdx 28: 03 00 * 2a: a9 00 01 ff 00 test $0xff0100,%eax <-- trapping instruction 2f: 74 0e je 0x3f 31: 85 c9 test %ecx,%ecx 33: 74 35 je 0x6a 35: 8b 82 9c 14 00 00 mov 0x149c(%rdx),%eax 3b: 85 c0 test %eax,%eax 3d: 74 2b je 0x6a 3f: 8b .byte 0x8b