rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=18221, q=245) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294967714-4294957212), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g18221 f0x2 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:28864 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 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: NMI backtrace for cpu 0 CPU: 0 PID: 8448 Comm: syz-executor.2 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 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_check_gp_kthread_starvation.cold+0x1d1/0x1d6 kernel/rcu/tree_stall.h:479 print_other_cpu_stall kernel/rcu/tree_stall.h:584 [inline] check_cpu_stall kernel/rcu/tree_stall.h:709 [inline] rcu_pending kernel/rcu/tree.c:3922 [inline] rcu_sched_clock_irq+0x2001/0x20c0 kernel/rcu/tree.c:2641 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x1c0/0xe50 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/0x530 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:638 RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:90 [inline] RIP: 0010:kvm_wait arch/x86/kernel/kvm.c:888 [inline] RIP: 0010:kvm_wait+0xaf/0xf0 arch/x86/kernel/kvm.c:871 Code: 10 c3 c3 89 74 24 0c 48 89 3c 24 e8 3b a5 48 00 8b 74 24 0c 48 8b 3c 24 eb 82 e8 4c aa 48 00 eb 07 0f 00 2d d3 c5 55 08 fb f4 9b eb 07 0f 00 2d c6 c5 55 08 f4 eb c5 89 74 24 0c 48 89 3c 24 RSP: 0018:ffffc9000171f7a0 EFLAGS: 00000202 RAX: 00000000000da08f RBX: 0000000000000000 RCX: 1ffffffff1f9b12a RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8ba98440 R08: 0000000000000001 R09: ffffffff8fcd58a7 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: fffffbfff1753088 R14: 0000000000000001 R15: ffff8880b9c52880 pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8b8/0xb40 kernel/locking/qspinlock.c:508 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:1466 [inline] alloc_vmap_area+0x1dd/0x1e30 mm/vmalloc.c:1507 __get_vm_area_node.constprop.0+0x128/0x380 mm/vmalloc.c:2389 __vmalloc_node_range+0x12e/0x960 mm/vmalloc.c:2956 __vmalloc_node mm/vmalloc.c:3015 [inline] vzalloc+0x67/0x80 mm/vmalloc.c:3085 do_ipt_get_ctl+0x613/0x9d0 net/ipv4/netfilter/ip_tables.c:800 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ip_getsockopt net/ipv4/ip_sockglue.c:1777 [inline] ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1756 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4253 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2203 __do_sys_getsockopt net/socket.c:2218 [inline] __se_sys_getsockopt net/socket.c:2215 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2215 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:0x467bfa Code: 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 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:00007ffd286f49a8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000467bfa RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffd286f49d0 R08: 00007ffd286f49cc R09: 00007ffd286f4a60 R10: 00007ffd286f4a30 R11: 0000000000000216 R12: 00007ffd286f4a30 R13: 0000000000000003 R14: 00007ffd286f49cc R15: 0000000000543d00