rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=452101, q=21) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4295201192-4295190689), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10504 jiffies! g452101 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:28816 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x934/0x2710 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1892 rcu_gp_fqs_loop kernel/rcu/tree.c:2004 [inline] rcu_gp_kthread+0xd1a/0x2300 kernel/rcu/tree.c:2177 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 13510 Comm: syz-executor.4 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3c9/0xb40 kernel/locking/qspinlock.c:508 Code: 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 <38> d8 7f 08 84 c0 0f 85 91 05 00 00 0f b6 45 00 84 c0 75 db be 02 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff18ee238 RDX: 0000000000000001 RSI: ffffffff817b97b1 RDI: ffffffff81331571 RBP: ffffffff8c7711c0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9779 R11: 0000000000000080 R12: 0000000000006e3b R13: fffffbfff18ee238 R14: 0000000000000001 R15: ffff8880b9d52840 FS: 00007f08bde02700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f08bde01ff8 CR3: 00000000a0b36000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1516 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x4b7/0x920 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe40 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9bd kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:6328 Code: 55 53 65 48 8b 1c 25 00 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 02 0e 2e f8 e8 6d 36 5a f8 fb bf 01 00 00 00 b2 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 10 fd 2d RSP: 0018:ffffc90017427d58 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffff888068c554c0 RCX: 1ffffffff1ad6449 RDX: 0000000000000000 RSI: ffffffff817b97b1 RDI: 0000000000000001 RBP: ffffed100d18aa98 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9798 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:427 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x13/0x60 kernel/kcov.c:196 Code: 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 00 65 8b 05 a9 6d 8c 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 <65> 48 8b 14 25 00 f0 01 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 RSP: 0018:ffffc90017427e28 EFLAGS: 00000246 RAX: 0000000080000000 RBX: ffff888013dac850 RCX: 0000000000000000 RDX: 1ffff110027b5912 RSI: ffffffff839f4db1 RDI: ffff888013dac890 RBP: ffff8880109acab0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81c6e798 R11: 0000000000086087 R12: ffff88801ff33400 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88801ff33418 aa_put_label security/apparmor/include/label.h:445 [inline] apparmor_file_free_security+0x71/0x100 security/apparmor/lsm.c:461 security_file_free+0x3e/0xd0 security/security.c:1528 file_free fs/file_table.c:55 [inline] __fput+0x3da/0x920 fs/file_table.c:298 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4196c4 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f08bde02060 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: fffffffffffffffe RBX: 000000000056bf80 RCX: 00000000004196c4 RDX: 0000000000000000 RSI: 00007f08bde020f0 RDI: 00000000ffffff9c RBP: 00007f08bde020f0 R08: 0000000000000000 R09: 00007f08bde01f70 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007fff11b6563f R14: 00007f08bde02300 R15: 0000000000022000