syzbot


divide error in tcp_reno_cong_avoid

Status: upstream: reported C repro on 2021/07/25 10:44
Reported-by: syzbot+c2b8f403eb17260e6029@syzkaller.appspotmail.com
First crash: 977d, last: 576d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream divide error in tcp_reno_cong_avoid net C unreliable error 15 713d 1042d 0/26 auto-obsoleted due to no activity on 2022/10/10 12:05
linux-4.19 divide error in tcp_reno_cong_avoid C error 1 923d 1014d 0/1 upstream: reported C repro on 2021/06/18 06:10
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/03/05 01:32 0m retest repro linux-4.14.y error OK
Fix bisection attempts (14)
Created Duration User Patch Repo Result
2022/10/13 02:10 0m bisect fix linux-4.14.y error job log (0)
2022/08/29 21:26 28m bisect fix linux-4.14.y job log (0) log
2022/07/27 15:12 23m bisect fix linux-4.14.y job log (0) log
2022/06/27 14:50 21m bisect fix linux-4.14.y job log (0) log
2022/05/28 14:24 25m bisect fix linux-4.14.y job log (0) log
2022/04/28 13:59 25m bisect fix linux-4.14.y job log (0) log
2022/03/29 13:23 28m bisect fix linux-4.14.y job log (0) log
2022/02/25 14:39 21m bisect fix linux-4.14.y job log (0) log
2022/01/26 14:11 27m bisect fix linux-4.14.y job log (0) log
2021/12/27 13:44 26m bisect fix linux-4.14.y job log (0) log
2021/11/27 12:05 26m bisect fix linux-4.14.y job log (0) log
2021/10/28 11:24 22m bisect fix linux-4.14.y job log (0) log
2021/09/23 11:36 28m bisect fix linux-4.14.y job log (0) log
2021/08/24 10:50 30m bisect fix linux-4.14.y job log (0) log

Sample crash report:
divide error: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 8262 Comm: syz-executor101 Not tainted 4.14.240-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888093fd2280 task.stack: ffff8880ae738000
RIP: 0010:tcp_cong_avoid_ai net/ipv4/tcp_cong.c:426 [inline]
RIP: 0010:tcp_reno_cong_avoid+0x24a/0x2d0 net/ipv4/tcp_cong.c:456
RSP: 0018:ffff8880ae73f718 EFLAGS: 00010246
RAX: 000000000000000d RBX: ffff8880b044f500 RCX: 0000000000000005
RDX: 0000000000000000 RSI: 000000002433d3dc RDI: ffff8880b044fd50
RBP: 0000000000000000 R08: ffff88823fff7058 R09: 0000000000000000
R10: ffff88823fff7057 R11: 00000008c0b25f66 R12: 000000000000000d
R13: 0000000000000001 R14: 00000000ffffffff R15: 0000000000000000
FS:  0000000001cc0300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004b9110 CR3: 000000009a494000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tcp_cdg_cong_avoid+0x13b/0x13f0 net/ipv4/tcp_cdg.c:292
 tcp_cong_avoid net/ipv4/tcp_input.c:3011 [inline]
 tcp_cong_control net/ipv4/tcp_input.c:3352 [inline]
 tcp_ack+0x288d/0x4580 net/ipv4/tcp_input.c:3708
 tcp_rcv_established+0x4fe/0x1810 net/ipv4/tcp_input.c:5572
 tcp_v4_do_rcv+0x541/0x7d0 net/ipv4/tcp_ipv4.c:1476
 sk_backlog_rcv include/net/sock.h:921 [inline]
 __release_sock+0x12a/0x350 net/core/sock.c:2269
 __sk_flush_backlog+0x22/0x30 net/core/sock.c:2289
 sk_flush_backlog include/net/sock.h:1008 [inline]
 tcp_sendmsg_locked+0x2486/0x2ef0 net/ipv4/tcp.c:1296
 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457
 inet_sendmsg+0x11a/0x4e0 net/ipv4/af_inet.c:762
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 SYSC_sendto net/socket.c:1763 [inline]
 SyS_sendto+0x1c7/0x2c0 net/socket.c:1731
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x44ba49
RSP: 002b:00007ffdf1453058 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000044ba49
RDX: 00000000fffffd46 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000001f4
R10: 00000000000081f4 R11: 0000000000000246 R12: 00007ffdf1453080
R13: 00007ffdf1453090 R14: 0000000000007484 R15: 00007ffdf1453070
Code: f5 41 0f 47 ee 45 85 e4 89 ab 4c 08 00 00 0f 85 d5 fe ff ff 5b 5d 41 5c 41 5d 41 5e e9 70 02 3e fb e8 6b 02 3e fb 44 89 e0 31 d2 <f7> f5 41 01 c5 89 93 50 08 00 00 44 89 ab 4c 08 00 00 e9 09 ff 
RIP: tcp_cong_avoid_ai net/ipv4/tcp_cong.c:426 [inline] RSP: ffff8880ae73f718
RIP: tcp_reno_cong_avoid+0x24a/0x2d0 net/ipv4/tcp_cong.c:456 RSP: ffff8880ae73f718
---[ end trace 09444daec56eee3d ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/25 10:43 linux-4.14.y 964f3712e6a7 4d1b57d4 .config console log report syz C ci2-linux-4-14 divide error in tcp_reno_cong_avoid
* Struck through repros no longer work on HEAD.