------------[ cut here ]------------ TCP recvmsg seq # bug 2: copied ACB515E9, seq AC8B1E9B, rcvnxt AC8C1F62, fl 40 WARNING: CPU: 2 PID: 6304 at net/ipv4/tcp.c:2415 tcp_recvmsg_locked+0xaeb/0x2700 net/ipv4/tcp.c:2415 Modules linked in: CPU: 2 PID: 6304 Comm: syz-executor.1 Not tainted 6.10.0-rc4-syzkaller-00283-g563a50672d8a #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:tcp_recvmsg_locked+0xaeb/0x2700 net/ipv4/tcp.c:2415 Code: 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ab 18 00 00 48 8b 04 24 89 da 48 c7 c7 40 36 5d 8c 44 8b 44 24 34 8b 30 e8 f6 ad ff f7 90 <0f> 0b 90 90 e9 02 fa ff ff e8 87 94 3d f8 49 8d 5c 24 60 be 08 00 RSP: 0018:ffffc90003317408 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 00000000ac8b1e9b RCX: ffffc9002a614000 RDX: 0000000000040000 RSI: ffffffff81500076 RDI: 0000000000000001 RBP: ffff88802b13f7f4 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802b13f7e8 R13: ffff88802b13f7c0 R14: 000000000000ffcb R15: dffffc0000000000 FS: 00007ff0e27bf6c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020db5000 CR3: 000000002a74a000 CR4: 0000000000350ef0 Call Trace: receive_fallback_to_copy net/ipv4/tcp.c:1884 [inline] tcp_zerocopy_receive+0x13b5/0x2520 net/ipv4/tcp.c:2116 do_tcp_getsockopt+0x1803/0x2970 net/ipv4/tcp.c:4318 tcp_getsockopt net/ipv4/tcp.c:4408 [inline] tcp_getsockopt+0xdf/0x100 net/ipv4/tcp.c:4399 do_sock_getsockopt+0x2e5/0x760 net/socket.c:2374 __sys_getsockopt+0x1a1/0x270 net/socket.c:2403 __do_sys_getsockopt net/socket.c:2413 [inline] __se_sys_getsockopt net/socket.c:2410 [inline] __x64_sys_getsockopt+0xbd/0x160 net/socket.c:2410 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff0e1a7cee9 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:00007ff0e27bf0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007ff0e1bac050 RCX: 00007ff0e1a7cee9 RDX: 0000000000000023 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 00007ff0e1ac949e R08: 0000000020000380 R09: 0000000000000000 R10: 0000000020000340 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff0e1bac050 R15: 00007ffef9394fa8