syzbot


WARNING in tcp_retransmit_timer

Status: fixed on 2019/12/09 13:28
Reported-by: syzbot+cfaf436d5e9137e46c0d@syzkaller.appspotmail.com
Fix commit: ba2ddb43f270 tcp: Don't dequeue SYN/FIN-segments from write-queue
First crash: 1911d, last: 1900d
Fix bisection: fixed by (bisect log) :
commit ba2ddb43f270e6492ccce4fc42fc32c611de8f68
Author: Christoph Paasch <cpaasch@apple.com>
Date: Fri Sep 13 20:08:19 2019 +0000

  tcp: Don't dequeue SYN/FIN-segments from write-queue

  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in tcp_retransmit_timer net C unreliable 8 772d 860d 0/28 closed as invalid on 2022/11/15 19:19
upstream WARNING in tcp_retransmit_timer (2) net syz inconclusive 1 504d 738d 0/28 closed as invalid on 2023/10/27 14:39
android-414 WARNING in tcp_retransmit_timer C 478 1899d 1911d 0/1 public: reported C repro on 2019/09/10 12:00

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready
8021q: adding VLAN 0 to HW filter on device batadv0
IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at net/ipv4/tcp_timer.c:429 tcp_retransmit_timer+0x1ac5/0x2560 net/ipv4/tcp_timer.c:429
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.143 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x138/0x197 lib/dump_stack.c:53
 panic+0x1f2/0x426 kernel/panic.c:182
 __warn.cold+0x2f/0x36 kernel/panic.c:546
 report_bug+0x216/0x254 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:tcp_retransmit_timer+0x1ac5/0x2560 net/ipv4/tcp_timer.c:429
RSP: 0018:ffff8880aef07c88 EFLAGS: 00010206
RAX: ffff8880a9d1c340 RBX: ffff8880a6a2c040 RCX: 0000000000000004
RDX: 0000000000000100 RSI: ffff888087fb484c RDI: ffff888087fb4a18
RBP: ffff8880aef07ce8 R08: 0000000b610c6911 R09: ffff88821fff8048
R10: ffff88821fff8050 R11: 0000000000000001 R12: ffff888087fb4040
R13: ffff888087fb46da R14: ffff888087fb4070 R15: 0000000000000000
 tcp_write_timer_handler+0x479/0x7e0 net/ipv4/tcp_timer.c:579
 tcp_write_timer+0xd8/0x180 net/ipv4/tcp_timer.c:597
 call_timer_fn+0x161/0x670 kernel/time/timer.c:1279
 expire_timers kernel/time/timer.c:1318 [inline]
 __run_timers kernel/time/timer.c:1634 [inline]
 __run_timers kernel/time/timer.c:1602 [inline]
 run_timer_softirq+0x5b4/0x1570 kernel/time/timer.c:1647
 __do_softirq+0x244/0x9a0 kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x160/0x1b0 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x146/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792
 </IRQ>
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
RSP: 0018:ffff8880a9d2fe70 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff0ee2a84 RBX: ffff8880a9d1c340 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880a9d1cbbc
RBP: ffff8880a9d2fe98 R08: 1ffffffff104a601 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff87715410
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880a9d1c340
 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:557
 default_idle_call+0x36/0x90 kernel/sched/idle.c:98
 cpuidle_idle_call kernel/sched/idle.c:156 [inline]
 do_idle+0x262/0x3d0 kernel/sched/idle.c:246
 cpu_startup_entry+0x1b/0x20 kernel/sched/idle.c:351
 start_secondary+0x346/0x4b0 arch/x86/kernel/smpboot.c:272
 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:240
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (215):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/12 04:49 linux-4.14.y e2cd24b62938 f4e53c10 .config console log report syz C ci2-linux-4-14
2019/09/10 19:01 linux-4.14.y e2cd24b62938 a60cb4cd .config console log report syz C ci2-linux-4-14
2019/09/21 05:21 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/21 03:26 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/21 01:12 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/20 21:48 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/20 20:30 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/20 12:52 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/20 11:06 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/20 08:59 linux-4.14.y b10ab5e2c476 d96e88f3 .config console log report ci2-linux-4-14
2019/09/20 06:24 linux-4.14.y b10ab5e2c476 4d3ae0b7 .config console log report ci2-linux-4-14
2019/09/20 04:36 linux-4.14.y b10ab5e2c476 4d3ae0b7 .config console log report ci2-linux-4-14
2019/09/20 00:15 linux-4.14.y b10ab5e2c476 4d3ae0b7 .config console log report ci2-linux-4-14
2019/09/19 22:20 linux-4.14.y b10ab5e2c476 4d3ae0b7 .config console log report ci2-linux-4-14
2019/09/19 21:00 linux-4.14.y b10ab5e2c476 4d3ae0b7 .config console log report ci2-linux-4-14
2019/09/19 19:52 linux-4.14.y b10ab5e2c476 eb940044 .config console log report ci2-linux-4-14
2019/09/19 14:49 linux-4.14.y b10ab5e2c476 eb940044 .config console log report ci2-linux-4-14
2019/09/19 08:36 linux-4.14.y b10ab5e2c476 eb940044 .config console log report ci2-linux-4-14
2019/09/19 01:57 linux-4.14.y 968722f5371a 46c0be24 .config console log report ci2-linux-4-14
2019/09/18 23:11 linux-4.14.y 968722f5371a 46c0be24 .config console log report ci2-linux-4-14
2019/09/18 19:23 linux-4.14.y 968722f5371a 46c0be24 .config console log report ci2-linux-4-14
2019/09/18 16:42 linux-4.14.y 968722f5371a 46c0be24 .config console log report ci2-linux-4-14
2019/09/18 16:15 linux-4.14.y 968722f5371a 46c0be24 .config console log report ci2-linux-4-14
2019/09/18 13:26 linux-4.14.y 968722f5371a 1037b424 .config console log report ci2-linux-4-14
2019/09/18 11:52 linux-4.14.y 968722f5371a c2dcd700 .config console log report ci2-linux-4-14
2019/09/18 10:29 linux-4.14.y 968722f5371a 03e0d245 .config console log report ci2-linux-4-14
2019/09/18 07:01 linux-4.14.y 968722f5371a 03e0d245 .config console log report ci2-linux-4-14
2019/09/18 00:59 linux-4.14.y 968722f5371a 03e0d245 .config console log report ci2-linux-4-14
2019/09/17 23:38 linux-4.14.y 968722f5371a 03e0d245 .config console log report ci2-linux-4-14
2019/09/17 22:20 linux-4.14.y 968722f5371a 13dcda9b .config console log report ci2-linux-4-14
2019/09/17 19:15 linux-4.14.y 968722f5371a 13dcda9b .config console log report ci2-linux-4-14
2019/09/17 16:11 linux-4.14.y 968722f5371a 13dcda9b .config console log report ci2-linux-4-14
2019/09/17 13:52 linux-4.14.y 968722f5371a 13dcda9b .config console log report ci2-linux-4-14
2019/09/17 11:45 linux-4.14.y 968722f5371a 13dcda9b .config console log report ci2-linux-4-14
2019/09/17 06:10 linux-4.14.y 968722f5371a 51ca0454 .config console log report ci2-linux-4-14
2019/09/17 04:53 linux-4.14.y 968722f5371a 51ca0454 .config console log report ci2-linux-4-14
2019/09/17 01:35 linux-4.14.y 968722f5371a 51ca0454 .config console log report ci2-linux-4-14
2019/09/16 22:15 linux-4.14.y 968722f5371a 51ca0454 .config console log report ci2-linux-4-14
2019/09/16 20:59 linux-4.14.y 968722f5371a 51ca0454 .config console log report ci2-linux-4-14
2019/09/16 19:53 linux-4.14.y 968722f5371a 55c50e70 .config console log report ci2-linux-4-14
2019/09/16 18:17 linux-4.14.y 968722f5371a 55c50e70 .config console log report ci2-linux-4-14
2019/09/16 12:46 linux-4.14.y 968722f5371a 55c50e70 .config console log report ci2-linux-4-14
2019/09/16 09:15 linux-4.14.y 968722f5371a 55c50e70 .config console log report ci2-linux-4-14
2019/09/16 08:13 linux-4.14.y 968722f5371a 55c50e70 .config console log report ci2-linux-4-14
2019/09/16 06:52 linux-4.14.y e2cd24b62938 32d59357 .config console log report ci2-linux-4-14
2019/09/10 11:08 linux-4.14.y e2cd24b62938 a60cb4cd .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.