rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=13105, q=1581) rcu: All QSes seen, last rcu_preempt kthread activity 642 (4294959153-4294958511), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 642 jiffies! g13105 f0x2 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:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 5203 Comm: kworker/1:16 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] RIP: 0010:rcu_is_watching+0x56/0xa0 kernel/rcu/tree.c:1123 Code: f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 90 22 5f 00 48 c7 c3 c8 b2 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 <84> c0 75 1a 8b 03 65 ff 0d 55 46 97 7e 74 08 24 01 5b 41 5e 41 5f RSP: 0018:ffffc90000dd0b60 EFLAGS: 00000806 RAX: 0000000000000000 RBX: ffff8880b8f3b2c8 RCX: ffffffff8162e378 RDX: 0000000000000000 RSI: ffffffff8af9ece0 RDI: ffffffff8af9eca0 RBP: ffffc90000dd0cb0 R08: dffffc0000000000 R09: fffffbfff1c14b16 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba17c R13: ffffffff888c18c5 R14: ffffffff8c5c9818 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20970815e8 CR3: 0000000074ae0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xb9/0x9a0 kernel/locking/lockdep.c:5634 rcu_read_unlock include/linux/rcupdate.h:772 [inline] advance_sched+0x7d4/0x940 net/sched/sch_taprio.c:771 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:67 Code: c1 0f 8c dc fc ff ff 48 89 df e8 58 8b 91 00 48 ba 00 00 00 00 00 fc ff df e9 c5 fc ff ff 66 0f 1f 84 00 00 00 00 00 48 8b 07 cc cc cc cc cc cc cc cc cc cc cc cc 31 c0 81 ff 03 00 00 40 0f RSP: 0018:ffffc9000329f120 EFLAGS: 00000283 RAX: ffffffff8577cc80 RBX: ffffc9000329f978 RCX: ffffffff8e1f80f8 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffc9000329f978 RBP: ffffc900032a0000 R08: 0000000000000009 R09: ffffc9000329f2d0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1d176d6 R13: 1ffffffff1d176d6 R14: ffffc90003298000 R15: ffffc9000329f1e0 deref_stack_reg arch/x86/kernel/unwind_orc.c:360 [inline] unwind_next_frame+0xb35/0x1fa0 arch/x86/kernel/unwind_orc.c:539 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:119 __reset_page_owner+0x52/0x180 mm/page_owner.c:140 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page+0x95/0x2d0 mm/page_alloc.c:3396 do_slab_free mm/slub.c:3487 [inline] ___cache_free+0xe3/0x100 mm/slub.c:3506 qlist_free_all+0x36/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:283 ____kasan_kmalloc+0x2f/0xf0 mm/kasan/common.c:479 kasan_kmalloc include/linux/kasan.h:264 [inline] kmem_cache_alloc_trace+0x143/0x290 mm/slub.c:3247 kmalloc include/linux/slab.h:591 [inline] kzalloc include/linux/slab.h:721 [inline] keypair_create drivers/net/wireguard/noise.c:100 [inline] wg_noise_handshake_begin_session+0xc0/0xb50 drivers/net/wireguard/noise.c:827 wg_receive_handshake_packet drivers/net/wireguard/receive.c:183 [inline] wg_packet_handshake_receive_worker+0x665/0xe00 drivers/net/wireguard/receive.c:220 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287