------------[ cut here ]------------ WARNING: CPU: 1 PID: 12375 at net/ipv4/inet_connection_sock.c:548 inet_csk_get_port+0x17ec/0x2640 net/ipv4/inet_connection_sock.c:548 Modules linked in: CPU: 1 PID: 12375 Comm: syz-executor.4 Not tainted 6.1.0-rc6-syzkaller-00015-gc3eb11fbb826 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:inet_csk_get_port+0x17ec/0x2640 net/ipv4/inet_connection_sock.c:548 Code: 00 00 48 8b 44 24 08 4c 89 e6 48 8b 78 18 e8 3b ad fe ff 31 ff 89 de e8 c2 46 46 f9 84 db 74 98 e9 57 ff ff ff e8 44 4a 46 f9 <0f> 0b e9 c5 fc ff ff e8 38 4a 46 f9 0f 0b e9 7d fc ff ff e8 2c 4a RSP: 0018:ffffc9000411fc08 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88808a8bc980 RCX: 0000000000000000 RDX: ffff888028883a80 RSI: ffffffff8839cfcc RDI: ffff88802c326ca8 RBP: ffff88802c326ca0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000117f7c1d R14: ffff88802c326600 R15: 0000000000000001 FS: 00007f01f09e5700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f01f09a3718 CR3: 00000000206d4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_listen_start+0x142/0x3c0 net/ipv4/inet_connection_sock.c:1205 inet_listen+0x235/0x640 net/ipv4/af_inet.c:228 __sys_listen+0x181/0x250 net/socket.c:1810 __do_sys_listen net/socket.c:1819 [inline] __se_sys_listen net/socket.c:1817 [inline] __x64_sys_listen+0x54/0x80 net/socket.c:1817 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f01efc8c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f01f09e5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007f01efdac050 RCX: 00007f01efc8c0d9 RDX: 0000000000000000 RSI: 00000000000003ff RDI: 0000000000000003 RBP: 00007f01efce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f01efecfb1f R14: 00007f01f09e5300 R15: 0000000000022000