------------[ cut here ]------------ WARNING: CPU: 1 PID: 5047 at net/ipv4/inet_connection_sock.c:587 inet_csk_get_port+0xfa4/0x2360 net/ipv4/inet_connection_sock.c:587 Modules linked in: CPU: 1 PID: 5047 Comm: syz-executor193 Not tainted 6.6.0-rc1-syzkaller-00378-g0b8ef824eede #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:inet_csk_get_port+0xfa4/0x2360 net/ipv4/inet_connection_sock.c:587 Code: 7c 24 08 e8 4e 20 8b 01 31 d2 be 88 01 00 00 48 c7 c7 60 9e ae 8b e8 eb 82 a2 f8 2e 2e 2e 31 c0 e9 04 fe ff ff e8 3c e0 cf f8 <0f> 0b e9 01 f9 ff ff e8 30 e0 cf f8 49 8d 7e 48 e8 b7 f5 5a 00 31 RSP: 0018:ffffc9000398fbf0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880266fe080 RCX: 0000000000000000 RDX: ffff888014f51dc0 RSI: ffffffff88b7f814 RDI: ffff88807de486b8 RBP: ffff88807de486b0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff926092c0 R13: ffff88807de48000 R14: 0000000000000000 R15: ffff8880266fe080 FS: 0000555555b49380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000045ad50 CR3: 0000000074648000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_listen_start+0x155/0x360 net/ipv4/inet_connection_sock.c:1256 __inet_listen_sk+0x1b8/0x5c0 net/ipv4/af_inet.c:217 inet_listen+0x93/0xd0 net/ipv4/af_inet.c:239 __sys_listen+0x194/0x270 net/socket.c:1866 __do_sys_listen net/socket.c:1875 [inline] __se_sys_listen net/socket.c:1873 [inline] __x64_sys_listen+0x53/0x80 net/socket.c:1873 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8c79ffa3e9 Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd6bc38048 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007ffd6bc38218 RCX: 00007f8c79ffa3e9 RDX: 00007f8c79ffa3e9 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f8c7a06d610 R08: 00007ffd6bc38218 R09: 00007ffd6bc38218 R10: 00007ffd6bc38218 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffd6bc38208 R14: 0000000000000001 R15: 0000000000000001