------------[ cut here ]------------ WARNING: CPU: 0 PID: 8452 at net/ipv4/inet_connection_sock.c:585 inet_csk_get_port+0x1170/0x1364 Modules linked in: CPU: 0 PID: 8452 Comm: syz-executor.3 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #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:585 sp : ffff800098877b40 x29: ffff800098877c20 x28: dfff800000000000 x27: ffff0000eaf3c180 x26: 0000000000000000 x25: 000000000000b997 x24: 0000000000000001 x23: ffff0000f0528ac0 x22: ffff0000d5bb9280 x21: ffff0000d2a4ff60 x20: ffff0000f0529158 x19: 0000000000000000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800080529618 x15: 0000000000000003 x14: 1fffe0001d5e7832 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 0000000000000325 x9 : ffff80009dff9000 x8 : 0000000000000326 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff0000eaf3c1a4 x4 : ffff0000f0528b18 x3 : ffff8000896ca5f8 x2 : 0000000000000010 x1 : ffff0000f0528b08 x0 : ffff0000eaf3c194 Call trace: inet_csk_get_port+0x1170/0x1364 inet_csk_listen_start+0x104/0x2c8 net/ipv4/inet_connection_sock.c:1256 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: 567 hardirqs last enabled at (566): [] __local_bh_enable_ip+0x224/0x44c kernel/softirq.c:386 hardirqs last disabled at (567): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (552): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (552): [] lock_sock_nested+0xcc/0x11c net/core/sock.c:3530 softirqs last disabled at (554): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (554): [] inet_csk_get_port+0x1c8/0x1364 net/ipv4/inet_connection_sock.c:533 ---[ end trace 0000000000000000 ]---