rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=cbe/1/0x4000000000000000 softirq=113922/113959 fqs=0 (t=10501 jiffies g=216145 q=39) rcu: rcu_preempt kthread starved for 10502 jiffies! g216145 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: 12429 Comm: syz-executor.0 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_check_range+0x17/0x180 mm/kasan/generic.c:185 Code: 0f 1f 00 48 89 f2 be f8 00 00 00 e9 e3 98 33 02 0f 1f 00 48 85 f6 0f 84 70 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 55 53 <0f> 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 05 RSP: 0018:ffffc90000dc0c28 EFLAGS: 00000082 RAX: 0000000000000000 RBX: 0000000000000039 RCX: ffffffff815a1bc1 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9025f8a0 RBP: ffff888079740a20 R08: 0000000000000000 R09: ffffffff9025f8a8 R10: fffffbfff204bf15 R11: 0000000000000000 R12: ffff888079740000 R13: 0000000000000040 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f5735cb5700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005606ea7450b8 CR3: 000000002669f000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] __lock_acquire+0x1401/0x5230 kernel/locking/lockdep.c:4898 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+0x7c/0x470 kernel/time/timekeeping.c:827 clockevents_program_event+0x141/0x370 kernel/time/clockevents.c:326 tick_program_event+0xac/0x140 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x414/0xa00 kernel/time/hrtimer.c:1676 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: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+0x3c4/0xb40 kernel/locking/qspinlock.c:508 Code: 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 85 91 05 00 00 0f b6 45 00 84 RSP: 0018:ffffc90001d5f4d0 EFLAGS: 00000202 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff1812820 RDX: 0000000000000001 RSI: ffffffff817acfb1 RDI: ffffffff8132b571 RBP: ffffffff8c094100 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817acf79 R11: 0000000000000000 R12: 0000000000003526 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] vzalloc+0x67/0x80 mm/vmalloc.c:3016 bpf_check+0x1e1/0xbe80 kernel/bpf/verifier.c:13329 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:00007f5735cb5188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 0000000000000070 RSI: 0000000020b7a000 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffee1d3824f R14: 00007f5735cb5300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 12410 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:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x60 kernel/kcov.c:197 Code: ff ba 08 00 00 00 4d 8b 03 48 0f bd ca 49 8b 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 40 00 65 8b 05 09 2d 8d 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 RSP: 0018:ffffc90000007b70 EFLAGS: 00000202 RAX: 0000000000000102 RBX: ffff88805eb41e18 RCX: 0000000000000102 RDX: ffffffff88756d20 RSI: ffffffff88756de0 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff9025f8a7 R10: ffffffff88756dd6 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888060660d00 R14: 0000000000000000 R15: ffff88805eb41e18 rcu_read_lock include/linux/rcupdate.h:658 [inline] __ieee80211_beacon_get+0xc0/0x1aa0 net/mac80211/tx.c:4765 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:trace_mm_page_free+0x0/0x1c0 include/trace/events/kmem.h:160 Code: e8 a5 01 0a 00 e9 d2 fe ff ff 48 89 ef e8 98 01 0a 00 e9 e8 fe ff ff 48 89 ef e8 8b 01 0a 00 e9 45 fe ff ff 66 0f 1f 44 00 00 <41> 54 55 53 0f 1f 44 00 00 65 8b 1d 68 9b 51 7e 83 fb 07 0f 87 36 RSP: 0018:ffffc90001e0f518 EFLAGS: 00000246 RAX: dead000000000100 RBX: ffff888030874d18 RCX: ffffffff81b080e3 RDX: 1ffffd40003045d1 RSI: 0000000000000000 RDI: ffffea0001822e80 RBP: ffffea0001822e80 R08: 0000000000000001 R09: ffffea0001822eb7 R10: fffff940003045d6 R11: 000000000000003f R12: 0000000000000000 R13: ffffea0001822e98 R14: ffff888030874d20 R15: fffff52002fa3000 free_pages_prepare mm/page_alloc.c:1252 [inline] free_pcp_prepare+0x42/0x300 mm/page_alloc.c:1342 free_unref_page_prepare mm/page_alloc.c:3250 [inline] free_unref_page+0x12/0x1d0 mm/page_alloc.c:3298 kasan_depopulate_vmalloc_pte+0x5c/0x70 mm/kasan/shadow.c:369 apply_to_pte_range mm/memory.c:2425 [inline] apply_to_pmd_range mm/memory.c:2469 [inline] apply_to_pud_range mm/memory.c:2505 [inline] apply_to_p4d_range mm/memory.c:2541 [inline] __apply_to_page_range+0x69a/0x1050 mm/memory.c:2575 kasan_release_vmalloc+0xa7/0xc0 mm/kasan/shadow.c:479 __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 bpf_prog_select_runtime+0x464/0x6a0 kernel/bpf/core.c:1867 bpf_prog_load+0xe94/0x2160 kernel/bpf/syscall.c:2264 __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:00007f2a247e9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000048 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdc6b7c0ef R14: 00007f2a247e9300 R15: 0000000000022000