------------[ cut here ]------------ TCP recvmsg seq # bug 2: copied 546DF823, seq 54470036, rcvnxt 5453FD85, fl 40 WARNING: CPU: 1 PID: 22038 at net/ipv4/tcp.c:2649 tcp_recvmsg_locked+0x872/0x3c80 net/ipv4/tcp.c:2647 Modules linked in: CPU: 1 UID: 0 PID: 22038 Comm: syz.1.2132 Not tainted 6.12.0-rc4-syzkaller #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 c0 cc 17 8d 44 89 fe 89 da 44 8b 44 24 3c e8 6f ac 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:ffffc90003da7060 EFLAGS: 00010246 RAX: 4aec97652f282600 RBX: 0000000054470036 RCX: 0000000000040000 RDX: ffffc9000a780000 RSI: 0000000000006926 RDI: 0000000000006927 RBP: ffffc90003da7470 R08: ffffffff8155e402 R09: fffffbfff1cf9fe0 R10: dffffc0000000000 R11: fffffbfff1cf9fe0 R12: 1ffff1100b900343 R13: dffffc0000000000 R14: ffff88805c801a18 R15: 00000000546df823 FS: 00007f5a636c76c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562583bfa950 CR3: 0000000045cc4000 CR4: 0000000000350ef0 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+0x3c6/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:0x7f5a6297dff9 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:00007f5a636c7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007f5a62b36208 RCX: 00007f5a6297dff9 RDX: 0000000000000023 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 00007f5a629f0296 R08: 0000000020000380 R09: 0000000000000000 R10: 0000000020000340 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f5a62b36208 R15: 00007ffc4784c2e8