------------[ cut here ]------------ WARNING: CPU: 0 PID: 6354 at net/ipv4/inet_connection_sock.c:587 inet_csk_get_port+0x1374/0x156c net/ipv4/inet_connection_sock.c:587 Modules linked in: CPU: 0 PID: 6354 Comm: syz-executor.0 Not tainted 6.6.0-rc2-syzkaller-g2cf0f7156238 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_csk_get_port+0x1374/0x156c net/ipv4/inet_connection_sock.c:587 lr : inet_csk_get_port+0x1374/0x156c net/ipv4/inet_connection_sock.c:587 sp : ffff8000964c7960 x29: ffff8000964c7af0 x28: ffff0000d11b6180 x27: dfff800000000000 x26: ffff0000d11b7580 x25: 0000000000004e22 x24: ffff0000d7f49880 x23: 0000000000000000 x22: ffff800092382480 x21: 0000000000000000 x20: ffff0000d7f49f30 x19: ffff0000d7f49f38 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80008051ebe8 x15: 0000000000000202 x14: 0000000000000000 x13: 0000000000000000 x12: 00000000ffff0000 x11: 0000000000000202 x10: 0000000000000000 x9 : 0000000000000000 x8 : ffff0000dac58000 x7 : 0000000000000000 x6 : 0000000000000001 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 00000000ffffffff x2 : 00000000ffffffff x1 : 00000000ffffffff x0 : 0000000000000001 Call trace: inet_csk_get_port+0x1374/0x156c net/ipv4/inet_connection_sock.c:587 inet_csk_listen_start+0x104/0x2c8 net/ipv4/inet_connection_sock.c:1256 __inet_listen_sk+0x1cc/0x608 net/ipv4/af_inet.c:217 inet_listen+0xac/0x120 net/ipv4/af_inet.c:239 __sys_listen+0x1ac/0x21c net/socket.c:1866 __do_sys_listen net/socket.c:1875 [inline] __se_sys_listen net/socket.c:1873 [inline] __arm64_sys_listen+0x5c/0x74 net/socket.c:1873 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 343 hardirqs last enabled at (342): [] __local_bh_enable_ip+0x24c/0x4ac kernel/softirq.c:386 hardirqs last disabled at (343): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (334): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (334): [] lock_sock_nested+0xcc/0x11c net/core/sock.c:3512 softirqs last disabled at (336): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (336): [] inet_csk_get_port+0x218/0x156c net/ipv4/inet_connection_sock.c:535 ---[ end trace 0000000000000000 ]---