------------[ cut here ]------------ TCP recvmsg seq # bug 2: copied ED28124E, seq ECFE1B00, rcvnxt ED183D31, fl 40 WARNING: CPU: 0 PID: 5231 at net/ipv4/tcp.c:2649 tcp_recvmsg_locked+0x872/0x3c80 net/ipv4/tcp.c:2647 Modules linked in: CPU: 0 UID: 0 PID: 5231 Comm: syz-executor427 Not tainted 6.12.0-rc3-syzkaller-00152-g3b05b9c36ddd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:tcp_recvmsg_locked+0x872/0x3c80 net/ipv4/tcp.c:2647 Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 37 01 00 00 8b 0a 48 c7 c7 00 c6 17 8d 44 89 fe 89 da 44 8b 44 24 3c e8 5f bf 2e f7 90 <0f> 0b 90 90 4c 8b 7c 24 48 e9 3d ff ff ff 44 89 e1 80 e1 07 80 c1 RSP: 0018:ffffc90003b77060 EFLAGS: 00010246 RAX: 80bb5d9ca0824600 RBX: 00000000ecfe1b00 RCX: ffff88807e560000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003b77470 R08: ffffffff8155e402 R09: fffffbfff1cf9fd8 R10: dffffc0000000000 R11: fffffbfff1cf9fd8 R12: 1ffff1100ef8e22d R13: dffffc0000000000 R14: ffff888077c71168 R15: 00000000ed28124e FS: 000055558897a380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020717000 CR3: 0000000078e8e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: receive_fallback_to_copy net/ipv4/tcp.c:1890 [inline] tcp_zerocopy_receive+0x824/0x25c0 net/ipv4/tcp.c:2122 do_tcp_getsockopt+0x2491/0x3570 net/ipv4/tcp.c:4582 tcp_getsockopt+0xfb/0x1c0 net/ipv4/tcp.c:4672 do_sock_getsockopt+0x3c4/0x7e0 net/socket.c:2396 __sys_getsockopt+0x267/0x330 net/socket.c:2425 __do_sys_getsockopt net/socket.c:2435 [inline] __se_sys_getsockopt net/socket.c:2432 [inline] __x64_sys_getsockopt+0xb5/0xd0 net/socket.c:2432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f396c3850f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffed67dc628 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f396c3850f9 RDX: 0000000000000023 RSI: 0000000000000006 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000020000380 R09: 0000000000000f06 R10: 0000000020000340 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001