syzbot


WARNING in tcp_mtup_probe_success

Status: fixed on 2023/02/24 13:50
Subsystems: net
[Documentation on labels]
Fix commit: 11825765291a tcp: fix tcp_mtup_probe_success vs wrong snd_cwnd
First crash: 868d, last: 862d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 24520 at include/net/tcp.h:1219 tcp_mtup_probe_success+0x366/0x570 net/ipv4/tcp_input.c:2712
Modules linked in:
CPU: 0 PID: 24520 Comm: syz-executor.5 Not tainted 5.18.0-syzkaller-11817-g8171acb8bc9b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcp_snd_cwnd_set include/net/tcp.h:1219 [inline]
RIP: 0010:tcp_mtup_probe_success+0x366/0x570 net/ipv4/tcp_input.c:2712
Code: 74 08 48 89 ef e8 7a 8b 15 f9 48 8b 45 00 65 48 ff 80 80 03 00 00 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 8a a4 c2 f8 <0f> 0b e9 16 fe ff ff 48 8b 4c 24 08 80 e1 07 38 c1 0f 8c c7 fc ff
RSP: 0018:ffffc90004baf2d8 EFLAGS: 00010287
RAX: ffffffff88c4e866 RBX: ffff88807633e7c0 RCX: 0000000000040000
RDX: ffffc9000e2d9000 RSI: 0000000000006b83 RDI: 0000000000006b84
RBP: 0000000000000000 R08: ffffffff88c4e676 R09: ffffc90004baf700
R10: ffffed100e8fc48d R11: 1ffff1100e8fc48c R12: 1ffff1100ec67cf8
R13: ffff88807633e000 R14: 1ffff1100ec67d31 R15: dffffc0000000000
FS:  00007f4a5d5d9700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000b038 CR3: 000000002a6b4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tcp_clean_rtx_queue+0x223a/0x2da0 net/ipv4/tcp_input.c:3356
 tcp_ack+0x1962/0x3c90 net/ipv4/tcp_input.c:3861
 tcp_rcv_established+0x7c8/0x1ac0 net/ipv4/tcp_input.c:5973
 tcp_v4_do_rcv+0x479/0xa60 net/ipv4/tcp_ipv4.c:1659
 sk_backlog_rcv include/net/sock.h:1061 [inline]
 __release_sock+0x1d8/0x4c0 net/core/sock.c:2849
 __sk_flush_backlog+0x22/0x30 net/core/sock.c:2869
 sk_flush_backlog include/net/sock.h:1151 [inline]
 tcp_sendmsg_locked+0x30c6/0x3fc0 net/ipv4/tcp.c:1293
 tcp_sendmsg+0x2c/0x40 net/ipv4/tcp.c:1448
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 __sys_sendto+0x439/0x5c0 net/socket.c:2119
 __do_sys_sendto net/socket.c:2131 [inline]
 __se_sys_sendto net/socket.c:2127 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2127
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f4a5c489109
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4a5d5d9168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f4a5c59c100 RCX: 00007f4a5c489109
RDX: 0000000020000581 RSI: 0000000020000580 RDI: 0000000000000003
RBP: 00007f4a5c4e308d R08: 0000000000000000 R09: 0000000000000000
R10: 000000000400c040 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd9d6e577f R14: 00007f4a5d5d9300 R15: 0000000000022000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/02 00:50 upstream 8171acb8bc9b b4bc6a3d .config console log report info ci-upstream-kasan-gce-smack-root WARNING in tcp_mtup_probe_success
2022/06/01 11:09 upstream 700170bf6b4d 3666edfe .config console log report info ci-upstream-kasan-gce-smack-root WARNING in tcp_mtup_probe_success
2022/05/26 22:50 upstream babf0bb978e3 3037caa9 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in tcp_mtup_probe_success
* Struck through repros no longer work on HEAD.