syzbot


WARNING in tcp_retransmit_timer (2)

Status: closed as invalid on 2023/10/27 14:39
Subsystems: net
[Documentation on labels]
First crash: 522d, last: 288d
Cause bisection: the cause commit could be any of (bisect log):
  73f9b911faa7 kprobes: Use rethook for kretprobe if possible
  f3a112c0c40d x86,rethook,kprobes: Replace kretprobe with rethook on x86
  
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 556d 645d 0/26 closed as invalid on 2022/11/15 19:19
linux-4.14 WARNING in tcp_retransmit_timer C done 215 1685d 1696d 1/1 fixed on 2019/12/09 13:28
android-414 WARNING in tcp_retransmit_timer C 478 1684d 1695d 0/1 public: reported C repro on 2019/09/10 12:00
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/09/26 15:43 28m retest repro upstream OK log
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2023/07/18 11:07 1h49m bisect fix upstream job log (0) log
2023/06/08 03:39 1h06m bisect fix upstream job log (0) log
2023/05/09 02:27 1h11m bisect fix upstream job log (0) log
2023/04/08 20:28 27m bisect fix upstream job log (0) log
2023/03/09 18:52 34m bisect fix upstream job log (0) log
2023/02/07 08:01 34m bisect fix upstream job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at net/ipv4/tcp_timer.c:470 tcp_retransmit_timer+0x19e7/0x3410 net/ipv4/tcp_timer.c:470
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.0-rc6-syzkaller-00251-g0b1dcc2cf55a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:tcp_retransmit_timer+0x19e7/0x3410 net/ipv4/tcp_timer.c:470
Code: 03 0f b6 04 02 40 38 f0 0f 8f 97 fc ff ff 84 c0 0f 84 8f fc ff ff 48 8b 7c 24 18 e8 03 8a 89 f9 e9 80 fc ff ff e8 89 7e 3d f9 <0f> 0b e9 42 eb ff ff e8 7d 7e 3d f9 48 8b 9c 24 c8 00 00 00 48 85
RSP: 0018:ffffc90000007b28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000100
RDX: ffffffff8c2bc9c0 RSI: ffffffff8841be27 RDI: ffff888023af9000
RBP: ffff888023af8d80 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff888023af8eb0
R13: ffffffff8c20f200 R14: 0000000000000000 R15: ffff888023af8db0
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002065c000 CR3: 0000000022971000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 tcp_write_timer_handler net/ipv4/tcp_timer.c:620 [inline]
 tcp_write_timer_handler+0x4e2/0x9f0 net/ipv4/tcp_timer.c:594
 tcp_write_timer+0xa6/0x2b0 net/ipv4/tcp_timer.c:637
 call_timer_fn+0x1da/0x7c0 kernel/time/timer.c:1474
 expire_timers kernel/time/timer.c:1519 [inline]
 __run_timers.part.0+0x6a2/0xaf0 kernel/time/timer.c:1790
 __run_timers kernel/time/timer.c:1768 [inline]
 run_timer_softirq+0xb7/0x1d0 kernel/time/timer.c:1803
 __do_softirq+0x1fb/0xadc kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline]
RIP: 0010:acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:572
Code: 89 de e8 96 31 8f f7 84 db 75 ac e8 1d 35 8f f7 e8 f8 ba 95 f7 66 90 e8 11 35 8f f7 0f 00 2d 7a d8 c0 00 e8 05 35 8f f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 c0 31 8f f7 48 85 db
RSP: 0018:ffffffff8c207d28 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffffffff8c2bc9c0 RSI: ffffffff89f007ab RDI: 0000000000000000
RBP: ffff888017daa064 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
R13: ffff888017daa000 R14: ffff888017daa064 R15: ffff88801ae41004
 acpi_idle_enter+0x368/0x510 drivers/acpi/processor_idle.c:709
 cpuidle_enter_state+0x1af/0xd40 drivers/cpuidle/cpuidle.c:239
 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:356
 call_cpuidle kernel/sched/idle.c:155 [inline]
 cpuidle_idle_call kernel/sched/idle.c:236 [inline]
 do_idle+0x3f7/0x590 kernel/sched/idle.c:303
 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:400
 rest_init+0x16d/0x270 init/main.c:729
 arch_call_rest_init+0x13/0x1c init/main.c:890
 start_kernel+0x477/0x498 init/main.c:1145
 secondary_startup_64_no_verify+0xce/0xdb
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 de                	mov    %ebx,%esi
   2:	e8 96 31 8f f7       	callq  0xf78f319d
   7:	84 db                	test   %bl,%bl
   9:	75 ac                	jne    0xffffffb7
   b:	e8 1d 35 8f f7       	callq  0xf78f352d
  10:	e8 f8 ba 95 f7       	callq  0xf795bb0d
  15:	66 90                	xchg   %ax,%ax
  17:	e8 11 35 8f f7       	callq  0xf78f352d
  1c:	0f 00 2d 7a d8 c0 00 	verw   0xc0d87a(%rip)        # 0xc0d89d
  23:	e8 05 35 8f f7       	callq  0xf78f352d
  28:	fb                   	sti
  29:	f4                   	hlt
* 2a:	9c                   	pushfq <-- trapping instruction
  2b:	5b                   	pop    %rbx
  2c:	81 e3 00 02 00 00    	and    $0x200,%ebx
  32:	fa                   	cli
  33:	31 ff                	xor    %edi,%edi
  35:	48 89 de             	mov    %rbx,%rsi
  38:	e8 c0 31 8f f7       	callq  0xf78f31fd
  3d:	48 85 db             	test   %rbx,%rbx

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/26 15:47 upstream 0b1dcc2cf55a 74a66371 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in tcp_retransmit_timer
* Struck through repros no longer work on HEAD.