rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=ccbc/1/0x4000000000000000 softirq=9931/9932 fqs=1 (detected by 1, t=10503 jiffies, g=10013, q=999 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3289 Comm: kworker/0:3 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker RIP: 0010:div64_u64 include/linux/math64.h:69 [inline] RIP: 0010:taprio_set_budget net/sched/sch_taprio.c:550 [inline] RIP: 0010:advance_sched+0x630/0x970 net/sched/sch_taprio.c:745 Code: 00 e8 f4 23 2d f9 48 89 e8 48 c1 e8 03 42 80 3c 20 00 4c 8b 64 24 50 74 08 48 89 ef e8 49 22 2d f9 4c 89 f0 31 d2 48 f7 75 00 <48> 89 c5 48 89 df be 04 00 00 00 e8 d0 23 2d f9 48 89 d8 48 c1 e8 RSP: 0018:ffffc90000007cc0 EFLAGS: 00000046 RAX: 0000000000001400 RBX: ffff8880286c9120 RCX: ffffffff88b4ea6c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880570e22e0 RBP: ffff8880570e22e0 R08: dffffc0000000000 R09: ffffed100ae1c45d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880570e2000 R13: ffff8880570e2340 R14: 00000000001f4000 R15: 17d369d971c30800 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5de22926c0 CR3: 000000001931a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:fmul2 arch/x86/crypto/curve25519-x86_64.c:296 [inline] RIP: 0010:point_add_and_double arch/x86/crypto/curve25519-x86_64.c:1006 [inline] RIP: 0010:montgomery_ladder arch/x86/crypto/curve25519-x86_64.c:1098 [inline] RIP: 0010:curve25519_ever64 arch/x86/crypto/curve25519-x86_64.c:1252 [inline] RIP: 0010:curve25519_arch+0x1f2e/0x5700 arch/x86/crypto/curve25519-x86_64.c:1599 Code: f6 57 18 f3 4d 0f 38 f6 f5 48 c7 c0 00 00 00 00 f3 48 0f 38 f6 c2 48 8b 51 08 c4 62 bb f6 0f 45 31 d2 66 4d 0f 38 f6 44 24 08 <4d> 89 44 24 08 c4 62 ab f6 5f 08 f3 4d 0f 38 f6 d1 66 4c 0f 38 f6 RSP: 0018:ffffc900035df060 EFLAGS: 00000246 RAX: 0735bdcecb2b05ae RBX: 572c3359730631d3 RCX: ffffc900035df2e0 RDX: 73c3bd80a278b938 RSI: ffffc900035df2e0 RDI: ffffc900035df2a0 RBP: ffffc900035df430 R08: bd5dcc24bcb779f3 R09: 3621685979ee0094 R10: 0000000000000000 R11: 42f73a8a6bf6a3ed R12: ffffc900035df180 R13: 1137d966b2bb8b2a R14: 58c7121babbc9864 R15: ffffc900035df280 curve25519 include/crypto/curve25519.h:39 [inline] mix_dh+0xc1/0x2e0 drivers/net/wireguard/noise.c:411 wg_noise_handshake_create_response+0x2b5/0xd30 drivers/net/wireguard/noise.c:702 wg_packet_send_handshake_response+0xf5/0x2d0 drivers/net/wireguard/send.c:94 wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline] wg_packet_handshake_receive_worker+0x5de/0xf00 drivers/net/wireguard/receive.c:213 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 10498 jiffies! g10013 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:26680 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 3981 Comm: kworker/u4:6 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fc0/0x3460 kernel/smp.c:998 Code: e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 77 3f 0b 00 e9 1b ff ff ff f3 90 42 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 <0f> 84 fe fe ff ff e8 55 3f 0b 00 eb e1 44 89 f9 80 e1 07 80 c1 03 RSP: 0018:ffffc9000532f5a0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff1101730859d RCX: ffff888015ff3b80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000532f980 R08: ffffffff817f4dc4 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b9842ce8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c0861cae98 CR3: 000000000ce8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308