------------[ cut here ]------------ WARNING: CPU: 0 PID: 3374 at net/ipv4/inet_connection_sock.c:548 inet_csk_get_port+0xac8/0xaf0 net/ipv4/inet_connection_sock.c:548 Modules linked in: CPU: 0 PID: 3374 Comm: syz-executor.0 Not tainted 6.1.0-rc6-syzkaller-32662-g6d464646530f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_csk_get_port+0xac8/0xaf0 net/ipv4/inet_connection_sock.c:548 lr : inet_csk_get_port+0xac8/0xaf0 net/ipv4/inet_connection_sock.c:548 sp : ffff800014973c50 x29: ffff800014973cb0 x28: ffff0000c7bd5740 x27: 0000000000000000 x26: ffff000111d38500 x25: ffff80000f1dcd10 x24: 0000000000004e22 x23: ffff0000cb632f00 x22: ffff00011d828000 x21: 0000000000000001 x20: ffff800012174958 x19: ffff000111d38500 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80000dbe6158 x15: ffff000111d7cec0 x14: 00000000000000a8 x13: 00000000ffffffff x12: 0000000000040000 x11: 0000000000000902 x10: ffff800012fbd000 x9 : ffff80000b613c78 x8 : 0000000000000903 x7 : ffff80000b225df4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000002 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inet_csk_get_port+0xac8/0xaf0 net/ipv4/inet_connection_sock.c:548 inet_csk_listen_start+0x80/0x12c net/ipv4/inet_connection_sock.c:1205 inet_listen+0x14c/0x2f4 net/ipv4/af_inet.c:228 __sys_listen+0xfc/0x144 net/socket.c:1810 __do_sys_listen net/socket.c:1819 [inline] __se_sys_listen net/socket.c:1817 [inline] __arm64_sys_listen+0x24/0x38 net/socket.c:1817 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 irq event stamp: 475 hardirqs last enabled at (474): [] __local_bh_enable_ip+0x13c/0x1a4 kernel/softirq.c:401 hardirqs last disabled at (475): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (462): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (462): [] lock_sock_nested+0xc0/0xd8 net/core/sock.c:3454 softirqs last disabled at (464): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (464): [] inet_csk_get_port+0xe0/0xaf0 net/ipv4/inet_connection_sock.c:496 ---[ end trace 0000000000000000 ]---