BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 4610 Comm: kworker/0:7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: wg-crypt-wg1 wg_packet_tx_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 local_lock_acquire+0x3c/0x98 include/linux/local_lock_internal.h:29 ___slab_alloc+0x1cc/0xe8c mm/slub.c:3099 __slab_alloc+0x74/0xd0 mm/slub.c:3279 slab_alloc_node mm/slub.c:3364 [inline] __kmem_cache_alloc_node+0x298/0x320 mm/slub.c:3437 kmalloc_trace+0x48/0x94 mm/slab_common.c:1026 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] ref_tracker_alloc+0x11c/0x3cc lib/ref_tracker.c:85 __netdev_tracker_alloc include/linux/netdevice.h:4051 [inline] netdev_hold include/linux/netdevice.h:4080 [inline] dst_init+0xc8/0x3c4 net/core/dst.c:52 dst_alloc+0x120/0x170 net/core/dst.c:92 rt_dst_alloc net/ipv4/route.c:1657 [inline] __mkroute_output net/ipv4/route.c:2619 [inline] ip_route_output_key_hash_rcu+0xfe0/0x1e28 net/ipv4/route.c:2841 ip_route_output_key_hash+0x1a8/0x2ec net/ipv4/route.c:2670 __ip_route_output_key include/net/route.h:137 [inline] ip_route_output_flow+0x3c/0x160 net/ipv4/route.c:2900 send4+0x37c/0xbc4 drivers/net/wireguard/socket.c:61 wg_socket_send_skb_to_peer+0xc4/0x1a4 drivers/net/wireguard/socket.c:175 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x19c/0x6c8 drivers/net/wireguard/send.c:276 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