rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10501 ticks this GP) idle=af2/1/0x4000000000000000 softirq=244522/244522 fqs=0 (t=10502 jiffies g=468497 q=1450) rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g468497 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=159454 rcu: rcu_preempt kthread starved for 10505 jiffies! g468497 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: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: NMI backtrace for cpu 0 CPU: 0 PID: 15804 Comm: kworker/0:8 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg2 wg_packet_tx_worker 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:__list_del include/linux/list.h:112 [inline] RIP: 0010:__list_del_entry include/linux/list.h:135 [inline] RIP: 0010:__list_del_entry include/linux/list.h:130 [inline] RIP: 0010:list_move_tail include/linux/list.h:227 [inline] RIP: 0010:fq_codel_dequeue+0x809/0x1f50 net/sched/sch_fq_codel.c:299 Code: 00 00 49 8d 7e 08 49 8b 2e 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 f7 13 00 00 48 8d 7d 08 49 8b 5e 08 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 d3 13 00 00 48 89 d8 48 89 5d 08 48 c1 e8 03 RSP: 0018:ffffc9001b00f5f0 EFLAGS: 00000a02 RAX: 1ffff1100666cb68 RBX: ffff888033365b38 RCX: 0000000000000000 RDX: ffff8880af8e54c0 RSI: ffffffff873a912f RDI: ffff888033365b40 RBP: ffff888033365b38 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff873a9126 R11: 0000000000000000 R12: ffff888033365800 R13: dffffc0000000000 R14: ffff888033393610 R15: ffff888033365b38 dequeue_skb net/sched/sch_generic.c:263 [inline] qdisc_restart net/sched/sch_generic.c:366 [inline] __qdisc_run+0x1ae/0x15f0 net/sched/sch_generic.c:384 __dev_xmit_skb net/core/dev.c:3904 [inline] __dev_queue_xmit+0x19d5/0x2e30 net/core/dev.c:4213 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0xeec/0x21f0 net/ipv4/ip_output.c:230 __ip_finish_output net/ipv4/ip_output.c:308 [inline] __ip_finish_output+0x396/0x640 net/ipv4/ip_output.c:290 ip_finish_output+0x35/0x200 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0x196/0x310 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:448 [inline] ip_local_out+0xaf/0x1a0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x5a3/0x9c0 net/ipv4/ip_tunnel_core.c:82 send4+0x454/0xe30 drivers/net/wireguard/socket.c:85 wg_socket_send_skb_to_peer+0x192/0x220 drivers/net/wireguard/socket.c:174 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x1a7/0x710 drivers/net/wireguard/send.c:276 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 NMI backtrace for cpu 0 CPU: 0 PID: 15804 Comm: kworker/0:8 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg2 wg_packet_tx_worker 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:__list_del include/linux/list.h:112 [inline] RIP: 0010:__list_del_entry include/linux/list.h:135 [inline] RIP: 0010:__list_del_entry include/linux/list.h:130 [inline] RIP: 0010:list_move_tail include/linux/list.h:227 [inline] RIP: 0010:fq_codel_dequeue+0x809/0x1f50 net/sched/sch_fq_codel.c:299 Code: 00 00 49 8d 7e 08 49 8b 2e 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 f7 13 00 00 48 8d 7d 08 49 8b 5e 08 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 d3 13 00 00 48 89 d8 48 89 5d 08 48 c1 e8 03 RSP: 0018:ffffc9001b00f5f0 EFLAGS: 00000a02 RAX: 1ffff1100666cb68 RBX: ffff888033365b38 RCX: 0000000000000000 RDX: ffff8880af8e54c0 RSI: ffffffff873a912f RDI: ffff888033365b40 RBP: ffff888033365b38 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff873a9126 R11: 0000000000000000 R12: ffff888033365800 R13: dffffc0000000000 R14: ffff888033393610 R15: ffff888033365b38 dequeue_skb net/sched/sch_generic.c:263 [inline] qdisc_restart net/sched/sch_generic.c:366 [inline] __qdisc_run+0x1ae/0x15f0 net/sched/sch_generic.c:384 __dev_xmit_skb net/core/dev.c:3904 [inline] __dev_queue_xmit+0x19d5/0x2e30 net/core/dev.c:4213 neigh_hh_output include/net/neighbour.h:499 [inline] neigh_output include/net/neighbour.h:508 [inline] ip_finish_output2+0xeec/0x21f0 net/ipv4/ip_output.c:230 __ip_finish_output net/ipv4/ip_output.c:308 [inline] __ip_finish_output+0x396/0x640 net/ipv4/ip_output.c:290 ip_finish_output+0x35/0x200 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip_output+0x196/0x310 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:448 [inline] ip_local_out+0xaf/0x1a0 net/ipv4/ip_output.c:126 iptunnel_xmit+0x5a3/0x9c0 net/ipv4/ip_tunnel_core.c:82 send4+0x454/0xe30 drivers/net/wireguard/socket.c:85 wg_socket_send_skb_to_peer+0x192/0x220 drivers/net/wireguard/socket.c:174 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x1a7/0x710 drivers/net/wireguard/send.c:276 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294