audit: type=1400 audit(1677266590.288:9): avc: denied { write } for pid=3996 comm="syz-executor.3" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=perf_event permissive=1 watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.3:4000] Modules linked in: irq event stamp: 5463367 hardirqs last enabled at (5463366): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (5463367): [] sysvec_apic_timer_interrupt+0xf/0x90 softirqs last enabled at (5358184): [] __irq_exit_rcu+0xcc/0x110 softirqs last disabled at (5358187): [] __irq_exit_rcu+0xcc/0x110 CPU: 1 PID: 4000 Comm: syz-executor.3 Not tainted 6.2.0-next-20230224 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:get_stack_info_noinstr+0x29/0xf0 Code: 90 66 0f 1f 00 41 54 49 89 fc 55 48 89 d5 53 48 89 f3 e8 ea 00 00 00 84 c0 75 0e 65 48 8b 14 25 80 89 03 00 48 39 d3 74 09 5b <5d> 41 5c e9 a3 68 02 00 65 48 8b 05 27 8d ba 7b 48 85 c0 74 59 48 RSP: 0018:ffff88806cf09778 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff88800ec78000 RCX: ffff888043cc0000 RDX: ffff88806cf09858 RSI: ffff88800ec78000 RDI: ffff888043cbf7a0 RBP: ffff88806cf09858 R08: ffffffff8648ef36 R09: ffff88806cf09898 R10: 0000000000038001 R11: 0000000000000001 R12: ffff888043cbf7a0 R13: ffff88806cf02000 R14: ffff888043cbf7a8 R15: 0000000000000002 FS: 00007f7824a6e700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01264b000 CR3: 000000001ea5a000 CR4: 0000000000350ee0 Call Trace: get_stack_info+0x2f/0xa0 stack_access_ok+0xd3/0x1d0 unwind_next_frame+0xcc7/0x22d0 arch_stack_walk+0x87/0xf0 stack_trace_save+0x90/0xd0 kasan_save_stack+0x22/0x50 __kasan_record_aux_stack+0x95/0xb0 __call_rcu_common.constprop.0+0x6a/0xa70 kmem_cache_free+0xb9/0x510 skb_release_data+0x708/0x840 consume_skb+0xd0/0x170 mac80211_hwsim_tx_frame+0x1f6/0x2a0 mac80211_hwsim_beacon_tx+0x567/0xb10 __iterate_interfaces+0x2d3/0x580 ieee80211_iterate_active_interfaces_atomic+0x73/0x1c0 mac80211_hwsim_beacon+0x105/0x200 __hrtimer_run_queues+0x54b/0xcb0 hrtimer_run_softirq+0x14c/0x310 __do_softirq+0x258/0x8a2 __irq_exit_rcu+0xcc/0x110 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x6e/0x90 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:_raw_spin_unlock_irqrestore+0x34/0x50 Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 c6 1c e3 fc 48 89 ef e8 ce 97 e3 fc 80 e7 02 74 06 e8 d4 5c 08 fd fb 65 ff 0d c4 51 b9 7b <74> 07 5b 5d e9 f7 27 00 00 0f 1f 44 00 00 5b 5d e9 eb 27 00 00 0f RSP: 0018:ffff888043cbf850 EFLAGS: 00000246 RAX: 000000000049fa1d RBX: 0000000000000246 RCX: ffffffff812cb1cf RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff844a37bc RBP: ffffffff856d5b00 R08: 0000000000000001 R09: ffffffff8777e94f R10: fffffbfff0eefd29 R11: 0000000000000001 R12: 0000000000000dc0 R13: 0000000000000008 R14: 0000000000000008 R15: 0000000000000000 __kmem_cache_alloc_node+0x1ed/0x310 __kmalloc+0x46/0xc0 ops_init+0x171/0x6b0 setup_net+0x3d9/0x990 copy_net_ns+0x321/0x770 create_new_namespaces+0x3f6/0xb30 copy_namespaces+0x414/0x500 copy_process+0x2a5e/0x7390 kernel_clone+0xeb/0x8c0 __do_sys_clone3+0x1d5/0x2e0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f78274f8b19 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:00007f7824a6e188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f782760bf60 RCX: 00007f78274f8b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 0000000020004c00 RBP: 00007f7827552f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd8a42fff R14: 00007f7824a6e300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at default_idle+0xf/0x20 ---------------- Code disassembly (best guess): 0: 90 nop 1: 66 0f 1f 00 nopw (%rax) 5: 41 54 push %r12 7: 49 89 fc mov %rdi,%r12 a: 55 push %rbp b: 48 89 d5 mov %rdx,%rbp e: 53 push %rbx f: 48 89 f3 mov %rsi,%rbx 12: e8 ea 00 00 00 callq 0x101 17: 84 c0 test %al,%al 19: 75 0e jne 0x29 1b: 65 48 8b 14 25 80 89 mov %gs:0x38980,%rdx 22: 03 00 24: 48 39 d3 cmp %rdx,%rbx 27: 74 09 je 0x32 29: 5b pop %rbx * 2a: 5d pop %rbp <-- trapping instruction 2b: 41 5c pop %r12 2d: e9 a3 68 02 00 jmpq 0x268d5 32: 65 48 8b 05 27 8d ba mov %gs:0x7bba8d27(%rip),%rax # 0x7bba8d61 39: 7b 3a: 48 85 c0 test %rax,%rax 3d: 74 59 je 0x98 3f: 48 rex.W