------------[ cut here ]------------ WARNING: CPU: 0 PID: 3604 at net/ipv4/inet_connection_sock.c:525 inet_csk_get_port+0x1148/0x1ad0 net/ipv4/inet_connection_sock.c:525 Modules linked in: CPU: 0 PID: 3604 Comm: syz-executor341 Not tainted 5.18.0-syzkaller-03023-g7e062cda7d90 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inet_csk_get_port+0x1148/0x1ad0 net/ipv4/inet_connection_sock.c:525 Code: 07 00 00 48 8b 44 24 28 4c 89 ee 48 8b 78 18 e8 2e d1 fe ff e9 0f ff ff ff e8 54 a4 a4 f9 0f 0b e9 ae fa ff ff e8 48 a4 a4 f9 <0f> 0b e9 de fa ff ff e8 3c a4 a4 f9 e8 67 49 9e 01 31 ff 89 c3 89 RSP: 0018:ffffc90002fbfbf8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880237b6080 RCX: 0000000000000000 RDX: ffff888077ea5880 RSI: ffffffff87d51018 RDI: ffff88814bfe1368 RBP: ffff88814bfe1360 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff87d4faf5 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880237b6080 R14: 0000000000000000 R15: ffff88814bfe0cc0 FS: 0000555556467300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000180 CR3: 000000001ad45000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_listen_start+0x13e/0x3c0 net/ipv4/inet_connection_sock.c:1178 inet_listen+0x231/0x640 net/ipv4/af_inet.c:228 __sys_listen+0x17d/0x250 net/socket.c:1810 __do_sys_listen net/socket.c:1819 [inline] __se_sys_listen net/socket.c:1817 [inline] __x64_sys_listen+0x50/0x70 net/socket.c:1817 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f6fd1d2a529 Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffabd7cdb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 000000002000024a RCX: 00007f6fd1d2a529 RDX: ffffffffffffffc0 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000020000257 R08: 000000000000001c R09: 000000000000001c R10: 0000000020000240 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffabd7ce00 R14: 0000000000000000 R15: 0000000000000000