syzbot


kernel BUG at net/ipv4/tcp_output.c:LINE!

Status: fixed on 2017/11/07 20:45
Fix commit: b1ed4c4fa9a5 tcp: add an ability to dump and restore window parameters
First crash: 2418d, last: 2404d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 kernel BUG at net/ipv4/tcp_output.c:LINE! C 5 2148d 1828d 0/2 public: reported C repro on 2019/04/11 08:44
upstream kernel BUG at net/ipv4/tcp_output.c:LINE! (2) net syz 23 2167d 2273d 5/26 fixed on 2018/06/07 13:52
android-49 kernel BUG at net/ipv4/tcp_output.c:LINE! 5 2211d 2270d 0/3 auto-closed as invalid on 2019/02/22 14:50

Sample crash report:
Use struct sctp_assoc_value instead
------------[ cut here ]------------
kernel BUG at net/ipv4/tcp_output.c:2817!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 2988 Comm: syz-fuzzer Not tainted 4.13.0+ #43
sctp: [Deprecated]: syz-executor0 (pid 10233) Use of int in maxseg socket option.
Use struct sctp_assoc_value instead
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801cf3cc000 task.stack: ffff8801ce9f0000
RIP: 0010:__tcp_retransmit_skb+0x1d18/0x1fa0 net/ipv4/tcp_output.c:2817
RSP: 0000:ffff8801db3072a8 EFLAGS: 00010206
RAX: ffff8801cf3cc000 RBX: 0000000000000001 RCX: 000000002221cf16
RDX: 0000000000000100 RSI: ffff8801c5b252c0 RDI: ffff8801c5b252ec
RBP: ffff8801db307468 R08: ffff88021fff905c R09: ffff88021fff9048
R10: 0000000000000000 R11: ffff88021fff905d R12: ffff8801c5b25346
R13: 000000002221d2a6 R14: ffff8801c5b252c0 R15: ffff8801c791a300
FS:  00007f4ce15b1700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005598452861d8 CR3: 00000001ce088000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 tcp_retransmit_skb+0x2e/0x230 net/ipv4/tcp_output.c:2891
 tcp_retransmit_timer+0xcee/0x2a10 net/ipv4/tcp_timer.c:476
 tcp_write_timer_handler+0x335/0x810 net/ipv4/tcp_timer.c:561
 tcp_write_timer+0x146/0x160 net/ipv4/tcp_timer.c:579
 call_timer_fn+0x246/0x850 kernel/time/timer.c:1281
 expire_timers kernel/time/timer.c:1320 [inline]
 __run_timers+0x7fd/0xb90 kernel/time/timer.c:1620
 run_timer_softirq+0x4c/0xb0 kernel/time/timer.c:1646
 __do_softirq+0x2bb/0xbd0 kernel/softirq.c:284
 invoke_softirq kernel/softirq.c:364 [inline]
 irq_exit+0x1d3/0x210 kernel/softirq.c:405
 exiting_irq arch/x86/include/asm/apic.h:638 [inline]
 smp_apic_timer_interrupt+0x177/0x710 arch/x86/kernel/apic/apic.c:1048
 apic_timer_interrupt+0x9d/0xb0 arch/x86/entry/entry_64.S:770
 </IRQ>
RIP: 0033:0x72cc15
RSP: 002b:000000c42a4c9630 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff10
RAX: 000000c42aae41b0 RBX: 000000c42aae3350 RCX: 000000c42aae3320
RDX: 0000000000a75c20 RSI: 000000000072cc10 RDI: 000000c42aae41b0
RBP: 000000c42a4c9698 R08: 000000c42aadc8c0 R09: 000000c42aae41f0
R10: 0000000000727e60 R11: 00000000ffffffff R12: 000000c42a3ff323
R13: 0000000000000001 R14: 0000000000000033 R15: 0000000000000003
Code: ff e8 7d a5 93 fd e9 4b fb ff ff 48 8b bd a0 fe ff ff e8 cc a5 93 fd e9 fc f8 ff ff e8 c2 a5 93 fd e9 53 f6 ff ff e8 98 f3 5e fd <0f> 0b e8 b1 a5 93 fd e9 9e e5 ff ff 4c 89 e7 e8 44 a5 93 fd e9 
RIP: __tcp_retransmit_skb+0x1d18/0x1fa0 net/ipv4/tcp_output.c:2817 RSP: ffff8801db3072a8
---[ end trace 66b9d8b7568a6f05 ]---

Crashes (37):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/09/12 08:52 net-next-old ad9a19d00370 96b8e399 .config console log report ci-upstream-net-kasan-gce
2017/09/11 03:27 net-next-old ad9a19d00370 96b8e399 .config console log report ci-upstream-net-kasan-gce
2017/09/10 14:10 net-next-old ad9a19d00370 96b8e399 .config console log report ci-upstream-net-kasan-gce
2017/09/10 00:40 net-next-old ad9a19d00370 96b8e399 .config console log report ci-upstream-net-kasan-gce
2017/09/08 14:52 net-next-old 80cee03bf1d6 d18bfda0 .config console log report ci-upstream-net-kasan-gce
2017/09/07 18:27 net-next-old 80cee03bf1d6 d18bfda0 .config console log report ci-upstream-net-kasan-gce
2017/09/07 07:15 net-next-old 80cee03bf1d6 d18bfda0 .config console log report ci-upstream-net-kasan-gce
2017/09/06 19:05 net-next-old 66bed8465a80 0ed1da4a .config console log report ci-upstream-net-kasan-gce
2017/09/06 15:45 net-next-old 66bed8465a80 0ed1da4a .config console log report ci-upstream-net-kasan-gce
2017/09/05 00:34 net-next-old 45865dabb14c f400a0da .config console log report ci-upstream-net-kasan-gce
2017/09/04 08:02 net-next-old 3cf2e08f5ace f400a0da .config console log report ci-upstream-net-kasan-gce
2017/09/04 00:36 net-next-old 942e7e5fc1ea a54dce00 .config console log report ci-upstream-net-kasan-gce
2017/09/02 23:50 net-next-old 32d9b70a053a a54dce00 .config console log report ci-upstream-net-kasan-gce
2017/09/02 15:41 net-next-old 32d9b70a053a a54dce00 .config console log report ci-upstream-net-kasan-gce
2017/09/02 08:53 net-next-old 4cc5b44b29a9 aa51461a .config console log report ci-upstream-net-kasan-gce
2017/09/01 23:48 net-next-old 8fd682072335 70ab363e .config console log report ci-upstream-net-kasan-gce
2017/08/31 19:52 net-next-old acfb98b99647 5a093b74 .config console log report ci-upstream-net-kasan-gce
2017/08/31 00:16 net-next-old d081a16db80e 1d000225 .config console log report ci-upstream-net-kasan-gce
2017/08/30 04:45 net-next-old c8488a8ad7c2 be291771 .config console log report ci-upstream-net-kasan-gce
2017/08/29 18:57 net-next-old c8488a8ad7c2 be291771 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.