------------[ cut here ]------------ WARNING: CPU: 1 PID: 9659 at net/ipv4/inet_connection_sock.c:595 inet_csk_get_port+0x1170/0x1364 Modules linked in: CPU: 1 PID: 9659 Comm: syz-executor.3 Not tainted 6.9.0-rc4-syzkaller-g6a71d2909427 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : inet_csk_get_port+0x1170/0x1364 lr : inet_csk_get_port+0x116c/0x1364 net/ipv4/inet_connection_sock.c:595 sp : ffff80009f517b40 x29: ffff80009f517c20 x28: dfff800000000000 x27: ffff0000ce17e280 x26: 0000000000000000 x25: 0000000000000002 x24: ffff800093adfd00 x23: ffff0000ebf5ab00 x22: ffff0000c8935400 x21: ffff0000d32d4848 x20: ffff0000ebf5b198 x19: 0000000000000000 x18: 0000000000000000 x17: ffff80008a33a7cc x16: ffff80008055219c x15: 0000000000000001 x14: 1fffe0001d7eb5db x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000040000 x10: 0000000000000321 x9 : ffff80009ad8b000 x8 : 0000000000000322 x7 : ffff800088fb4d98 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000002 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inet_csk_get_port+0x1170/0x1364 inet_csk_listen_start+0x104/0x2c8 net/ipv4/inet_connection_sock.c:1281 inet_dccp_listen+0x190/0x278 net/dccp/proto.c:951 __sys_listen+0x1b0/0x220 net/socket.c:1881 __do_sys_listen net/socket.c:1890 [inline] __se_sys_listen net/socket.c:1888 [inline] __arm64_sys_listen+0x5c/0x74 net/socket.c:1888 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 1067 hardirqs last enabled at (1066): [] __local_bh_enable_ip+0x224/0x44c kernel/softirq.c:387 hardirqs last disabled at (1067): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (1052): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (1052): [] lock_sock_nested+0xcc/0x11c net/core/sock.c:3542 softirqs last disabled at (1054): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (1054): [] inet_csk_get_port+0x1c8/0x1364 net/ipv4/inet_connection_sock.c:543 ---[ end trace 0000000000000000 ]---