rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): (detected by 1, t=10503 jiffies, g=515673, q=165) rcu: All QSes seen, last rcu_preempt kthread activity 10490 (4295247709-4295237219), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10491 jiffies! g515673 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:28800 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 schedule_timeout+0x14a/0x250 kernel/time/timer.c:1892 rcu_gp_fqs_loop kernel/rcu/tree.c:2004 [inline] rcu_gp_kthread+0xd07/0x2300 kernel/rcu/tree.c:2177 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3725 Comm: syz-executor.2 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:302 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5cd/0xb40 kernel/locking/qspinlock.c:473 Code: 24 4c 89 e9 83 e1 07 38 ca 7f 08 84 d2 0f 85 ed 03 00 00 0f b6 53 14 84 d2 0f 85 9e 00 00 00 f3 90 83 e8 01 0f 84 93 00 00 00 <0f> b6 16 84 d2 74 09 80 fa 03 0f 8e 96 03 00 00 41 8b 57 08 85 d2 RSP: 0018:ffffc90000007a30 EFLAGS: 00000206 RAX: 00000000000034e7 RBX: ffff8880b9d36400 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed1017386c81 RDI: ffff8880b9c36414 RBP: ffff8880b9c36414 R08: 0000000000000001 R09: ffff8880b9c36414 R10: ffffed1017386c82 R11: 0000000000000080 R12: ffffed10173a6c82 R13: ffff8880b9d36414 R14: dffffc0000000000 R15: ffff8880b9c36400 FS: 00007fe39f18c700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe39f14a718 CR3: 00000000173f8000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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:1514 mac80211_hwsim_tx_frame+0x14f/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1780 mac80211_hwsim_beacon_tx+0x4ba/0x910 drivers/net/wireless/mac80211_hwsim.c:1834 __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:1857 __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/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 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:647 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:5535 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 32 d9 36 f8 e8 0d c6 62 f8 fb bf 01 00 00 00 92 ce ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 80 c7 36 RSP: 0018:ffffc900023df5b8 EFLAGS: 00000202 RAX: 0000000000017101 RBX: ffff88809ddbd4c0 RCX: 1ffffffff1b926d9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed1013bb7a98 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817aec78 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:__local_bh_enable_ip+0xa8/0x120 kernel/softirq.c:391 Code: 1d dd 1a bc 7e 65 8b 05 d6 1a bc 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 d5 18 09 00 e8 40 17 35 00 fb 65 8b 05 b8 1a bc 7e <85> c0 74 58 5b 5d c3 65 8b 05 06 22 bc 7e 85 c0 75 a2 0f 0b eb 9e RSP: 0018:ffffc900023df688 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 00000000fffffe01 RCX: 1ffffffff1b926d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff870c7a6a R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817aec78 R11: 0000000000000001 R12: ffff888020e9fcc0 R13: ffff888020e9fc00 R14: ffff888063d660e0 R15: 0000000000001000 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:746 [inline] __dev_queue_xmit+0x14c8/0x3130 net/core/dev.c:4273 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_no_mac net/core/filter.c:2138 [inline] __bpf_redirect+0x548/0xc80 net/core/filter.c:2161 ____bpf_clone_redirect net/core/filter.c:2445 [inline] bpf_clone_redirect+0x2ae/0x420 net/core/filter.c:2417 bpf_prog_801cabf80fc815cd+0x59/0xf80 bpf_dispatcher_nop_func include/linux/bpf.h:684 [inline] bpf_test_run+0x45f/0xaa0 net/bpf/test_run.c:117 bpf_prog_test_run_skb+0xabc/0x1c70 net/bpf/test_run.c:656 bpf_prog_test_run kernel/bpf/syscall.c:3150 [inline] __do_sys_bpf+0x218b/0x4f40 kernel/bpf/syscall.c:4429 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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:00007fe39f18c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000028 RSI: 0000000020000080 RDI: 000000000000000a RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd39ce43ef R14: 00007fe39f18c300 R15: 0000000000022000