syzbot


INFO: rcu detected stall in do_idle

Status: auto-closed as invalid on 2020/04/18 00:25
Reported-by: syzbot+049da90afb3985177450@syzkaller.appspotmail.com
First crash: 1677d, last: 1677d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: soft lockup in do_idle origin:upstream C error 121 1h13m 420d 0/3 upstream: reported C repro on 2023/05/29 19:14
android-414 INFO: rcu detected stall in do_idle 1 2138d 2138d 0/1 auto-closed as invalid on 2019/03/13 10:31
linux-4.19 INFO: rcu detected stall in do_idle (2) 2 818d 818d 0/1 auto-closed as invalid on 2022/08/24 07:48
linux-4.14 INFO: rcu detected stall in do_idle 4 1771d 1777d 0/1 auto-closed as invalid on 2020/01/14 08:59
upstream INFO: rcu detected stall in do_idle acpi C done error 2192 3h11m 2109d 0/27 upstream: reported C repro on 2018/10/13 07:31
linux-4.14 INFO: rcu detected stall in do_idle (2) C error 4 693d 822d 0/1 upstream: reported C repro on 2022/04/22 10:09
linux-6.1 BUG: soft lockup in do_idle origin:upstream C 22 10d 408d 0/3 upstream: reported C repro on 2023/06/10 08:51

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
net_ratelimit: 5 callbacks suppressed
protocol 88fb is buggy, dev hsr_slave_0
rcu: 	1-...!: (1 ticks this GP) idle=bf6/1/0x4000000000000002 softirq=286410/286410 fqs=0 
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
rcu: 	 (t=11058 jiffies g=302541 q=391)
rcu: rcu_preempt kthread starved for 11058 jiffies! g302541 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29104    10      2 0x80000000
Call Trace:
protocol 88fb is buggy, dev hsr_slave_1
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x866/0x1dc0 kernel/sched/core.c:3515
 schedule+0x92/0x1c0 kernel/sched/core.c:3559
 schedule_timeout+0x4db/0xfc0 kernel/time/timer.c:1806
 rcu_gp_kthread+0xd5c/0x2190 kernel/rcu/tree.c:2202
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.90-syzkaller #0
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+0x197/0x210 lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 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+0x189/0x1d5 kernel/rcu/tree.c:1340
 print_cpu_stall kernel/rcu/tree.c:1478 [inline]
 check_cpu_stall kernel/rcu/tree.c:1550 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x5e3/0xd90 kernel/rcu/tree.c:2682
 update_process_times+0x32/0x80 kernel/time/timer.c:1638
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:164
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x33b/0xdc0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x111/0x550 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893
 </IRQ>
RIP: 0010:tick_nohz_idle_exit+0x1ba/0x2e0 kernel/time/tick-sched.c:1159
Code: ff df 48 c1 e8 03 80 3c 10 00 0f 85 1f 01 00 00 48 83 3d 20 82 92 07 00 0f 84 b7 00 00 00 e8 7d 6a 0b 00 fb 66 0f 1f 44 00 00 <48> 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 62 6a 0b 00 e8 4d
RSP: 0018:ffff8880aa3b7d30 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff8880aa3a43c0 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815fd9c3 RDI: ffff8880aa3a4c3c
RBP: ffff8880aa3b7d60 R08: ffff8880aa3a43c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880ae926460
R13: ffff8880ae9264ac R14: 0000000000000001 R15: 0000018440f35e11
 do_idle+0x173/0x4d0 kernel/sched/idle.c:276
 cpu_startup_entry+0xc8/0xe0 kernel/sched/idle.c:369
 start_secondary+0x3e8/0x5b0 arch/x86/kernel/smpboot.c:271
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
netlink: 'syz-executor.1': attribute type 6 has an invalid length.

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/20 00:24 linux-4.19.y 7d120bf21c05 36650b4b .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.