syzbot


INFO: rcu detected stall in mce_timer_fn

Status: closed as invalid on 2019/12/04 14:04
Subsystems: edac
[Documentation on labels]
First crash: 1749d, last: 1749d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in mce_timer_fn (2) edac C unreliable 6 29d 101d 0/28 upstream: reported C repro on 2024/06/07 19:25

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (10577 ticks this GP) idle=95e/1/0x4000000000000004 softirq=30847/30850 fqs=4209 
	(t=10500 jiffies g=31929 q=395)
NMI backtrace for cpu 0
CPU: 0 PID: 20994 Comm: syz-executor.1 Not tainted 5.4.0-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
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:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2827 [inline]
 rcu_sched_clock_irq.cold+0x509/0xc02 kernel/rcu/tree.c:2271
 update_process_times+0x2d/0x70 kernel/time/timer.c:1726
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:167
 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1310
 __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:1110 [inline]
 smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
RIP: 0010:native_cpuid+0x11/0x20 arch/x86/include/asm/processor.h:209
Code: 2e 0f 1f 84 00 00 00 00 00 fb c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 55 49 89 c9 8b 07 49 89 d0 48 89 e5 53 8b 0a 0f a2 <89> 07 89 1e 5b 41 89 08 5d 41 89 11 c3 66 90 65 48 89 3d bc dc cd
RSP: 0018:ffffc90000007a88 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: 0000000000050653 RBX: 0000000000040800 RCX: 00000000fffa3203
RDX: 000000001f8bfbff RSI: ffffc90000007ae8 RDI: ffffc90000007ad8
RBP: ffffc90000007a90 R08: ffffc90000007af8 R09: ffffc90000007b08
R10: fffff52000000f89 R11: ffffc90000007c4f R12: 1ffff92000000f55
R13: ffffc90000007b48 R14: ffffc90000007c1c R15: 0000000000000000
 __cpuid arch/x86/include/asm/paravirt.h:91 [inline]
 cpuid arch/x86/include/asm/processor.h:624 [inline]
 cpuid_eax arch/x86/include/asm/processor.h:644 [inline]
 mce_setup+0x1c7/0x630 arch/x86/kernel/cpu/mce/core.c:140
 mce_gather_info arch/x86/kernel/cpu/mce/core.c:436 [inline]
 machine_check_poll+0xe1/0x500 arch/x86/kernel/cpu/mce/core.c:706
 mce_timer_fn+0x18e/0x220 arch/x86/kernel/cpu/mce/core.c:1429
 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0x6c3/0x1790 kernel/time/timer.c:1786
 __do_softirq+0x262/0x98c kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x19b/0x1e0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x4f/0x80 kernel/locking/spinlock.c:199
Code: c0 e8 33 73 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 33 48 83 3d 62 a2 ac 01 00 74 20 fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 37 fb 89 f9 65 8b 05 e8 8c 3b 78 85 c0 74 06 41
RSP: 0018:ffffc90002edfb10 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff12e667d RBX: ffff88805bcc8140 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000006 RDI: ffff88805bcc89d4
RBP: ffffc90002edfb18 R08: ffff88805bcc8140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802d237380
R13: ffff88802c5bc280 R14: ffff88805ee02e40 R15: 0000000000000001
 finish_lock_switch kernel/sched/core.c:3124 [inline]
 finish_task_switch+0x147/0x750 kernel/sched/core.c:3224
 context_switch kernel/sched/core.c:3388 [inline]
 __schedule+0x93c/0x1f90 kernel/sched/core.c:4081
 preempt_schedule_irq+0xb5/0x160 kernel/sched/core.c:4338
 retint_kernel+0x1b/0x2b
RIP: 0010:__do_sys_perf_event_open+0xdc/0x2c70 kernel/events/core.c:11211
Code: e8 39 4c e6 ff 48 8d bd 18 ff ff ff 31 f6 e8 ab 35 bb 01 31 ff 89 c3 89 c6 e8 a0 4d e6 ff 85 db 74 4e e8 17 4c e6 ff 4c 63 f3 <e8> 0f 4c e6 ff 48 b8 00 00 00 00 00 fc ff df 4c 01 f8 48 c7 00 00
RSP: 0018:ffffc90002edfd30 EFLAGS: 00010216 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: 0000000000000008 RCX: ffffc90022011000
RDX: 000000000000419d RSI: ffffffff81c4defb RDI: 0000000000000005
RBP: ffffc90002edfec8 R08: ffff88805bcc8140 R09: ffff88805bcc89d0
R10: fffffbfff14b1d40 R11: ffffffff8a58ea07 R12: ffff88801e2e22e0
R13: ffff88805bcc8140 R14: 0000000000000008 R15: 1ffff920005dbfb4
 __se_sys_perf_event_open kernel/events/core.c:11151 [inline]
 __ia32_sys_perf_event_open+0xbd/0x140 kernel/events/core.c:11151
 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline]
 do_fast_syscall_32+0x27b/0xe16 arch/x86/entry/common.c:408
 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139
RIP: 0023:0xf7fe7a39
Code: 00 00 00 89 d3 5b 5e 5f 5d c3 b8 80 96 98 00 eb c4 8b 04 24 c3 8b 1c 24 c3 8b 34 24 c3 8b 3c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000f5d800cc EFLAGS: 00000296 ORIG_RAX: 0000000000000150
RAX: ffffffffffffffda RBX: 000000002001d000 RCX: 0000000000000000
RDX: 00000000ffffffff RSI: 00000000ffffffff RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/04 10:31 upstream 63de37476ebd 0ecb9746 .config console log report ci-qemu-upstream-386
* Struck through repros no longer work on HEAD.