------------[ cut here ]------------ WARNING: CPU: 1 PID: 7101 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: 7101 Comm: syz-executor.2 Not tainted 6.6.0-rc6-syzkaller-g78124b0c1d10 #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 : ffff8000976a7960 x29: ffff8000976a7af0 x28: ffff0000ce961380 x27: dfff800000000000 x26: ffff0000ce960800 x25: 0000000000004e22 x24: ffff0000dd3e3100 x23: 0000000000000000 x22: ffff8000929dd8c0 x21: 0000000000000000 x20: ffff0000dd3e37b0 x19: ffff0000dd3e37b8 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000805164e0 x15: 0000000000000202 x14: 0000000000000000 x13: 0000000000000002 x12: 00000000ffff0000 x11: 0000000000040000 x10: 000000000000075a x9 : ffff80009b85a000 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:1883 __do_sys_listen net/socket.c:1892 [inline] __se_sys_listen net/socket.c:1890 [inline] __arm64_sys_listen+0x5c/0x74 net/socket.c:1890 __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+0x54/0x158 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: 389 hardirqs last enabled at (388): [] __local_bh_enable_ip+0x24c/0x4ac kernel/softirq.c:386 hardirqs last disabled at (389): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (380): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (380): [] lock_sock_nested+0xcc/0x11c net/core/sock.c:3512 softirqs last disabled at (382): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (382): [] inet_csk_get_port+0x218/0x156c net/ipv4/inet_connection_sock.c:535 ---[ end trace 0000000000000000 ]---