------------[ cut here ]------------ WARNING: CPU: 1 PID: 1440 at net/ipv4/inet_connection_sock.c:587 inet_csk_get_port+0x73c/0xb00 net/ipv4/inet_connection_sock.c:586 Modules linked in: CPU: 1 PID: 1440 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:inet_csk_get_port+0x73c/0xb00 net/ipv4/inet_connection_sock.c:587 Code: 48 85 c0 48 89 c3 0f 84 55 01 00 00 44 89 34 24 41 ba 01 00 00 00 45 31 f6 c6 44 24 14 01 e9 96 fe ff ff 0f 0b e9 cb fe ff ff <0f> 0b e9 d8 fe ff ff 48 8b 55 48 48 89 d7 48 0b 7d 50 74 5e 8b 7d RSP: 0018:ffffc90001847de8 EFLAGS: 00010202 RAX: ffff888107aaf200 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff888107699794 RBP: ffff88810b2d0000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000004e22 R13: ffffffff838496c0 R14: 0000000000004e22 R15: ffff888103b68000 FS: 00007f4c6e3f46c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000380 CR3: 00000001086b0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_listen_start+0x78/0xf0 net/ipv4/inet_connection_sock.c:1256 __inet_listen_sk+0x56/0x110 net/ipv4/af_inet.c:217 inet_listen+0x43/0x60 net/ipv4/af_inet.c:239 __sys_listen+0x6f/0xb0 net/socket.c:1866 __do_sys_listen net/socket.c:1875 [inline] __se_sys_listen net/socket.c:1873 [inline] __x64_sys_listen+0xf/0x20 net/socket.c:1873 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4c6e871ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4c6e3f40c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007f4c6e990f80 RCX: 00007f4c6e871ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f4c6e8bd47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f4c6e990f80 R15: 00007fff081ac1a8