rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (2 ticks this GP) idle=ca5/1/0x4000000000000000 softirq=10936/10936 fqs=0 (detected by 1, t=10793 jiffies, g=12193, q=3029) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4256 Comm: kworker/0:20 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x45/0x290 mm/kasan/generic.c:189 Code: 00 00 48 89 fd 48 c1 ed 2f 81 fd ff ff 01 00 0f 82 46 02 00 00 48 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 <4c> 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df 4f 8d 34 RSP: 0018:ffffc90000007d00 EFLAGS: 00000802 RAX: 0000000000000001 RBX: 1ffffffff1c14c0d RCX: ffffffff816fb472 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e0a6068 RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff1c14c0d R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8880b8e2a380 R14: ffff8880617e1340 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12892e8440 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:344 [inline] cpu_online include/linux/cpumask.h:895 [inline] trace_hrtimer_start include/trace/events/timer.h:199 [inline] debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer+0x72/0x390 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0x6b6/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:lock_is_held_type+0x137/0x180 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000314ef10 EFLAGS: 00000206 RAX: efc4f33941d4a400 RBX: 0000000000000004 RCX: 0000000080000401 RDX: ffff88802af51dc0 RSI: ffffffff8aab3e20 RDI: ffffffff8af9f000 RBP: 0000000000000001 R08: ffffffff892059a8 R09: ffffc9000314f000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000246 R13: ffff88802af51dc0 R14: 00000000ffffffff R15: ffffffff8cb1fd20 fib6_node_lookup_1+0x361/0x8a0 net/ipv6/ip6_fib.c:1585 fib6_node_lookup+0x146/0x240 net/ipv6/ip6_fib.c:1641 fib6_table_lookup+0xc2/0xbb0 net/ipv6/route.c:2179 ip6_pol_route+0x1e7/0x15a0 net/ipv6/route.c:2219 pol_lookup_func include/net/ip6_fib.h:582 [inline] fib6_rule_lookup+0x265/0x620 net/ipv6/fib6_rules.c:115 ip6_route_output_flags+0xc1/0x310 net/ipv6/route.c:2640 ip6_dst_lookup_tail+0x267/0x11a0 net/ipv6/ip6_output.c:1128 ip6_dst_lookup_flow+0xb5/0x170 net/ipv6/ip6_output.c:1231 send6+0x5a7/0xad0 drivers/net/wireguard/socket.c:139 wg_socket_send_skb_to_peer+0x111/0x1d0 drivers/net/wireguard/socket.c:178 wg_packet_send_handshake_response+0x194/0x2d0 drivers/net/wireguard/send.c:103 wg_receive_handshake_packet drivers/net/wireguard/receive.c:161 [inline] wg_packet_handshake_receive_worker+0x619/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 rcu: rcu_preempt kthread timer wakeup didn't happen for 10792 jiffies! g12193 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=7325 rcu: rcu_preempt kthread starved for 10793 jiffies! g12193 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:26808 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4256 Comm: kworker/0:20 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker RIP: 0010:check_preemption_disabled+0x49/0x110 lib/smp_processor_id.c:55 Code: 75 65 8b 05 b1 6c c3 75 a9 ff ff ff 7f 74 22 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 c7 00 00 00 89 d8 48 83 c4 10 5b <41> 5c 41 5e 41 5f c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 RSP: 0018:ffffc90000007b20 EFLAGS: 00000086 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8162cdcc RDX: 0000000000000000 RSI: ffffffff8af9efe0 RDI: ffffffff8af9efa0 RBP: ffffc90000007ca8 R08: dffffc0000000000 R09: fffffbfff1c14c0e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f74 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f12892e8440 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1123 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xdd/0x4f0 kernel/locking/lockdep.c:5594 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x662/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:lock_is_held_type+0x137/0x180 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000314ef10 EFLAGS: 00000206 RAX: efc4f33941d4a400 RBX: 0000000000000004 RCX: 0000000080000401 RDX: ffff88802af51dc0 RSI: ffffffff8aab3e20 RDI: ffffffff8af9f000 RBP: 0000000000000001 R08: ffffffff892059a8 R09: ffffc9000314f000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000246 R13: ffff88802af51dc0 R14: 00000000ffffffff R15: ffffffff8cb1fd20 fib6_node_lookup_1+0x361/0x8a0 net/ipv6/ip6_fib.c:1585 fib6_node_lookup+0x146/0x240 net/ipv6/ip6_fib.c:1641 fib6_table_lookup+0xc2/0xbb0 net/ipv6/route.c:2179 ip6_pol_route+0x1e7/0x15a0 net/ipv6/route.c:2219 pol_lookup_func include/net/ip6_fib.h:582 [inline] fib6_rule_lookup+0x265/0x620 net/ipv6/fib6_rules.c:115 ip6_route_output_flags+0xc1/0x310 net/ipv6/route.c:2640 ip6_dst_lookup_tail+0x267/0x11a0 net/ipv6/ip6_output.c:1128 ip6_dst_lookup_flow+0xb5/0x170 net/ipv6/ip6_output.c:1231 send6+0x5a7/0xad0 drivers/net/wireguard/socket.c:139 wg_socket_send_skb_to_peer+0x111/0x1d0 drivers/net/wireguard/socket.c:178 wg_packet_send_handshake_response+0x194/0x2d0 drivers/net/wireguard/send.c:103 wg_receive_handshake_packet drivers/net/wireguard/receive.c:161 [inline] wg_packet_handshake_receive_worker+0x619/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