------------[ cut here ]------------ WARNING: CPU: 0 PID: 8220 at net/ipv4/inet_connection_sock.c:595 inet_csk_get_port+0x1170/0x1364 Modules linked in: CPU: 0 PID: 8220 Comm: syz-executor.2 Not tainted 6.9.0-rc6-syzkaller-g78186bd77b47 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (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 : ffff8000a97e7b40 x29: ffff8000a97e7c20 x28: dfff800000000000 x27: ffff0000c3d7b280 x26: 0000000000000000 x25: 0000000000004e23 x24: ffff800093b00c80 x23: ffff0000ec1be0c0 x22: ffff0000d2bf2380 x21: ffff0000d35bfd68 x20: ffff0000ec1be758 x19: 0000000000000000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800080553b08 x15: 0000000000000001 x14: 1fffe0001d837c93 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000040000 x10: 00000000000002d3 x9 : ffff80009d559000 x8 : 00000000000002d4 x7 : ffff800088fc7444 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: 297 hardirqs last enabled at (296): [] __local_bh_enable_ip+0x224/0x44c kernel/softirq.c:387 hardirqs last disabled at (297): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (284): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (284): [] lock_sock_nested+0xcc/0x11c net/core/sock.c:3542 softirqs last disabled at (286): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (286): [] inet_csk_get_port+0x1c8/0x1364 net/ipv4/inet_connection_sock.c:543 ---[ end trace 0000000000000000 ]---