audit: type=1400 audit(1750334346.377:86): avc: denied { write } for pid=4533 comm="syz-executor.0" 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#0 stuck for 22s! [syz-executor.2:4500] Modules linked in: irq event stamp: 10102171 hardirqs last enabled at (10102170): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (10102171): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (10088006): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (10088009): [] asm_call_irq_on_stack+0x12/0x20 CPU: 0 PID: 4500 Comm: syz-executor.2 Not tainted 5.10.238 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x7b4/0x1410 drivers/net/wireless/mac80211_hwsim.c:1461 Code: c6 84 24 a8 00 00 00 00 49 39 de 74 bb e8 84 48 77 fe 48 8d bb 8c 26 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 <38> d0 7f 08 84 c0 0f 85 7b 09 00 00 44 0f b6 bb 8c 26 00 00 31 ff RSP: 0018:ffff88806ce09b90 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88802030b1c0 RCX: ffffffff82c98782 RDX: 0000000000000004 RSI: ffffffff82c9874c RDI: ffff88802030d84c RBP: dffffc0000000000 R08: 0000000000000001 R09: ffffffff8686e6ef R10: 0000000000000000 R11: 0000000000000001 R12: ffff888045ee3500 R13: ffff8880385db3f0 R14: ffff8880385db1c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ccdb895010 CR3: 0000000004e26000 CR4: 0000000000350ef0 Call Trace: 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:mem_cgroup_uncharge_list+0x0/0x180 mm/memcontrol.c:7010 Code: 10 48 81 c4 a0 00 00 00 5b 5d 41 5c e9 c9 07 b1 02 e8 24 70 78 02 e8 0f 9e fd ff eb 87 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <48> b8 00 00 00 00 00 fc ff df 41 57 41 56 41 55 41 54 55 53 48 81 RSP: 0018:ffff88800caff628 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff88807ffdc000 RCX: 1ffffffff0aceaa9 RDX: ffff88800ce03480 RSI: ffffffff81571462 RDI: ffff88800caff698 RBP: 0000000000000008 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffffea0000deec00 R13: dffffc0000000000 R14: ffff88800caffac0 R15: ffffea0000deec40 release_pages+0x7fc/0xc20 mm/swap.c:951 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu+0xe9/0x6e0 mm/mmu_gather.c:247 zap_pte_range mm/memory.c:1355 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x17d9/0x1fe0 mm/memory.c:1475 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3253 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x2350 kernel/signal.c:2762 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:0x7f1811324c27 Code: Unable to access opcode bytes at RIP 0x7f1811324bfd. RSP: 002b:00007f180e89afa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f1811324c27 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000180 RBP: 00007f180e89b040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000020000180 R14: 00007f180e89b000 R15: 0000000000000000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.238 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline] RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 f0 80 f8 02 f3 90 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88806cf09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a0a080 RCX: ffffffff8127be57 RDX: fffffbfff0f41411 RSI: 0000000000000004 RDI: ffffffff87a0a080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a0a083 R10: fffffbfff0f41410 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f41410 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 0000000000000000(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ccdb8ab220 CR3: 0000000016d44000 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 90 a2 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 0c 59 00 fb f4 1d 0c 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: ffffffff83e93390 RBX: 0000000000000001 RCX: ffffffff83e7af2c RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83e93998 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff88806cf3c12b R10: ffffed100d9e7825 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff85678908 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 ---------------- Code disassembly (best guess): 0: c6 84 24 a8 00 00 00 movb $0x0,0xa8(%rsp) 7: 00 8: 49 39 de cmp %rbx,%r14 b: 74 bb je 0xffffffc8 d: e8 84 48 77 fe callq 0xfe774896 12: 48 8d bb 8c 26 00 00 lea 0x268c(%rbx),%rdi 19: 48 89 f8 mov %rdi,%rax 1c: 48 89 fa mov %rdi,%rdx 1f: 48 c1 e8 03 shr $0x3,%rax 23: 83 e2 07 and $0x7,%edx 26: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax * 2a: 38 d0 cmp %dl,%al <-- trapping instruction 2c: 7f 08 jg 0x36 2e: 84 c0 test %al,%al 30: 0f 85 7b 09 00 00 jne 0x9b1 36: 44 0f b6 bb 8c 26 00 movzbl 0x268c(%rbx),%r15d 3d: 00 3e: 31 ff xor %edi,%edi