BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 4361 Comm: kworker/1:15 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: wg-crypt-wg1 wg_packet_tx_worker Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __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:3735 [inline] validate_chain kernel/locking/lockdep.c:3756 [inline] __lock_acquire+0x1b30/0x651c kernel/locking/lockdep.c:5012 lock_acquire+0x1f4/0x620 kernel/locking/lockdep.c:5623 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x114/0x1b4 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] rt_add_uncached_list net/ipv4/route.c:1533 [inline] rt_cache_route+0x244/0x32c net/ipv4/route.c:1509 rt_set_nexthop+0x3b8/0x8e0 net/ipv4/route.c:1619 __mkroute_output net/ipv4/route.c:2646 [inline] ip_route_output_key_hash_rcu+0x14c4/0x1f7c net/ipv4/route.c:2842 ip_route_output_key_hash+0x1a4/0x2e4 net/ipv4/route.c:2671 __ip_route_output_key include/net/route.h:126 [inline] ip_route_output_flow+0x3c/0x160 net/ipv4/route.c:2901 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/0x6c4 drivers/net/wireguard/send.c:276 process_one_work+0x79c/0x1140 kernel/workqueue.c:2310 worker_thread+0x8f4/0x101c kernel/workqueue.c:2457 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870