------------[ cut here ]------------ TCP recvmsg seq # bug 2: copied EEEB1E44, seq EEC92536, rcvnxt EED921E6, fl 40 WARNING: CPU: 1 PID: 6649 at net/ipv4/tcp.c:2676 tcp_recvmsg_locked+0x87a/0x3ba0 net/ipv4/tcp.c:2674 Modules linked in: CPU: 1 UID: 0 PID: 6649 Comm: syz.0.16 Not tainted 6.15.0-rc1-syzkaller-00219-g4798cfa2097f #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:tcp_recvmsg_locked+0x87a/0x3ba0 net/ipv4/tcp.c:2674 Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 30 01 00 00 8b 0a 48 c7 c7 20 27 5a 8d 44 89 f6 89 da 44 8b 44 24 4c e8 b7 70 fe f6 90 <0f> 0b 90 90 e9 3d ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 23 RSP: 0018:ffffc90003097060 EFLAGS: 00010246 RAX: 56394e106ea48c00 RBX: 00000000eec92536 RCX: ffff888025f08000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003097470 R08: ffffffff81828a12 R09: fffffbfff1d7a978 R10: dffffc0000000000 R11: fffffbfff1d7a978 R12: ffff88802f7c4ca8 R13: dffffc0000000000 R14: 00000000eeeb1e44 R15: 1ffff11005ef8995 FS: 00007f4f159dd6c0(0000) GS:ffff888125093000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000208d7000 CR3: 00000000257b2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: receive_fallback_to_copy net/ipv4/tcp.c:1918 [inline] tcp_zerocopy_receive+0x881/0x26b0 net/ipv4/tcp.c:2150 do_tcp_getsockopt+0x26b9/0x3850 net/ipv4/tcp.c:4630 tcp_getsockopt+0x105/0x1d0 net/ipv4/tcp.c:4729 do_sock_getsockopt+0x391/0x740 net/socket.c:2357 __sys_getsockopt net/socket.c:2386 [inline] __do_sys_getsockopt net/socket.c:2393 [inline] __se_sys_getsockopt net/socket.c:2390 [inline] __x64_sys_getsockopt+0x2a3/0x370 net/socket.c:2390 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4f1677dff9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4f159dd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007f4f16936058 RCX: 00007f4f1677dff9 RDX: 0000000000000023 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 00007f4f167f0296 R08: 0000000020000380 R09: 0000000000000000 R10: 0000000020000340 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f4f16936058 R15: 00007ffcf4763998