------------[ cut here ]------------ WARNING: CPU: 1 PID: 10771 at net/ipv4/inet_connection_sock.c:587 inet_csk_get_port+0xf96/0x2350 net/ipv4/inet_connection_sock.c:587 Modules linked in: CPU: 1 PID: 10771 Comm: syz-executor.5 Not tainted 6.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:inet_csk_get_port+0xf96/0x2350 net/ipv4/inet_connection_sock.c:587 Code: 7c 24 08 e8 9c 63 8b 01 31 d2 be 88 01 00 00 48 c7 c7 c0 9d ae 8b e8 69 39 a2 f8 2e 2e 2e 31 c0 e9 04 fe ff ff e8 ea 94 cf f8 <0f> 0b e9 0f f9 ff ff e8 de 94 cf f8 49 8d 7e 48 e8 e5 cd 5a 00 31 RSP: 0018:ffffc90004c4fbf0 EFLAGS: 00010283 RAX: 00000000000007b0 RBX: ffff888026053400 RCX: ffffc9000a652000 RDX: 0000000000040000 RSI: ffffffff88b831c6 RDI: ffff888079335c78 RBP: ffff888079335c70 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888019f0ba80 R13: ffff8880793355c0 R14: 0000000000000000 R15: ffff888026053400 FS: 00007fc377cb76c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59e16cb2e0 CR3: 000000002d5ea000 CR4: 0000000000350ee0 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:1883 __do_sys_listen net/socket.c:1892 [inline] __se_sys_listen net/socket.c:1890 [inline] __x64_sys_listen+0x53/0x80 net/socket.c:1890 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:0x7fc376e7cae9 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:00007fc377cb70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007fc376f9bf80 RCX: 00007fc376e7cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fc376ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc376f9bf80 R15: 00007ffd0a8c1d98