rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): (detected by 0, t=10502 jiffies, g=389261, q=48) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295178100-4295167598), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g389261 f0x0 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:28864 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1878 rcu_gp_fqs_loop kernel/rcu/tree.c:1996 [inline] rcu_gp_kthread+0xd34/0x1980 kernel/rcu/tree.c:2169 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: 30414 Comm: syz-executor.3 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3ba/0xb40 kernel/locking/qspinlock.c:508 Code: eb c6 45 01 01 41 bc 00 80 00 00 48 c1 e9 03 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 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff18ef238 RDX: 0000000000000001 RSI: ffffffff817bad21 RDI: ffffffff81330591 RBP: ffffffff8c7791c0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817bace9 R11: 0000000000000080 R12: 00000000000058ec R13: fffffbfff18ef238 R14: 0000000000000001 R15: ffff8880b9d527c0 FS: 00007fef4bc7f700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cb21000 CR3: 0000000080c43000 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+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 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/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 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:__purge_vmap_area_lazy+0x936/0x1c50 mm/vmalloc.c:1675 Code: 90 e8 ce cf 0b 00 49 c1 ec 0c f0 4c 29 25 32 c8 73 0e be 08 00 00 00 48 c7 c7 00 fe 23 90 e8 a1 cf 0b 00 48 8b 1d 1a c8 73 0e <4c> 8b 74 24 38 48 89 df 4c 89 f6 e8 8a 59 c5 ff 4c 39 f3 0f 83 91 RSP: 0018:ffffc9000170f658 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 000000000000002f RCX: ffffffff81b035df RDX: fffffbfff2047fc1 RSI: 0000000000000008 RDI: ffffffff9023fe00 RBP: 000000000000b000 R08: 0000000000000000 R09: ffffffff9023fe07 R10: fffffbfff2047fc0 R11: 0000000000000000 R12: 0000000000000006 R13: ffffc900010f6000 R14: 000000000000b000 R15: dffffc0000000000 _vm_unmap_aliases.part.0+0x3f0/0x500 mm/vmalloc.c:2073 _vm_unmap_aliases mm/vmalloc.c:2047 [inline] vm_unmap_aliases+0x47/0x50 mm/vmalloc.c:2096 change_page_attr_set_clr+0x241/0x500 arch/x86/mm/pat/set_memory.c:1740 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline] set_memory_ro+0x78/0xa0 arch/x86/mm/pat/set_memory.c:1943 bpf_jit_binary_lock_ro include/linux/filter.h:852 [inline] bpf_int_jit_compile+0xe36/0x11e0 arch/x86/net/bpf_jit_comp.c:2331 bpf_prog_select_runtime+0x464/0x6a0 kernel/bpf/core.c:1892 bpf_prog_load+0xe8b/0x21f0 kernel/bpf/syscall.c:2311 __sys_bpf+0x65a/0x5410 kernel/bpf/syscall.c:4502 __do_sys_bpf kernel/bpf/syscall.c:4606 [inline] __se_sys_bpf kernel/bpf/syscall.c:4604 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4604 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 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:00007fef4bc7f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000078 RSI: 0000000020000280 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffe5b1e07f R14: 00007fef4bc7f300 R15: 0000000000022000