------------[ cut here ]------------ WARNING: CPU: 1 PID: 15957 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: 1 PID: 15957 Comm: syz-executor.4 Not tainted 6.6.0-rc4-syzkaller-g19af4a4ed414 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/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 : ffff80009d537960 x29: ffff80009d537af0 x28: ffff0000d5feca00 x27: dfff800000000000 x26: ffff0000cf9c6c00 x25: 0000000000004e22 x24: ffff0000cd13b100 x23: 0000000000000000 x22: ffff8000929e28c0 x21: 0000000000000000 x20: ffff0000cd13b7b0 x19: ffff0000cd13b7b8 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80008051f9c4 x15: 0000000000000202 x14: 0000000000000000 x13: 0000000000000002 x12: 00000000ffff0000 x11: 0000000000040000 x10: 000000000000075a x9 : ffff80009a1e9000 x8 : 000000000000075b 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:595 irq event stamp: 537 hardirqs last enabled at (536): [] __local_bh_enable_ip+0x24c/0x4ac kernel/softirq.c:386 hardirqs last disabled at (537): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (528): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (528): [] lock_sock_nested+0xcc/0x11c net/core/sock.c:3512 softirqs last disabled at (530): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (530): [] inet_csk_get_port+0x218/0x156c net/ipv4/inet_connection_sock.c:535 ---[ end trace 0000000000000000 ]---