BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 29541 Comm: kworker/u4:4 Not tainted 5.6.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 add_chain_cache kernel/locking/lockdep.c:2840 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:2914 [inline] validate_chain kernel/locking/lockdep.c:2935 [inline] __lock_acquire.cold+0x263/0x288 kernel/locking/lockdep.c:3954 lock_acquire+0x197/0x420 kernel/locking/lockdep.c:4484 write_seqcount_begin_nested include/linux/seqlock.h:377 [inline] write_seqcount_begin include/linux/seqlock.h:382 [inline] psi_group_change kernel/sched/psi.c:690 [inline] psi_task_change+0x276/0x9f0 kernel/sched/psi.c:781 psi_enqueue kernel/sched/stats.h:82 [inline] enqueue_task kernel/sched/core.c:1303 [inline] activate_task+0x20f/0x470 kernel/sched/core.c:1329 ttwu_do_activate+0xca/0x130 kernel/sched/core.c:2260 ttwu_queue kernel/sched/core.c:2405 [inline] try_to_wake_up+0xace/0x17c0 kernel/sched/core.c:2639 autoremove_wake_function+0x12/0x140 kernel/sched/wait.c:389 receiver_wake_function+0x4c/0x70 net/core/datagram.c:83 __wake_up_common+0x147/0x650 kernel/sched/wait.c:93 __wake_up_common_lock+0xd0/0x130 kernel/sched/wait.c:123 sock_def_readable+0x129/0x4d0 net/core/sock.c:2819 packet_rcv+0xcb9/0x13e0 net/packet/af_packet.c:2139 dev_queue_xmit_nit+0x7e6/0xa10 net/core/dev.c:2276 xmit_one net/core/dev.c:3473 [inline] dev_hard_start_xmit+0xbb/0x9b0 net/core/dev.c:3493 __dev_queue_xmit+0x25e1/0x3090 net/core/dev.c:4052 neigh_output include/net/neighbour.h:510 [inline] ip6_finish_output2+0x1091/0x25b0 net/ipv6/ip6_output.c:117 __ip6_finish_output+0x442/0xab0 net/ipv6/ip6_output.c:143 ip6_finish_output+0x34/0x1f0 net/ipv6/ip6_output.c:153 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip6_output+0x239/0x810 net/ipv6/ip6_output.c:176 dst_output include/net/dst.h:435 [inline] ip6_local_out+0xaf/0x1a0 net/ipv6/output_core.c:179 ip6tunnel_xmit include/net/ip6_tunnel.h:160 [inline] udp_tunnel6_xmit_skb+0x6f4/0xcd0 net/ipv6/ip6_udp_tunnel.c:114 send6+0x4e3/0xb20 drivers/net/wireguard/socket.c:164 wg_socket_send_skb_to_peer drivers/net/wireguard/socket.c:189 [inline] wg_socket_send_buffer_to_peer+0x202/0x350 drivers/net/wireguard/socket.c:211 wg_packet_send_handshake_initiation+0x1fc/0x240 drivers/net/wireguard/send.c:40 wg_packet_handshake_send_worker+0x18/0x30 drivers/net/wireguard/send.c:51 process_one_work+0x94b/0x1690 kernel/workqueue.c:2266 worker_thread+0x96/0xe20 kernel/workqueue.c:2412 kthread+0x357/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352