------------[ cut here ]------------ WARNING: CPU: 0 PID: 19171 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: 0 PID: 19171 Comm: syz-executor.5 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+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 72 27 42 f9 84 db 74 98 e9 57 ff ff ff e8 f4 2a 42 f9 <0f> 0b e9 c5 fc ff ff e8 e8 2a 42 f9 0f 0b e9 7d fc ff ff e8 dc 2a RSP: 0018:ffffc90015077be8 EFLAGS: 00010212 RAX: 0000000000000699 RBX: ffff8880775d3e00 RCX: ffffc90005c11000 RDX: 0000000000040000 RSI: ffffffff883def1c RDI: ffff888029faf968 RBP: ffff888029faf960 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000064a4c840 R14: ffff888029faf2c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0063) knlGS:00000000f7f8fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7371378 CR3: 0000000079841000 CR4: 00000000003506f0 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] __ia32_sys_listen+0x54/0x80 net/socket.c:1817 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f94549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f8f5cc EFLAGS: 00000296 ORIG_RAX: 000000000000016b RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi