BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 0 PID: 5340 Comm: kworker/u4:16 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/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 seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] read_mems_allowed_begin include/linux/cpuset.h:153 [inline] get_any_partial mm/slub.c:2292 [inline] get_partial mm/slub.c:2334 [inline] ___slab_alloc+0x82c/0xec8 mm/slub.c:3131 __slab_alloc+0x74/0xd0 mm/slub.c:3240 slab_alloc_node mm/slub.c:3325 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x2a0/0x318 mm/slub.c:3383 dst_alloc+0xf8/0x170 net/core/dst.c:88 rt_dst_alloc net/ipv4/route.c:1657 [inline] __mkroute_output net/ipv4/route.c:2623 [inline] ip_route_output_key_hash_rcu+0xff4/0x1e3c net/ipv4/route.c:2845 ip_route_output_key_hash+0x1a8/0x2ec net/ipv4/route.c:2674 __ip_route_output_key include/net/route.h:137 [inline] ip_route_output_flow+0x3c/0x160 net/ipv4/route.c:2904 send4+0x37c/0xbc4 drivers/net/wireguard/socket.c:61 wg_socket_send_skb_to_peer+0xc4/0x1a4 drivers/net/wireguard/socket.c:175 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