BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 4722 Comm: kworker/u4:7 Not tainted syzkaller #0 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: 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 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:968 [inline] debug_check_no_obj_freed+0x148/0x46c lib/debugobjects.c:1009 slab_free_hook mm/slub.c:1704 [inline] slab_free_freelist_hook+0x104/0x1ec mm/slub.c:1755 slab_free mm/slub.c:3687 [inline] __kmem_cache_free+0xc0/0x224 mm/slub.c:3700 kfree+0xd0/0x1ac mm/slab_common.c:988 skb_free_head net/core/skbuff.c:762 [inline] skb_release_data+0x43c/0x648 net/core/skbuff.c:791 skb_release_all net/core/skbuff.c:856 [inline] __kfree_skb net/core/skbuff.c:870 [inline] kfree_skb_reason+0x198/0x41c net/core/skbuff.c:893 kfree_skb_list_reason+0x50/0x80 net/core/skbuff.c:903 __dev_xmit_skb net/core/dev.c:3976 [inline] __dev_queue_xmit+0x1a64/0x309c net/core/dev.c:4312 dev_queue_xmit include/linux/netdevice.h:3051 [inline] neigh_hh_output include/net/neighbour.h:529 [inline] neigh_output include/net/neighbour.h:543 [inline] ip_finish_output2+0xb9c/0x10a4 net/ipv4/ip_output.c:228 __ip_finish_output+0x1b0/0x448 net/ipv4/ip_output.c:-1 ip_finish_output+0x40/0x268 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x314/0x414 net/ipv4/ip_output.c:430 dst_output include/net/dst.h:453 [inline] ip_local_out+0x120/0x15c net/ipv4/ip_output.c:126 iptunnel_xmit+0x3f8/0x8cc net/ipv4/ip_tunnel_core.c:82 udp_tunnel_xmit_skb+0x1b0/0x2c4 net/ipv4/udp_tunnel_core.c:172 send4+0x7f4/0xbc4 drivers/net/wireguard/socket.c:85 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