BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 14 Comm: kworker/u8:1 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: wg-kex-wg1 wg_packet_handshake_send_worker Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3855 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0xf9c/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 ref_tracker_alloc+0x188/0x3dc lib/ref_tracker.c:280 __netdev_tracker_alloc include/linux/netdevice.h:4375 [inline] netdev_hold include/linux/netdevice.h:4404 [inline] dst_init+0xbc/0x3e4 net/core/dst.c:52 dst_alloc+0x118/0x168 net/core/dst.c:93 rt_dst_alloc net/ipv4/route.c:1646 [inline] __mkroute_output net/ipv4/route.c:2650 [inline] ip_route_output_key_hash_rcu+0x102c/0x1dfc net/ipv4/route.c:2870 ip_route_output_key_hash+0x154/0x260 net/ipv4/route.c:2700 __ip_route_output_key include/net/route.h:169 [inline] ip_route_output_flow+0x3c/0x160 net/ipv4/route.c:2927 send4+0x37c/0xc68 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+0x104/0x168 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+0x7e8/0x155c kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3427 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 netdevsim netdevsim3 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim3 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 netdevsim netdevsim6 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim6 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim6 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim6 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50