------------[ cut here ]------------ WARNING: CPU: 1 PID: 5605 at net/ipv4/inet_connection_sock.c:587 inet_csk_get_port+0x17ca/0x1a00 Modules linked in: CPU: 1 PID: 5605 Comm: syz-executor.4 Not tainted 6.6.0-rc6-syzkaller-00039-g06dc10eae55b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:inet_csk_get_port+0x17ca/0x1a00 net/ipv4/inet_connection_sock.c:587 Code: e9 b9 fa ff ff e8 16 aa 4c f8 e9 af fa ff ff e8 0c aa 4c f8 e9 aa fa ff ff e8 02 aa 4c f8 0f 0b e9 61 fd ff ff e8 f6 a9 4c f8 <0f> 0b e9 8e fd ff ff e8 ea a9 4c f8 e9 f4 f8 ff ff 89 d9 80 e1 07 RSP: 0018:ffffc9000652fb80 EFLAGS: 00010283 RAX: ffffffff894163ba RBX: ffff8880297268b8 RCX: 0000000000040000 RDX: ffffc90003d31000 RSI: 0000000000000385 RDI: 0000000000000386 RBP: ffffc9000652fd38 R08: ffffffff8941360f R09: ffffffff899f3234 R10: 0000000000000002 R11: ffff8880224e5940 R12: 0000000000004e01 R13: ffff88802617c580 R14: ffff8880297268b0 R15: ffff88802617b400 FS: 00007ffa397b06c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a8d575198 CR3: 0000000079f80000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_listen_start+0x130/0x310 net/ipv4/inet_connection_sock.c:1256 __inet_listen_sk+0x252/0x720 net/ipv4/af_inet.c:217 inet_listen+0xa3/0x100 net/ipv4/af_inet.c:239 __sys_listen+0x1ae/0x230 net/socket.c:1883 __do_sys_listen net/socket.c:1892 [inline] __se_sys_listen net/socket.c:1890 [inline] __x64_sys_listen+0x5a/0x70 net/socket.c:1890 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ffa38a7cae9 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:00007ffa397b00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007ffa38b9bf80 RCX: 00007ffa38a7cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffa38ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ffa38b9bf80 R15: 00007fffe27545f8