syzbot


INFO: rcu detected stall in vhost_worker

Status: upstream: reported C repro on 2019/07/26 09:38
Reported-by: syzbot+36e93b425cd6eb54fcc1@syzkaller.appspotmail.com
First crash: 1160d, last: 323d

Cause bisection: introduced by (bisect log) :
commit 0ecfebd2b52404ae0c54a878c872bb93363ada36
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Jul 7 22:41:56 2019 +0000

  Linux 5.2

Patch testing requests:
Created Duration User Patch Repo Result
2019/07/26 11:48 18m jasowang@redhat.com patch git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 13bf6d6a OK
2019/07/26 11:42 0m jasowang@redhat.com patch git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 13bf6d6a error
2019/07/26 10:24 0m jasowang@redhat.com patch git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 13bf6d6a error

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10500 ticks this GP) idle=a56/1/0x4000000000000002 softirq=12266/12266 fqs=5250 
	(t=10502 jiffies g=14905 q=12)
NMI backtrace for cpu 0
CPU: 0 PID: 10848 Comm: vhost-10847 Not tainted 5.3.0-rc1-next-20190725 #52
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x23b/0x28b lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree_stall.h:254
 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2736 [inline]
 rcu_sched_clock_irq.cold+0x4dd/0xc13 kernel/rcu/tree.c:2183
 update_process_times+0x32/0x80 kernel/time/timer.c:1639
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:167
 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1296
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x364/0xe40 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1068 [inline]
 smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1093
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:828
 </IRQ>
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:173 [inline]
RIP: 0010:check_memory_region+0x0/0x1a0 mm/kasan/generic.c:192
Code: 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 f2 be f8 00 00 00 48 89 e5 e8 df 60 90 05 5d c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 <48> 85 f6 0f 84 34 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 55 0f b6
RSP: 0018:ffff8880a40bf950 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff8880836a8220 RCX: ffffffff81599777
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880836a8220
RBP: ffff8880a40bf958 R08: 1ffff110106d5044 R09: ffffed10106d5045
R10: ffffed10106d5044 R11: ffff8880836a8223 R12: 0000000000000001
R13: 0000000000000003 R14: ffffed10106d5044 R15: 0000000000000001
 atomic_read include/asm-generic/atomic-instrumented.h:26 [inline]
 virt_spin_lock arch/x86/include/asm/qspinlock.h:83 [inline]
 native_queued_spin_lock_slowpath+0xb7/0x9f0 kernel/locking/qspinlock.c:325
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:642 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:50 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:81 [inline]
 do_raw_spin_lock+0x20e/0x2e0 kernel/locking/spinlock_debug.c:113
 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
 _raw_spin_lock+0x37/0x40 kernel/locking/spinlock.c:151
 spin_lock include/linux/spinlock.h:338 [inline]
 vhost_setup_uaddr drivers/vhost/vhost.c:790 [inline]
 vhost_setup_vq_uaddr drivers/vhost/vhost.c:801 [inline]
 vhost_vq_map_prefetch drivers/vhost/vhost.c:1783 [inline]
 vq_meta_prefetch+0x2a0/0xcb0 drivers/vhost/vhost.c:1804
 handle_rx+0x145/0x1890 drivers/vhost/net.c:1128
 handle_rx_net+0x19/0x20 drivers/vhost/net.c:1270
 vhost_worker+0x2af/0x4d0 drivers/vhost/vhost.c:473
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Crashes (45):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2019/07/26 08:53 linux-next 13bf6d6a51df 732bc5a0 .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/11/08 20:36 upstream e851dfae4371 d29682f1 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-root 2021/11/07 11:27 upstream b5013d084e03 4c1be0be .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-root 2021/11/05 13:25 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-root 2021/11/05 06:44 upstream d4439a1189f9 4c1be0be .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-root 2021/11/04 03:33 upstream ce840177930f 4c1be0be .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-root 2021/11/03 15:03 upstream dcd68326d29b 4c1be0be .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-smack-root 2021/11/03 14:36 upstream dcd68326d29b 4c1be0be .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-smack-root 2021/11/03 10:49 upstream dcd68326d29b 17f3edd2 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-smack-root 2021/11/03 10:12 upstream dcd68326d29b 17f3edd2 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-root 2021/11/02 18:54 upstream cc0356d6a02e 17f3edd2 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce 2021/11/02 17:33 upstream bfc484fe6abb 17f3edd2 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-root 2021/11/02 17:22 upstream cc0356d6a02e 17f3edd2 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-smack-root 2021/11/02 13:23 upstream bfc484fe6abb 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce 2021/11/02 12:18 upstream bfc484fe6abb 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-386 2021/11/02 02:59 upstream e66435936756 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-386 2021/11/02 00:58 upstream e66435936756 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-386 2021/11/02 00:13 upstream e66435936756 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-386 2021/11/01 23:56 upstream e66435936756 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/31 12:26 linux-next bdcc9f6a5682 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/31 12:19 linux-next bdcc9f6a5682 098b5d53 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/28 14:07 linux-next 503f375baa99 be531bb4 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/28 12:46 linux-next 503f375baa99 be531bb4 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/27 13:29 linux-next ae5179317e79 373bf66b .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/27 12:37 linux-next ae5179317e79 373bf66b .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/27 07:55 linux-next 2376e5fe91bc d50eb50a .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/26 12:16 linux-next 2376e5fe91bc d50eb50a .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/20 13:25 linux-next 51dba6e335ff 418a00eb .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/20 08:48 linux-next 51dba6e335ff 466b7db1 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/19 19:24 linux-next 60e8840126bd 466b7db1 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/18 12:57 linux-next 60e8840126bd 0c5d9412 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/18 00:47 linux-next 7c832d2f9b95 0c5d9412 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/17 10:47 linux-next 7c832d2f9b95 0c5d9412 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/15 08:01 linux-next 8006b911c90a aab7690b .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/10/01 09:24 linux-next a25006a77348 1d849ab4 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/09/30 09:43 linux-next c7b4d0e56a1d be530f6c .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/09/30 09:04 linux-next c7b4d0e56a1d be530f6c .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/09/29 14:50 linux-next bf5b1e621a51 be530f6c .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-linux-next-kasan-gce-root 2021/09/28 14:40 linux-next bf5b1e621a51 d82cb927 .config log report info INFO: rcu detected stall in vhost_worker
ci-upstream-kasan-gce-smack-root 2019/12/03 08:19 upstream 596cf45cbf6e ab342da3 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/07/26 16:38 linux-next fde50b96be82 3e5d1beb .config log report
ci-upstream-linux-next-kasan-gce-root 2019/07/26 05:38 linux-next 13bf6d6a51df 732bc5a0 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/07/26 05:30 linux-next 13bf6d6a51df 732bc5a0 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/07/26 05:30 linux-next 13bf6d6a51df 732bc5a0 .config log report
* Struck through repros no longer work on HEAD.