------------[ cut here ]------------ WARNING: CPU: 1 PID: 4227 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: 4227 Comm: syz-executor416 Not tainted 6.1.54-syzkaller #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 : ffff80001e3779a0 x29: ffff80001e377b30 x28: ffff0000d44ba080 x27: dfff800000000000 x26: ffff0000d44bb100 x25: 0000000000004e22 x24: ffff0000d7b20000 x23: 0000000000000000 x22: ffff800019d55ca0 x21: 0000000000000000 x20: ffff0000d7b206b0 x19: ffff0000d7b206b8 x18: 0000000000000278 x17: 0000000000000000 x16: ffff8000084fbac4 x15: 0000000000000000 x14: 0000000000000000 x13: 00000000ffff0000 x12: ffff0000d5830000 x11: ff80800010b96ae4 x10: 0000000000000000 x9 : ffff800010b96ae4 x8 : ffff0000d5830000 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+0x254/0x6d0 net/ipv4/af_inet.c:228 __sys_listen+0x1ac/0x21c net/socket.c:1810 __do_sys_listen net/socket.c:1819 [inline] __se_sys_listen net/socket.c:1817 [inline] __arm64_sys_listen+0x5c/0x74 net/socket.c:1817 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 15591 hardirqs last enabled at (15590): [] __local_bh_enable_ip+0x258/0x4d0 kernel/softirq.c:401 hardirqs last disabled at (15591): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (15582): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (15582): [] lock_sock_nested+0xe8/0x138 net/core/sock.c:3482 softirqs last disabled at (15584): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (15584): [] inet_csk_get_port+0x218/0x156c net/ipv4/inet_connection_sock.c:535 ---[ end trace 0000000000000000 ]---