------------[ cut here ]------------ WARNING: CPU: 1 PID: 7706 at net/ipv4/inet_connection_sock.c:548 inet_csk_get_port+0x174a/0x19e0 Modules linked in: CPU: 1 PID: 7706 Comm: syz-executor.2 Not tainted 6.1.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:inet_csk_get_port+0x174a/0x19e0 net/ipv4/inet_connection_sock.c:548 Code: 4c 8b 64 24 18 44 8b 7c 24 3c e9 90 fa ff ff e8 ac 8b 61 f8 e9 81 fa ff ff e8 a2 8b 61 f8 0f 0b e9 5a fd ff ff e8 96 8b 61 f8 <0f> 0b e9 88 fd ff ff e8 8a 8b 61 f8 31 c0 e9 1e fb ff ff 89 d9 80 RSP: 0018:ffffc9000b36fca0 EFLAGS: 00010287 RAX: ffffffff892b089a RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000b671000 RSI: 000000000000034d RDI: 000000000000034e RBP: ffffc9000b36fe58 R08: ffffffff892ae835 R09: fffffbfff20e863a R10: fffffbfff20e863a R11: 1ffffffff20e8639 R12: ffff888080dbe6a8 R13: ffff88807a016880 R14: ffff888080dbe6a0 R15: 1ffff9200166dfb8 FS: 00007f08ee7d2700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31521000 CR3: 00000000194ee000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_listen_start+0x16f/0x3a0 net/ipv4/inet_connection_sock.c:1205 inet_listen+0x254/0x3a0 net/ipv4/af_inet.c:228 __sys_listen+0x1b0/0x230 net/socket.c:1810 __do_sys_listen net/socket.c:1819 [inline] __se_sys_listen net/socket.c:1817 [inline] __x64_sys_listen+0x56/0x60 net/socket.c:1817 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f08eda8c189 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08ee7d2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007f08edbabf80 RCX: 00007f08eda8c189 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f08edae7b01 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff851ab00f R14: 00007f08ee7d2300 R15: 0000000000022000