rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10471 ticks this GP) idle=a1e/1/0x4000000000000000 softirq=189140/189154 fqs=2 (t=10500 jiffies g=350001 q=26) rcu: rcu_preempt kthread starved for 10496 jiffies! g350001 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:28816 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12222 Comm: syz-executor.4 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4575 [inline] RIP: 0010:__lock_acquire+0x3df/0x5230 kernel/locking/lockdep.c:4852 Code: 24 18 be 08 00 00 00 41 81 e5 ff 1f 00 00 4c 89 e8 48 c1 f8 06 48 8d 3c c5 a0 f8 25 90 e8 39 f3 5f 00 4c 0f a3 2d 01 ed cb 0e <0f> 83 ec 0b 00 00 4f 8d 6c 6d 00 49 c1 e5 06 49 81 c5 c0 fc 25 90 RSP: 0018:ffffc90000dc0c78 EFLAGS: 00000047 RAX: 0000000000000001 RBX: ffff888056f3deb8 RCX: ffffffff815a0b97 RDX: fffffbfff204bf16 RSI: 0000000000000008 RDI: ffffffff9025f8a8 RBP: ffff888056f3df08 R08: 0000000000000000 R09: ffffffff9025f8af R10: fffffbfff204bf15 R11: 0000000000000000 R12: ffff888056f3d4c0 R13: 0000000000000040 R14: ffffffff8bf985c8 R15: 0000000000064000 FS: 00007fc268214700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32d23000 CR3: 000000007f232000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lock_acquire kernel/locking/lockdep.c:5512 [inline] lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5477 seqcount_lockdep_reader_access include/linux/seqlock.h:103 [inline] ktime_get_update_offsets_now+0x82/0x5c0 kernel/time/timekeeping.c:2295 hrtimer_update_base kernel/time/hrtimer.c:631 [inline] hrtimer_interrupt+0x453/0xa00 kernel/time/hrtimer.c:1695 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:437 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3b8/0xb40 kernel/locking/qspinlock.c:508 Code: 48 89 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 90 41 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 RSP: 0018:ffffc900026e76c8 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff1812820 RDX: 0000000000000001 RSI: ffffffff817acfb1 RDI: ffffffff8132b571 RBP: ffffffff8c094100 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817acf79 R11: 0000000000000000 R12: 00000000000018d9 R13: fffffbfff1812820 R14: 0000000000000001 R15: ffff8880b9d36040 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] preload_this_cpu_lock mm/vmalloc.c:1450 [inline] alloc_vmap_area+0x1ba/0x1e10 mm/vmalloc.c:1491 __get_vm_area_node+0x128/0x380 mm/vmalloc.c:2370 __vmalloc_node_range+0x135/0x970 mm/vmalloc.c:2906 __vmalloc_node mm/vmalloc.c:2963 [inline] __vmalloc+0x69/0x80 mm/vmalloc.c:2977 bpf_prog_alloc_no_stats+0x39/0x360 kernel/bpf/core.c:85 bpf_prog_alloc+0x28/0x1a0 kernel/bpf/core.c:119 bpf_prog_load+0x64f/0x2160 kernel/bpf/syscall.c:2207 __sys_bpf+0x65a/0x5390 kernel/bpf/syscall.c:4455 __do_sys_bpf kernel/bpf/syscall.c:4559 [inline] __se_sys_bpf kernel/bpf/syscall.c:4557 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4557 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:00007fc268214188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000048 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd7e86814f R14: 00007fc268214300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 12214 Comm: syz-executor.3 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:341 print_cpu_stall kernel/rcu/tree_stall.h:624 [inline] check_cpu_stall kernel/rcu/tree_stall.h:699 [inline] rcu_pending kernel/rcu/tree.c:3911 [inline] rcu_sched_clock_irq.cold+0x3f1/0x74b kernel/rcu/tree.c:2649 update_process_times+0x16d/0x200 kernel/time/timer.c:1796 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1373 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x1c0/0xe40 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:user_mode arch/x86/include/asm/ptrace.h:136 [inline] RIP: 0010:unwind_next_frame+0x168/0x1ce0 arch/x86/kernel/unwind_orc.c:431 Code: 85 fc 14 00 00 4d 8b 6e 50 4d 85 ed 74 30 49 8d bd 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 df 14 00 00 41 f6 85 88 00 00 00 03 0f 85 54 02 00 00 4d 8d RSP: 0018:ffffc90000007678 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff92000000ed7 RCX: 1ffffffff20f5ae4 RDX: 1ffff920004dee68 RSI: 0000000000000000 RDI: ffffc900026f7340 RBP: 0000000000000001 R08: ffffffff8ed80052 R09: 0000000000000001 R10: fffff52000000ef5 R11: 0000000000084087 R12: ffffc90000007798 R13: ffffc900026f72b8 R14: ffffc90000007750 R15: 0000000000000000 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:428 [inline] __kasan_slab_alloc+0x84/0xa0 mm/kasan/common.c:461 kasan_slab_alloc include/linux/kasan.h:236 [inline] slab_post_alloc_hook mm/slab.h:524 [inline] slab_alloc_node mm/slub.c:2912 [inline] kmem_cache_alloc_node+0x269/0x3e0 mm/slub.c:2948 __alloc_skb+0x20b/0x340 net/core/skbuff.c:413 __netdev_alloc_skb+0x70/0x400 net/core/skbuff.c:492 netdev_alloc_skb include/linux/skbuff.h:2867 [inline] dev_alloc_skb include/linux/skbuff.h:2880 [inline] __ieee80211_beacon_get+0xebe/0x1aa0 net/mac80211/tx.c:4836 ieee80211_beacon_get_tim+0x88/0x910 net/mac80211/tx.c:4950 ieee80211_beacon_get include/net/mac80211.h:4938 [inline] mac80211_hwsim_beacon_tx+0x111/0x910 drivers/net/wireless/mac80211_hwsim.c:1799 __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:1852 __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:632 RIP: 0010:smp_call_function_many_cond+0x302/0xc20 kernel/smp.c:962 Code: 02 00 00 e8 30 3d 0b 00 48 8b 74 24 20 8b 7c 24 18 48 8b 04 24 ff d0 31 ff 89 c3 89 c6 e8 c6 43 0b 00 84 db 0f 85 e9 01 00 00 09 3d 0b 00 0f b6 5c 24 43 31 ff 89 de e8 ab 43 0b 00 84 db 0f RSP: 0018:ffffc900026f7368 EFLAGS: 00000212 RAX: 0000000000010a9f RBX: 0000000000000200 RCX: ffffc900105dd000 RDX: 0000000000040000 RSI: ffffffff816987fa RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff9025f8a7 R10: ffffffff816987ec R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000008 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1133 on_each_cpu include/linux/smp.h:71 [inline] flush_tlb_kernel_range+0x80/0xb0 arch/x86/mm/tlb.c:995 __purge_vmap_area_lazy+0x8f9/0x1c50 mm/vmalloc.c:1652 _vm_unmap_aliases.part.0+0x3dd/0x4f0 mm/vmalloc.c:2055 _vm_unmap_aliases mm/vmalloc.c:2029 [inline] vm_unmap_aliases+0x47/0x50 mm/vmalloc.c:2078 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:853 [inline] bpf_int_jit_compile+0xe11/0x11b0 arch/x86/net/bpf_jit_comp.c:2329 jit_subprogs kernel/bpf/verifier.c:12170 [inline] fixup_call_args kernel/bpf/verifier.c:12247 [inline] bpf_check+0x961d/0xbe80 kernel/bpf/verifier.c:13463 bpf_prog_load+0xe60/0x2160 kernel/bpf/syscall.c:2260 __sys_bpf+0x65a/0x5390 kernel/bpf/syscall.c:4455 __do_sys_bpf kernel/bpf/syscall.c:4559 [inline] __se_sys_bpf kernel/bpf/syscall.c:4557 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4557 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:00007f212163f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000070 RSI: 0000000020b7a000 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcb205580f R14: 00007f212163f300 R15: 0000000000022000