rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (3 ticks this GP) idle=3704/1/0x4000000000000000 softirq=67211/67219 fqs=2 rcu: (detected by 0, t=10506 jiffies, g=82997, q=815 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 25 Comm: kworker/1:0 Not tainted 6.10.0-rc6-syzkaller-00163-g661e504db04c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: wg-crypt-wg2 wg_packet_decrypt_worker RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:127 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xaf/0x140 kernel/locking/spinlock.c:194 Code: 02 00 00 74 05 e8 91 c6 0c f6 4c 89 f3 48 c1 eb 03 42 80 3c 23 00 74 08 4c 89 f7 e8 ab 18 6b f6 48 c7 44 24 20 00 00 00 00 9c <8f> 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 9e 17 6b f6 f6 44 24 RSP: 0018:ffffc90000a18458 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff92000143090 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff94a632d8 RBP: ffffc90000a184f0 R08: ffffffff94a632db R09: 1ffffffff294c65b R10: dffffc0000000000 R11: fffffbfff294c65c R12: dffffc0000000000 R13: 1ffff9200014308c R14: ffffc90000a18480 R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2b84ad0ab8 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_object_deactivate+0x2d5/0x390 lib/debugobjects.c:778 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484 __run_hrtimer kernel/time/hrtimer.c:1657 [inline] __hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:phys_addr_valid arch/x86/mm/physaddr.h:7 [inline] RIP: 0010:__phys_addr+0xa2/0x170 arch/x86/mm/physaddr.c:28 Code: 3d e4 e6 6a 0e bf 40 00 00 00 44 89 fe e8 26 df 53 00 41 83 ff 3f 0f 87 a4 00 00 00 e8 17 dc 53 00 4c 89 f3 44 89 f9 48 d3 eb <31> ff 48 89 de e8 e4 e0 53 00 48 85 db 0f 85 a7 00 00 00 e8 f6 db RSP: 0018:ffffc90000a18980 EFLAGS: 00000246 RAX: ffffffff81424b99 RBX: 0000000000000000 RCX: 000000000000002e RDX: 0000000080000101 RSI: 000000000000002e RDI: 0000000000000040 RBP: ffff888061cfc440 R08: ffffffff81424b8a R09: 1ffffffff1f5a945 R10: dffffc0000000000 R11: fffffbfff1f5a946 R12: ffff888024ff5cfe R13: ffff888061cfc442 R14: 0000000061cfc300 R15: 000000000000002e virt_to_folio include/linux/mm.h:1318 [inline] virt_to_slab mm/slab.h:204 [inline] kmem_cache_free+0x78/0x350 mm/slub.c:4513 skb_kfree_head net/core/skbuff.c:1067 [inline] skb_free_head net/core/skbuff.c:1081 [inline] skb_release_data+0x64d/0x880 net/core/skbuff.c:1108 skb_release_all net/core/skbuff.c:1173 [inline] __kfree_skb net/core/skbuff.c:1187 [inline] consume_skb+0xb1/0x160 net/core/skbuff.c:1409 wg_packet_consume_data_done drivers/net/wireguard/receive.c:435 [inline] wg_packet_rx_poll+0x13ca/0x2240 drivers/net/wireguard/receive.c:474 __napi_poll+0xcb/0x490 net/core/dev.c:6722 napi_poll net/core/dev.c:6791 [inline] net_rx_action+0x7bb/0x10a0 net/core/dev.c:6907 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 spin_unlock_bh include/linux/spinlock.h:396 [inline] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_decrypt_worker+0xcde/0xd80 drivers/net/wireguard/receive.c:499 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 6022 jiffies! g82997 f0x0 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 1051 Comm: kworker/u8:6 Not tainted 6.10.0-rc6-syzkaller-00163-g661e504db04c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 c9 0c 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 74 08 0c 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 58 08 RSP: 0018:ffffc90004687700 EFLAGS: 00000293 RAX: ffffffff818a1f58 RBX: 1ffff110172a8899 RCX: ffff888022135a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900046878e0 R08: ffffffff818a1f27 R09: 1ffffffff25f4eb0 R10: dffffc0000000000 R11: fffffbfff25f4eb1 R12: dffffc0000000000 R13: ffff8880b95444c8 R14: ffff8880b943f8c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7103e50000 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0004000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244