BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 PID: 7561 Comm: syz.2.903 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3735 [inline] validate_chain kernel/locking/lockdep.c:3756 [inline] __lock_acquire+0x1b64/0x7638 kernel/locking/lockdep.c:5012 lock_acquire+0x240/0x77c kernel/locking/lockdep.c:5623 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x124/0x1c4 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] nf_nat_setup_info+0x16c4/0x2128 net/netfilter/nf_nat_core.c:632 __nf_nat_alloc_null_binding net/netfilter/nf_nat_core.c:664 [inline] nf_nat_alloc_null_binding net/netfilter/nf_nat_core.c:670 [inline] nf_nat_inet_fn+0x714/0xa3c net/netfilter/nf_nat_core.c:749 nf_nat_ipv6_fn+0x220/0x32c net/netfilter/nf_nat_proto.c:937 nf_nat_ipv6_out+0x44/0x320 net/netfilter/nf_nat_proto.c:966 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xc8/0x1f4 net/netfilter/core.c:584 nf_hook+0x264/0x3f4 include/linux/netfilter.h:257 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip6_output+0x240/0x594 net/ipv6/ip6_output.c:234 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ip6_xmit+0x1114/0x1afc net/ipv6/ip6_output.c:338 inet6_csk_xmit+0x3b8/0x61c net/ipv6/inet6_connection_sock.c:135 __tcp_transmit_skb+0x1944/0x31e8 net/ipv4/tcp_output.c:1402 tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline] tcp_connect+0x1a94/0x3f38 net/ipv4/tcp_output.c:3891 tcp_v6_connect+0x1010/0x1878 net/ipv6/tcp_ipv6.c:337 __inet_stream_connect+0x204/0xc00 net/ipv4/af_inet.c:674 inet_stream_connect+0x74/0xb0 net/ipv4/af_inet.c:738 mptcp_stream_connect+0x648/0x9b4 net/mptcp/protocol.c:3434 __sys_connect_file net/socket.c:1923 [inline] __sys_connect+0x268/0x290 net/socket.c:1940 __do_sys_connect net/socket.c:1950 [inline] __se_sys_connect net/socket.c:1947 [inline] __arm64_sys_connect+0x7c/0x94 net/socket.c:1947 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584