syzbot


INFO: rcu detected stall in retint_kernel

Status: auto-closed as invalid on 2020/05/26 14:03
Subsystems: kernel
[Documentation on labels]
First crash: 2165d, last: 1798d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in retint_kernel (2) 1 727d 727d 0/1 upstream: reported on 2023/02/01 07:36
linux-4.19 INFO: rcu detected stall in retint_kernel 1 1271d 1271d 0/1 auto-closed as invalid on 2021/12/03 22:18

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (1 ticks this GP) idle=f06/1/0x4000000000000002 softirq=106661/106661 fqs=0 
	(t=27807 jiffies g=124605 q=20197)
rcu: rcu_preempt kthread starved for 27807 jiffies! g124605 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29128    10      2 0x80004000
Call Trace:
 context_switch kernel/sched/core.c:3380 [inline]
 __schedule+0x934/0x1f90 kernel/sched/core.c:4080
 schedule+0xdc/0x2b0 kernel/sched/core.c:4154
 schedule_timeout+0x486/0xc50 kernel/time/timer.c:1895
 rcu_gp_fqs_loop kernel/rcu/tree.c:1658 [inline]
 rcu_gp_kthread+0xa10/0x1940 kernel/rcu/tree.c:1818
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
NMI backtrace for cpu 0
CPU: 0 PID: 11004 Comm: kworker/0:6 Not tainted 5.6.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: rcu_gp process_srcu
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 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:475 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:549 [inline]
 rcu_pending kernel/rcu/tree.c:3030 [inline]
 rcu_sched_clock_irq.cold+0x51a/0xc37 kernel/rcu/tree.c:2276
 update_process_times+0x2d/0x70 kernel/time/timer.c:1726
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:171
 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1314
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x364/0xe40 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1641
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1119 [inline]
 smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1144
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:preempt_schedule_irq+0xab/0x160 kernel/sched/core.c:4337
Code: 00 00 e8 78 84 61 f9 e8 03 bc 8b f9 4c 89 f0 48 c1 e8 03 80 3c 18 00 75 7d 48 83 3d 96 4b c4 01 00 74 6f fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 ab d1 ff ff 48 c7 c0 00 b1 b3 89 48 c1 e8 03 80
RSP: 0018:ffffc90001857af8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff1367621 RBX: dffffc0000000000 RCX: 0000000000000006
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880a71c0b14
RBP: ffffc90001857b18 R08: 1ffffffff16a3571 R09: fffffbfff16a3572
R10: fffffbfff16a3571 R11: ffffffff8b51ab8f R12: ffffed1014e38050
R13: ffff8880a71c0280 R14: ffffffff89b3b108 R15: 0000000000000000
 retint_kernel+0x1b/0x2b
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline]
RIP: 0010:queue_delayed_work_on+0x12a/0x210 kernel/workqueue.c:1673
Code: 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 d8 00 00 00 48 83 3d 5e 2f 66 08 00 0f 84 9a 00 00 00 e8 ab 05 28 00 48 89 df 57 9d <0f> 1f 44 00 00 e8 9c 05 28 00 44 89 f8 48 83 c4 10 5b 41 5c 41 5d
RSP: 0018:ffffc90001857bd0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff02
RAX: ffff8880a71c0280 RBX: 0000000000000293 RCX: 0000000000000006
RDX: 0000000000000000 RSI: ffffffff814d81a5 RDI: 0000000000000293
RBP: ffffc90001857c08 R08: 1ffffffff16a3571 R09: fffffbfff16a3572
R10: fffffbfff16a3571 R11: ffffffff8b51ab8f R12: 0000000000000200
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
 queue_delayed_work include/linux/workqueue.h:509 [inline]
 srcu_reschedule kernel/rcu/srcutree.c:1226 [inline]
 srcu_reschedule+0xd7/0x130 kernel/rcu/srcutree.c:1209
 process_srcu+0x125/0xe10 kernel/rcu/srcutree.c:1239
 process_one_work+0xa05/0x17a0 kernel/workqueue.c:2264
 worker_thread+0x98/0xe40 kernel/workqueue.c:2410
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Crashes (21):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/26 14:02 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce
2020/01/21 14:48 upstream d96d875ef5dd 8eda0b95 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 10:28 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 09:22 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 08:24 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/04 10:07 upstream 63de37476ebd 0ecb9746 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/04 10:07 upstream 63de37476ebd 0ecb9746 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 17:52 upstream 76bb8b05960c ae13a849 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 14:38 upstream 76bb8b05960c ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/03 13:31 upstream 76bb8b05960c ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/02 23:48 upstream 596cf45cbf6e ab342da3 .config console log report ci-upstream-kasan-gce-smack-root
2019/12/01 07:14 upstream 32ef9553635a a76bf83f .config console log report ci-upstream-kasan-gce
2019/09/09 01:38 upstream 950b07c14e8c a60cb4cd .config console log report ci-upstream-kasan-gce-smack-root
2019/08/12 03:28 upstream 296d05cb0d3c acb51638 .config console log report ci-upstream-kasan-gce-smack-root
2019/06/19 02:11 upstream 29f785ff76b6 e3f76baa .config console log report ci-upstream-kasan-gce-selinux-root
2019/06/18 17:37 upstream 29f785ff76b6 e3f76baa .config console log report ci-upstream-kasan-gce-selinux-root
2019/06/13 08:46 upstream b076173a309e 3f4e812b .config console log report ci-upstream-kasan-gce-root
2019/03/05 23:54 upstream 63bdf4284c38 16559f86 .config console log report ci-upstream-kasan-gce-root
2019/02/24 11:57 upstream e60b5f79bd75 7a06e792 .config console log report ci-upstream-kasan-gce-smack-root
2019/07/23 03:32 linux-next 6d21a41b7b1f 55e0c077 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/06/20 14:10 linux-next c0e4c41afeef 34bf9440 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.