syzbot


WARNING in tcp_cleanup_rbuf (2)

Status: closed as invalid on 2023/09/21 16:12
Subsystems: net
[Documentation on labels]
First crash: 266d, last: 266d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in tcp_cleanup_rbuf net 1 656d 656d 0/26 auto-obsoleted due to no activity on 2022/10/09 20:14

Sample crash report:
------------[ cut here ]------------
cleanup rbuf bug: copied 59667430 seq 59657909 rcvnxt 59657909
WARNING: CPU: 0 PID: 5647 at net/ipv4/tcp.c:1492 tcp_cleanup_rbuf+0x11a/0x160 net/ipv4/tcp.c:1492
Modules linked in:
CPU: 0 PID: 5647 Comm: syz-executor.3 Not tainted 6.5.0-rc4-syzkaller-00959-g86b7e033d684 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:tcp_cleanup_rbuf+0x11a/0x160 net/ipv4/tcp.c:1492
Code: 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 45 8b 8b 58 08 00 00 89 ea 44 89 f6 48 c7 c7 40 d5 8c 8b e8 56 b4 9d f8 <0f> 0b e8 0f f2 d6 f8 44 89 e6 48 89 df 5b 5d 41 5c 41 5d 41 5e e9
RSP: 0018:ffffc900096c77e8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff88801a7be200 RCX: ffffc9000bba2000
RDX: 0000000000040000 RSI: ffffffff814ce3f6 RDI: 0000000000000001
RBP: 0000000059657909 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 000000000000fb27 R14: 0000000059667430 R15: ffff888032399140
FS:  00007ffb683db6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000021000000 CR3: 000000002a8d8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tcp_recvmsg_locked+0xc20/0x24b0 net/ipv4/tcp.c:2451
 tcp_recvmsg+0x12e/0x670 net/ipv4/tcp.c:2567
 inet_recvmsg+0x114/0x640 net/ipv4/af_inet.c:862
 sock_recvmsg_nosec net/socket.c:1020 [inline]
 sock_recvmsg+0xe2/0x170 net/socket.c:1041
 ____sys_recvmsg+0x21f/0x5c0 net/socket.c:2713
 ___sys_recvmsg+0x115/0x1a0 net/socket.c:2755
 __sys_recvmsg+0x114/0x1e0 net/socket.c:2785
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ffb6767cae9
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:00007ffb683db0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007ffb6779bf80 RCX: 00007ffb6767cae9
RDX: 0000000040010022 RSI: 00000000200006c0 RDI: 0000000000000003
RBP: 00007ffb676c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007ffb6779bf80 R15: 00007ffcfd002c38
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/05 06:40 net-next 86b7e033d684 4ffcc9ef .config console log report info ci-upstream-net-kasan-gce WARNING in tcp_cleanup_rbuf
* Struck through repros no longer work on HEAD.