syzbot


INFO: rcu detected stall in try_check_zero

Status: auto-closed as invalid on 2020/09/05 16:29
Reported-by: syzbot+7dac0c08116b7c22a9e4@syzkaller.appspotmail.com
First crash: 1583d, last: 999d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in try_check_zero (2) 1 868d 868d 0/24 auto-closed as invalid on 2020/12/15 14:13
upstream INFO: rcu detected stall in try_check_zero (3) 2 384d 387d 0/24 closed as invalid on 2022/02/08 10:10

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (1 ticks this GP) idle=d76/1/0x4000000000000002 softirq=39551/39551 fqs=0 
	(t=11134 jiffies g=59693 q=12976)
rcu: rcu_preempt kthread starved for 11134 jiffies! g59693 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    28848    10      2 0x80004000
Call Trace:
 schedule+0xd0/0x2a0 kernel/sched/core.c:4158
 schedule_timeout+0x35c/0x850 kernel/time/timer.c:1898
 rcu_gp_fqs_loop kernel/rcu/tree.c:1674 [inline]
 rcu_gp_kthread+0x9bf/0x1960 kernel/rcu/tree.c:1836
 kthread+0x388/0x470 kernel/kthread.c:268
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
NMI backtrace for cpu 1
CPU: 1 PID: 2800 Comm: kworker/1:5 Not tainted 5.7.0-rc4-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+0x188/0x20d lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x231/0x27e lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x19b/0x1e5 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:3225 [inline]
 rcu_sched_clock_irq.cold+0x55d/0xcfa kernel/rcu/tree.c:2296
 update_process_times+0x25/0x60 kernel/time/timer.c:1727
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:176
 tick_sched_timer+0x4e/0x140 kernel/time/tick-sched.c:1320
 __run_hrtimer kernel/time/hrtimer.c:1520 [inline]
 __hrtimer_run_queues+0x5ca/0xed0 kernel/time/hrtimer.c:1584
 hrtimer_interrupt+0x312/0x770 kernel/time/hrtimer.c:1646
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 [inline]
 smp_apic_timer_interrupt+0x15b/0x600 arch/x86/kernel/apic/apic.c:1138
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:preempt_count_sub+0x17/0x150 kernel/sched/core.c:3811
Code: 61 00 8b 4d d0 e9 3a fe ff ff 66 0f 1f 84 00 00 00 00 00 48 c7 c0 60 51 66 8c 53 89 fb 48 ba 00 00 00 00 00 fc ff df 48 89 c1 <83> e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 38 d0 7c 08 84 d2 0f 85
RSP: 0018:ffffc90008567bb0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffffffff8c665160 RBX: 0000000000000001 RCX: ffffffff8c665160
RDX: dffffc0000000000 RSI: ffffffff839a032f RDI: 0000000000000001
RBP: 0000014e96904518 R08: ffff88809f5ee040 R09: 0000000000000040
R10: 0000000000000040 R11: fffff52002db15ad R12: 0000000000000001
R13: 0000000000002ced R14: dffffc0000000000 R15: 000000000000000b
 delay_tsc+0x66/0xb0 arch/x86/lib/delay.c:66
 try_check_zero+0x1fb/0x340 kernel/rcu/srcutree.c:705
 srcu_advance_state kernel/rcu/srcutree.c:1145 [inline]
 process_srcu+0x33f/0xe60 kernel/rcu/srcutree.c:1240
 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268
 worker_thread+0x96/0xe20 kernel/workqueue.c:2414
 kthread+0x388/0x470 kernel/kthread.c:268
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Crashes (66):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2020/05/08 16:28 upstream 79dede78c057 2b98fdbc .config console log report
ci-upstream-kasan-gce-root 2020/04/24 23:03 upstream b4f633221f0a 03d97a1b .config console log report
ci-upstream-kasan-gce-selinux-root 2020/03/19 03:01 upstream 5076190daded 0a96a13c .config console log report
ci-upstream-kasan-gce-smack-root 2020/01/08 12:19 upstream ae6088216ce4 6738e0b3 .config console log report
ci-upstream-kasan-gce-smack-root 2020/01/08 08:57 upstream ae6088216ce4 6738e0b3 .config console log report
ci-upstream-kasan-gce-smack-root 2020/01/08 05:27 upstream ae6088216ce4 6738e0b3 .config console log report
ci-upstream-kasan-gce-smack-root 2020/01/08 03:35 upstream ae6088216ce4 6738e0b3 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/04 10:33 upstream 63de37476ebd 0ecb9746 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/04 08:41 upstream 63de37476ebd 0ecb9746 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/04 04:21 upstream 76bb8b05960c ae13a849 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 23:49 upstream 76bb8b05960c ae13a849 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 22:41 upstream 76bb8b05960c ae13a849 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 21:03 upstream 76bb8b05960c ae13a849 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 18:26 upstream 76bb8b05960c ae13a849 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 16:39 upstream 76bb8b05960c ab342da3 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 14:24 upstream 76bb8b05960c ab342da3 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 12:47 upstream 76bb8b05960c ab342da3 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 07:23 upstream 596cf45cbf6e ab342da3 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/03 05:23 upstream 596cf45cbf6e ab342da3 .config console log report
ci-upstream-kasan-gce-smack-root 2019/12/02 22:43 upstream 596cf45cbf6e ab342da3 .config console log report
ci-upstream-kasan-gce-smack-root 2019/11/20 01:12 upstream af42d3466bdc 5bc70212 .config console log report
ci-upstream-kasan-gce-smack-root 2019/11/13 14:05 upstream 0e3f1ad80fc8 048f2d49 .config console log report
ci-upstream-kasan-gce-smack-root 2019/10/27 22:39 upstream d6d5df1db6e9 25bb509e .config console log report
ci-upstream-kasan-gce-smack-root 2019/10/20 21:37 upstream 4fe34d61a3a9 8c88c9c1 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/09/12 08:09 upstream 3120b9a6a3f7 f4e53c10 .config console log report
ci-upstream-kasan-gce-smack-root 2019/09/08 16:13 upstream b3a9964cfa69 a60cb4cd .config console log report
ci-upstream-kasan-gce-smack-root 2019/08/24 05:50 upstream e3fb13b7e47c 78ded196 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/08/17 07:56 upstream a69e90512d9d 8fd428a1 .config console log report
ci-upstream-kasan-gce-smack-root 2019/08/15 16:37 upstream 41de59634046 0d298d6b .config console log report
ci-upstream-kasan-gce-root 2019/08/11 12:01 upstream 296d05cb0d3c acb51638 .config console log report
ci-upstream-kasan-gce-root 2019/08/08 06:03 upstream 33920f1ec5bf e6ebef88 .config console log report
ci-upstream-kasan-gce-smack-root 2019/08/06 12:37 upstream 0eb0ce0a78e1 6affd8e8 .config console log report
ci-upstream-kasan-gce-smack-root 2019/08/06 02:26 upstream 0eb0ce0a78e1 6affd8e8 .config console log report
ci-upstream-kasan-gce 2019/07/30 23:37 upstream 629f8205a6cc 7c7ded69 .config console log report
ci-upstream-kasan-gce-smack-root 2019/06/28 07:50 upstream c84afab02c31 7509bf36 .config console log report
ci-upstream-kasan-gce-smack-root 2019/06/24 14:34 upstream 241e39004581 472f0082 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/05/09 11:45 upstream a2d635decbfa 1ab4c999 .config console log report
ci-upstream-kasan-gce-smack-root 2019/04/28 04:59 upstream 037904a22bf8 b617407b .config console log report
ci-upstream-kasan-gce-smack-root 2019/04/14 08:54 upstream 4443f8e6ac77 c402d8f1 .config console log report
ci-upstream-kasan-gce 2019/04/09 13:18 upstream 869e3305f23d 995065ff .config console log report
ci-upstream-kasan-gce-root 2019/03/23 20:35 upstream a5ed1e96cafd a2cef203 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/03/19 03:37 upstream 9e98c678c2d6 46264c32 .config console log report
ci-upstream-kasan-gce-root 2019/03/15 12:23 upstream f261c4e529da bab43553 .config console log report
ci-upstream-kasan-gce-smack-root 2019/03/11 17:00 upstream 12ad143e1b80 12365b99 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/03/03 10:58 upstream c027c7cf1577 1c0e457a .config console log report
ci-upstream-kasan-gce-smack-root 2019/02/22 22:11 upstream 6ee2846cb4e7 6a5fcca4 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/02/13 05:06 upstream 57902dc0670c 1eedba36 .config console log report
ci-upstream-kasan-gce-selinux-root 2019/01/21 14:15 upstream 49a57857aeea badbbeee .config console log report
ci-upstream-kasan-gce-smack-root 2019/01/19 00:11 upstream d7393226d15a 2103a236 .config console log report
ci-upstream-kasan-gce 2019/01/07 13:05 upstream 3bd6e94bec12 69d69aa9 .config console log report
ci-upstream-kasan-gce-386 2018/10/02 00:51 upstream 17b57b1883c1 e06f7713 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/08/06 16:11 linux-next 958eb4327c17 c6f01e54 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/08/01 10:23 linux-next 882e8691130b c692b5bd .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/04/13 16:34 linux-next bcb67f0fbce9 c402d8f1 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/03/15 12:34 linux-next cf08baa29613 bab43553 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/02/26 20:47 linux-next 8e7f81e2ebc4 a36ecd98 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/02/24 05:43 linux-next 94a47529a645 7a06e792 .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/02/05 05:07 linux-next dc4c89997735 d672172c .config console log report
ci-upstream-linux-next-kasan-gce-root 2019/02/04 15:03 linux-next dc4c89997735 d672172c .config console log report
* Struck through repros no longer work on HEAD.