------------[ cut here ]------------ WARNING: CPU: 1 PID: 13661 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: 13661 Comm: syz-executor.2 Not tainted 6.6.0-rc3-syzkaller-ged4d3054d499 #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 : ffff8000a9fd7960 x29: ffff8000a9fd7af0 x28: ffff0001075b6900 x27: dfff800000000000 x26: ffff0000caea3900 x25: 0000000000004e22 x24: ffff0000c7e7bd40 x23: 0000000000000000 x22: ffff8000929e28c0 x21: 0000000000000000 x20: ffff0000c7e7c3f0 x19: ffff0000c7e7c3f8 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80008051f8c8 x15: 0000000000000202 x14: 0000000000000000 x13: 0000000000000002 x12: 00000000ffff0000 x11: 0000000000040000 x10: 000000000000075a x9 : ffff800097a6c000 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: 387 hardirqs last enabled at (386): [] __local_bh_enable_ip+0x24c/0x4ac kernel/softirq.c:386 hardirqs last disabled at (387): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (378): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (378): [] lock_sock_nested+0xcc/0x11c net/core/sock.c:3512 softirqs last disabled at (380): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (380): [] inet_csk_get_port+0x218/0x156c net/ipv4/inet_connection_sock.c:535 ---[ end trace 0000000000000000 ]---