BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: wg-kex-wg0 wg_packet_handshake_receive_worker Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b40/0x6544 kernel/locking/lockdep.c:5049 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662 _raw_spin_lock_nested+0x5c/0x78 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1645 [inline] ttwu_queue kernel/sched/core.c:3902 [inline] try_to_wake_up+0x3f0/0xc74 kernel/sched/core.c:4227 wake_up_process+0x18/0x24 kernel/sched/core.c:4361 swake_up_locked kernel/sched/swait.c:29 [inline] swake_up_one+0x70/0x134 kernel/sched/swait.c:52 swake_up_one_online+0xe8/0x1e0 kernel/rcu/tree.c:1082 __rcu_report_exp_rnp+0x5e8/0x79c kernel/rcu/tree_exp.h:202 rcu_report_exp_cpu_mult+0xec/0x4a0 kernel/rcu/tree_exp.h:251 rcu_report_exp_rdp kernel/rcu/tree_exp.h:260 [inline] rcu_preempt_deferred_qs_irqrestore+0x158/0xd3c kernel/rcu/tree_plugin.h:506 rcu_preempt_deferred_qs kernel/rcu/tree_plugin.h:607 [inline] rcu_note_context_switch+0x25c/0x1064 kernel/rcu/tree_plugin.h:344 __schedule+0x2a4/0x1b18 kernel/sched/core.c:6460 preempt_schedule_common+0xec/0x1a0 kernel/sched/core.c:6730 preempt_schedule+0x64/0x84 kernel/sched/core.c:6754 __local_bh_enable_ip+0x21c/0x380 kernel/softirq.c:428 __raw_read_unlock_bh include/linux/rwlock_api_smp.h:257 [inline] _raw_read_unlock_bh+0x48/0x58 kernel/locking/spinlock.c:284 wg_socket_send_skb_to_peer+0x154/0x1a4 drivers/net/wireguard/socket.c:184 wg_socket_send_buffer_to_peer+0xec/0x144 drivers/net/wireguard/socket.c:200 wg_packet_send_handshake_response+0x15c/0x24c drivers/net/wireguard/send.c:103 wg_receive_handshake_packet drivers/net/wireguard/receive.c:154 [inline] wg_packet_handshake_receive_worker+0x4fc/0xc18 drivers/net/wireguard/receive.c:213 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850