BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 8079 Comm: kworker/u4:31 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: wg-kex-wg2 wg_packet_handshake_send_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 do_write_seqcount_begin_nested include/linux/seqlock.h:515 [inline] do_write_seqcount_begin include/linux/seqlock.h:541 [inline] psi_group_change+0x240/0x1344 kernel/sched/psi.c:801 psi_task_change+0xec/0x244 kernel/sched/psi.c:924 psi_enqueue kernel/sched/stats.h:143 [inline] enqueue_task kernel/sched/core.c:2055 [inline] activate_task+0x224/0x244 kernel/sched/core.c:2087 ttwu_do_activate+0x150/0x218 kernel/sched/core.c:3699 ttwu_queue kernel/sched/core.c:3904 [inline] try_to_wake_up+0x424/0xc74 kernel/sched/core.c:4227 default_wake_function+0x4c/0x60 kernel/sched/core.c:6885 __pollwake fs/select.c:205 [inline] pollwake+0x158/0x204 fs/select.c:215 __wake_up_common+0x224/0x3b0 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up_sync_key+0x10c/0x178 kernel/sched/wait.c:208 sock_def_readable+0x150/0x278 net/core/sock.c:3313 packet_rcv+0xc20/0x1114 net/packet/af_packet.c:2265 dev_queue_xmit_nit+0x92c/0x9a4 net/core/dev.c:2353 xmit_one net/core/dev.c:3666 [inline] dev_hard_start_xmit+0x108/0x8e0 net/core/dev.c:3686 sch_direct_xmit+0x204/0x480 net/sched/sch_generic.c:342 qdisc_restart net/sched/sch_generic.c:407 [inline] __qdisc_run+0x8c0/0x1368 net/sched/sch_generic.c:415 __dev_xmit_skb net/core/dev.c:3970 [inline] __dev_queue_xmit+0xc18/0x309c net/core/dev.c:4312 dev_queue_xmit include/linux/netdevice.h:3051 [inline] neigh_hh_output include/net/neighbour.h:529 [inline] neigh_output include/net/neighbour.h:543 [inline] ip6_finish_output2+0xd2c/0x1844 net/ipv6/ip6_output.c:138 __ip6_finish_output net/ipv6/ip6_output.c:205 [inline] ip6_finish_output+0x594/0x930 net/ipv6/ip6_output.c:216 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip6_output+0x274/0x500 net/ipv6/ip6_output.c:237 dst_output include/net/dst.h:453 [inline] ip6_local_out+0x120/0x15c net/ipv6/output_core.c:161 ip6tunnel_xmit include/net/ip6_tunnel.h:161 [inline] udp_tunnel6_xmit_skb+0x45c/0x964 net/ipv6/ip6_udp_tunnel.c:109 send6+0x4e4/0x770 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0xf8/0x1a4 drivers/net/wireguard/socket.c:178 wg_socket_send_buffer_to_peer+0xec/0x144 drivers/net/wireguard/socket.c:200 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0x1a4/0x2a0 drivers/net/wireguard/send.c:51 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