BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 PID: 7851 Comm: syz.1.743 Not tainted 6.1.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __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:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b88/0x7680 kernel/locking/lockdep.c:5049 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] read_seqbegin include/linux/seqlock.h:836 [inline] inet_get_local_port_range+0x10c/0x310 net/ipv4/inet_connection_sock.c:125 inet_sk_get_local_port_range+0xd8/0x3b8 net/ipv4/inet_connection_sock.c:139 __inet_hash_connect+0x22c/0x19c0 net/ipv4/inet_hashtables.c:1014 inet6_hash_connect+0xa8/0x108 net/ipv6/inet6_hashtables.c:331 tcp_v6_connect+0xcd4/0x1764 net/ipv6/tcp_ipv6.c:320 __inet_stream_connect+0x200/0xc70 net/ipv4/af_inet.c:670 inet_stream_connect+0x74/0xb0 net/ipv4/af_inet.c:741 kernel_connect+0x114/0x164 net/socket.c:3555 smc_connect+0x5a8/0xb40 net/smc/af_smc.c:1640 __sys_connect_file net/socket.c:2011 [inline] __sys_connect+0x268/0x290 net/socket.c:2028 __do_sys_connect net/socket.c:2038 [inline] __se_sys_connect net/socket.c:2035 [inline] __arm64_sys_connect+0x7c/0x94 net/socket.c:2035 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585