------------[ cut here ]------------ WARNING: CPU: 1 PID: 5492 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: 5492 Comm: syz-executor.3 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 : ffff8000226479a0 x29: ffff800022647b30 x28: ffff0000d007f500 x27: dfff800000000000 x26: ffff0000c98c6480 x25: 0000000000004e22 x24: ffff0000d61bbd40 x23: 0000000000000000 x22: ffff800019d55ca0 x21: 0000000000000000 x20: ffff0000d61bc3f0 x19: ffff0000d61bc3f8 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000084fbac4 x15: 0000000000000000 x14: 0000000000000002 x13: 00000000ffff0000 x12: 0000000000040000 x11: 0000000000000863 x10: ffff80001ee5d000 x9 : ffff800010b96ae4 x8 : 0000000000000864 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: 553 hardirqs last enabled at (552): [] __local_bh_enable_ip+0x258/0x4d0 kernel/softirq.c:401 hardirqs last disabled at (553): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (544): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (544): [] lock_sock_nested+0xe8/0x138 net/core/sock.c:3482 softirqs last disabled at (546): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (546): [] inet_csk_get_port+0x218/0x156c net/ipv4/inet_connection_sock.c:535 ---[ end trace 0000000000000000 ]---