BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 4654 Comm: kworker/0:18 Not tainted 6.1.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: wg-crypt-wg0 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 __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:1699 [inline] slab_free_freelist_hook+0x104/0x1ec mm/slub.c:1750 slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x11c/0x324 mm/slub.c:3683 kfree_skbmem+0x10c/0x19c net/core/skbuff.c:-1 __kfree_skb net/core/skbuff.c:871 [inline] consume_skb+0xa8/0x104 net/core/skbuff.c:1035 packet_rcv+0x130/0x1114 net/packet/af_packet.c:2280 dev_queue_xmit_nit+0x92c/0x9a4 net/core/dev.c:2353 xmit_one net/core/dev.c:3654 [inline] dev_hard_start_xmit+0x108/0x8e0 net/core/dev.c:3674 __dev_queue_xmit+0x155c/0x309c net/core/dev.c:4334 dev_queue_xmit include/linux/netdevice.h:3051 [inline] neigh_hh_output include/net/neighbour.h:528 [inline] neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0xd2c/0x1844 net/ipv6/ip6_output.c:138 __ip6_finish_output net/ipv6/ip6_output.c:205 [inline] ip6_finish_output+0x594/0x930 net/ipv6/ip6_output.c:216 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip6_output+0x274/0x500 net/ipv6/ip6_output.c:237 dst_output include/net/dst.h:453 [inline] ip6_local_out+0x120/0x15c net/ipv6/output_core.c:161 ip6tunnel_xmit include/net/ip6_tunnel.h:161 [inline] udp_tunnel6_xmit_skb+0x45c/0x964 net/ipv6/ip6_udp_tunnel.c:109 send6+0x4e4/0x770 drivers/net/wireguard/socket.c:152 wg_socket_send_skb_to_peer+0xf8/0x1a4 drivers/net/wireguard/socket.c:178 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:849