syzbot


INFO: rcu detected stall in smp_call_function_single (2)

Status: closed as invalid on 2018/09/05 12:51
Subsystems: kernel
[Documentation on labels]
First crash: 2076d, last: 2052d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in smp_call_function_single kernel 4 2126d 2165d 0/26 closed as invalid on 2018/07/20 09:38
android-49 INFO: rcu detected stall in smp_call_function_single 1 2075d 2075d 0/3 auto-closed as invalid on 2019/02/22 15:22

Sample crash report:
rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
rcu: 	(detected by 1, t=105002 jiffies, g=51613, q=89)
rcu: All QSes seen, last rcu_sched kthread activity 105002 (4295090973-4294985971), jiffies_till_next_fqs=3, root ->qsmask 0x0
syz-executor3   R  running task    22176  7411   4717 0x8000000a
Call Trace:
 <IRQ>
 sched_show_task.cold.85+0x273/0x2d5 kernel/sched/core.c:5296
 print_other_cpu_stall.cold.79+0x8e0/0x91d kernel/rcu/tree.c:1430
 check_cpu_stall kernel/rcu/tree.c:1557 [inline]
 __rcu_pending kernel/rcu/tree.c:3276 [inline]
 rcu_pending kernel/rcu/tree.c:3319 [inline]
 rcu_check_callbacks+0x986/0x15a0 kernel/rcu/tree.c:2665
 update_process_times+0x2d/0x70 kernel/time/timer.c:1636
 tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164
 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x3eb/0xff0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1029 [inline]
 smp_apic_timer_interrupt+0x16d/0x6a0 arch/x86/kernel/apic/apic.c:1054
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:864
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x14/0x50 kernel/kcov.c:94
Code: 4a 89 74 10 e8 4a 89 54 10 f0 4a 89 4c d8 20 4c 89 08 5d c3 66 90 55 65 48 8b 04 25 40 ee 01 00 65 8b 15 df 1e 85 7e 48 89 e5 <81> e2 00 01 1f 00 48 8b 75 08 75 2b 8b 90 88 12 00 00 83 fa 02 75
RSP: 0018:ffff88018e5fe950 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: ffff88018e5e42c0 RBX: ffff88018e5fe9d8 RCX: ffffffff817094bc
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffff88018e5fe950 R08: ffff88018e5e42c0 R09: ffffed003b605b98
R10: ffffed003b605b98 R11: ffff8801db02dcc7 R12: ffffed0031cbfd48
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000001
 rep_nop arch/x86/include/asm/processor.h:665 [inline]
 cpu_relax arch/x86/include/asm/processor.h:670 [inline]
 csd_lock_wait kernel/smp.c:108 [inline]
 smp_call_function_single+0x3eb/0x5c0 kernel/smp.c:302
 loaded_vmcs_clear arch/x86/kvm/vmx.c:2218 [inline]
 vmx_vcpu_load+0x873/0xfe0 arch/x86/kvm/vmx.c:3062
 kvm_arch_vcpu_load+0x22b/0x940 arch/x86/kvm/x86.c:3106
 vcpu_load+0x32/0x40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:164
 kvm_unload_vcpu_mmu arch/x86/kvm/x86.c:8852 [inline]
 kvm_free_vcpus arch/x86/kvm/x86.c:8867 [inline]
 kvm_arch_destroy_vm+0x1f9/0x7c0 arch/x86/kvm/x86.c:8967
 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:752 [inline]
 kvm_put_kvm+0x73f/0x1060 arch/x86/kvm/../../../virt/kvm/kvm_main.c:773
 kvm_vcpu_release+0x7b/0xa0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2407
 __fput+0x38a/0xa40 fs/file_table.c:278
 ____fput+0x15/0x20 fs/file_table.c:309
 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x1ae4/0x26e0 kernel/exit.c:867
 do_group_exit+0x177/0x440 kernel/exit.c:970
 get_signal+0x851/0x18e0 kernel/signal.c:2513
 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x2e5/0x380 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457099
Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f24104d8cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 0000000000930148 RCX: 0000000000457099
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000930148
RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000093014c
R13: 00007ffd01ae764f R14: 00007f24104d99c0 R15: 0000000000000001
rcu: rcu_sched kthread starved for 105002 jiffies! g51613 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_sched       R  running task    23480    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2825 [inline]
 __schedule+0x87c/0x1df0 kernel/sched/core.c:3473
 schedule+0xfb/0x450 kernel/sched/core.c:3517
 schedule_timeout+0x140/0x260 kernel/time/timer.c:1804
 rcu_gp_kthread+0x743/0x1d20 kernel/rcu/tree.c:2194
 kthread+0x35a/0x420 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/03 03:48 upstream 899ba79553cf a4718693 .config console log report ci-upstream-kasan-gce-root
2018/09/05 06:29 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config console log report ci-upstream-kmsan-gce
2018/08/11 12:20 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.