rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10500 ticks this GP) idle=2ba/1/0x4000000000000000 softirq=261962/261962 fqs=0 (t=10500 jiffies g=516657 q=109) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g516657 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=189658 rcu: rcu_preempt kthread starved for 10500 jiffies! g516657 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I 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: NMI backtrace for cpu 0 CPU: 0 PID: 8596 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 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_check_gp_kthread_starvation.cold+0x1cc/0x1d1 kernel/rcu/tree_stall.h:478 print_cpu_stall kernel/rcu/tree_stall.h:622 [inline] check_cpu_stall kernel/rcu/tree_stall.h:699 [inline] rcu_pending kernel/rcu/tree.c:3911 [inline] rcu_sched_clock_irq.cold+0x3ec/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+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:arch_safe_halt arch/x86/include/asm/irqflags.h:90 [inline] RIP: 0010:kvm_wait arch/x86/kernel/kvm.c:851 [inline] RIP: 0010:kvm_wait+0xb2/0x100 arch/x86/kernel/kvm.c:834 Code: 89 74 24 0c 48 89 3c 24 e8 7b 14 48 00 8b 74 24 0c 48 8b 3c 24 eb 82 e8 9c 19 48 00 e9 07 00 00 00 0f 00 2d 90 10 36 08 fb f4 98 e9 07 00 00 00 0f 00 2d 80 10 36 08 f4 eb bf 89 74 24 0c 48 RSP: 0018:ffffc90001c8f790 EFLAGS: 00000202 RAX: 0000000002e4a045 RBX: 0000000000000000 RCX: 1ffffffff204c4fa RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8c094100 R08: 0000000000000001 R09: ffffffff9025f8a7 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: fffffbfff1812820 R14: 0000000000000001 R15: ffff8880b9c36040 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: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 do_ip6t_get_ctl+0x615/0xa10 net/ipv6/netfilter/ip6_tables.c:816 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x1be/0x270 net/ipv6/ipv6_sockglue.c:1486 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4252 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2161 __do_sys_getsockopt net/socket.c:2176 [inline] __se_sys_getsockopt net/socket.c:2173 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2173 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467bea 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:00007fff5f591528 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 0000000000467bea RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007fff5f591550 R08: 00007fff5f59154c R09: 0079746972756365 R10: 00007fff5f5915b0 R11: 0000000000000212 R12: 00007fff5f5915b0 R13: 0000000000000003 R14: 00007fff5f59154c R15: 0000000000542b40 NMI backtrace for cpu 0 CPU: 0 PID: 8596 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 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+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:arch_safe_halt arch/x86/include/asm/irqflags.h:90 [inline] RIP: 0010:kvm_wait arch/x86/kernel/kvm.c:851 [inline] RIP: 0010:kvm_wait+0xb2/0x100 arch/x86/kernel/kvm.c:834 Code: 89 74 24 0c 48 89 3c 24 e8 7b 14 48 00 8b 74 24 0c 48 8b 3c 24 eb 82 e8 9c 19 48 00 e9 07 00 00 00 0f 00 2d 90 10 36 08 fb f4 98 e9 07 00 00 00 0f 00 2d 80 10 36 08 f4 eb bf 89 74 24 0c 48 RSP: 0018:ffffc90001c8f790 EFLAGS: 00000202 RAX: 0000000002e4a045 RBX: 0000000000000000 RCX: 1ffffffff204c4fa RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8c094100 R08: 0000000000000001 R09: ffffffff9025f8a7 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: fffffbfff1812820 R14: 0000000000000001 R15: ffff8880b9c36040 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: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 do_ip6t_get_ctl+0x615/0xa10 net/ipv6/netfilter/ip6_tables.c:816 nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116 ipv6_getsockopt+0x1be/0x270 net/ipv6/ipv6_sockglue.c:1486 tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4252 __sys_getsockopt+0x21f/0x5f0 net/socket.c:2161 __do_sys_getsockopt net/socket.c:2176 [inline] __se_sys_getsockopt net/socket.c:2173 [inline] __x64_sys_getsockopt+0xba/0x150 net/socket.c:2173 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467bea 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:00007fff5f591528 EFLAGS: 00000212 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 0000000000467bea RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007fff5f591550 R08: 00007fff5f59154c R09: 0079746972756365 R10: 00007fff5f5915b0 R11: 0000000000000212 R12: 00007fff5f5915b0 R13: 0000000000000003 R14: 00007fff5f59154c R15: 0000000000542b40