syzbot


INFO: rcu detected stall in __run_timers

Status: auto-obsoleted due to no activity on 2023/08/15 19:18
Reported-by: syzbot+0e682c4891716c50038d@syzkaller.appspotmail.com
First crash: 597d, last: 597d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __run_timers (4) tomoyo 4 1764d 1779d 0/28 auto-closed as invalid on 2020/05/06 02:55
upstream INFO: rcu detected stall in __run_timers net 2 2278d 2280d 0/28 closed as invalid on 2018/09/11 10:51
upstream INFO: rcu detected stall in __run_timers (2) block 58 2151d 2274d 0/28 closed as dup on 2019/01/02 16:40
upstream INFO: rcu detected stall in __run_timers (7) kernfs 25 86d 191d 0/28 auto-obsoleted due to no activity on 2024/11/08 17:44
linux-6.1 INFO: rcu detected stall in __run_timers 1 45d 45d 0/3 upstream: reported on 2024/10/20 16:20
upstream INFO: rcu detected stall in __run_timers (6) kernel 2 1006d 1022d 0/28 auto-closed as invalid on 2022/06/02 21:46
upstream INFO: rcu detected stall in __run_timers (3) mm 4 1891d 1912d 0/28 auto-closed as invalid on 2019/12/31 08:04
upstream INFO: rcu detected stall in __run_timers (5) kernel C error error 63 1038d 1552d 0/28 closed as invalid on 2022/02/08 10:39
android-5-10 BUG: soft lockup in __run_timers 2 107d 175d 0/2 auto-obsoleted due to no activity on 2024/11/18 04:44
android-54 BUG: soft lockup in __run_timers 1 160d 160d 0/2 auto-obsoleted due to no activity on 2024/09/26 00:22
android-5-15 BUG: soft lockup in __run_timers 1 78d 78d 0/2 premoderation: reported on 2024/09/17 23:46
upstream BUG: soft lockup in __run_timers kernel 1 668d 664d 0/28 auto-obsoleted due to no activity on 2023/05/06 12:08

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (10449 ticks this GP) idle=025/1/0x4000000000000000 softirq=132731/132731 fqs=2054 
	(t=10501 jiffies g=240797 q=5383)
NMI backtrace for cpu 1
CPU: 1 PID: 1065 Comm: kworker/1:2 Not tainted 5.15.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: events nsim_dev_trap_report_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:343
 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
 rcu_pending kernel/rcu/tree.c:3887 [inline]
 rcu_sched_clock_irq+0xf26/0x1770 kernel/rcu/tree.c:2605
 update_process_times+0x196/0x200 kernel/time/timer.c:1788
 tick_sched_handle kernel/time/tick-sched.c:226 [inline]
 tick_sched_timer+0x22d/0x3c0 kernel/time/tick-sched.c:1420
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: c1 aa f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 be 00 42 f7 48 89 df e8 56 53 43 f7 e8 91 cd 65 f7 fb bf 01 00 00 00 <e8> e6 93 36 f7 65 8b 05 07 13 e2 75 85 c0 74 02 5b c3 e8 14 2a e0
RSP: 0018:ffffc90000dd0d50 EFLAGS: 00000282
RAX: 2e54316b1e421800 RBX: ffff8880b9b28080 RCX: ffffffff8162a4d8
RDX: dffffc0000000000 RSI: ffffffff8a8af0e0 RDI: 0000000000000001
RBP: ffffc90000dd0eb0 R08: dffffc0000000000 R09: fffffbfff1f76e33
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880ab5d3010
R13: 1ffff11017365018 R14: ffff8880ab5d3030 R15: ffffffff884d3ac0
 expire_timers kernel/time/timer.c:1465 [inline]
 __run_timers+0x66c/0x890 kernel/time/timer.c:1737
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1750
 __do_softirq+0x3b3/0x93a kernel/softirq.c:558
 do_softirq+0x162/0x240 kernel/softirq.c:459
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383
 spin_unlock_bh include/linux/spinlock.h:408 [inline]
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:739 [inline]
 nsim_dev_trap_report_work+0x780/0xab0 drivers/net/netdevsim/dev.c:765
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/17 19:18 linux-5.15.y 4fdad925aa1a c6ec7083 .config console log report info ci2-linux-5-15-kasan INFO: rcu detected stall in __run_timers
* Struck through repros no longer work on HEAD.