syzbot


INFO: rcu detected stall in __run_timers (4)

Status: auto-closed as invalid on 2020/05/06 02:55
Subsystems: tomoyo
[Documentation on labels]
First crash: 1501d, last: 1486d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in __run_timers 1 320d 320d 0/3 auto-obsoleted due to no activity on 2023/08/15 19:18
upstream INFO: rcu detected stall in __run_timers net 2 2001d 2003d 0/26 closed as invalid on 2018/09/11 10:51
upstream INFO: rcu detected stall in __run_timers (2) block 58 1873d 1997d 0/26 closed as dup on 2019/01/02 16:40
upstream INFO: rcu detected stall in __run_timers (6) kernel 2 728d 745d 0/26 auto-closed as invalid on 2022/06/02 21:46
upstream INFO: rcu detected stall in __run_timers (3) mm 4 1613d 1635d 0/26 auto-closed as invalid on 2019/12/31 08:04
upstream INFO: rcu detected stall in __run_timers (5) kernel C error error 63 760d 1274d 0/26 closed as invalid on 2022/02/08 10:39

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (1 GPs behind) idle=b92/1/0x4000000000000004 softirq=251495/251499 fqs=0 
	(t=10500 jiffies g=315789 q=87)
NMI backtrace for cpu 1
CPU: 1 PID: 31354 Comm: syz-executor.4 Not tainted 5.5.0-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+0x1fb/0x318 lib/dump_stack.c:118
 nmi_cpu_backtrace+0xaa/0x190 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x16f/0x290 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15a/0x220 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+0x1521/0x1aa0 kernel/rcu/tree.c:2276
 update_process_times+0x12d/0x180 kernel/time/timer.c:1726
 tick_sched_handle kernel/time/tick-sched.c:171 [inline]
 tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1314
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x3f3/0x840 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x37c/0xda0 kernel/time/hrtimer.c:1641
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x109/0x280 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x5a/0x80 kernel/locking/spinlock.c:199
Code: 00 00 00 00 fc ff df 80 3c 08 00 74 0c 48 c7 c7 20 d1 2a 89 e8 b7 84 9d f9 48 83 3d 8f 68 14 01 00 74 26 fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 0c 9f 3c f9 65 8b 05 21 b5 eb 77 85 c0 74 03 5b
RSP: 0018:ffffc90000da8d98 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff1255a24 RBX: ffff8880aeb27240 RCX: dffffc0000000000
RDX: 0000000000000101 RSI: ffffffff8166b7a6 RDI: ffff88803fd22904
RBP: ffffc90000da8da0 R08: ffff88803fd22918 R09: ffffed1015d64e49
R10: ffffed1015d64e49 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888089120e10 R14: ffff888089120e18 R15: ffffffff868063f0
 expire_timers kernel/time/timer.c:1448 [inline]
 __run_timers+0x766/0x970 kernel/time/timer.c:1773
 run_timer_softirq+0x4a/0x90 kernel/time/timer.c:1786
 __do_softirq+0x283/0x7bd kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x227/0x230 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x113/0x280 arch/x86/kernel/apic/apic.c:1137
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:tomoyo_check_acl+0xa0/0x3b0 security/tomoyo/domain.c:173
Code: fe 4d 8b 37 4d 39 fe 0f 84 fd 01 00 00 4c 89 7d a0 4d 89 f7 4c 89 6d b8 66 90 49 8d 5f 18 48 89 d8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 2b 01 00 00 0f b6 1b 31 ff 89 de e8 8c 80 12 fe 85 db
RSP: 0018:ffffc90002e977a8 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff88809413c698 RCX: 0000000000040000
RDX: ffffc900130c2000 RSI: 00000000000011e5 RDI: 00000000000011e6
RBP: ffffc90002e97808 R08: ffffffff83645cc5 R09: ffffffff8365de2c
R10: ffff88803fd220c0 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000000 R14: ffff88809413c680 R15: ffff88809413c680
 tomoyo_path_permission security/tomoyo/file.c:586 [inline]
 tomoyo_check_open_permission+0x3bf/0x9d0 security/tomoyo/file.c:777
 tomoyo_file_open+0x141/0x190 security/tomoyo/tomoyo.c:319
 security_file_open+0x50/0x2e0 security/security.c:1529
 do_dentry_open+0x351/0x10c0 fs/open.c:784
 vfs_open+0x73/0x80 fs/open.c:914
 do_last fs/namei.c:3490 [inline]
 path_openat+0x16f1/0x4380 fs/namei.c:3607
 do_filp_open+0x192/0x3d0 fs/namei.c:3637
 do_sys_openat2+0x42b/0x6f0 fs/open.c:1149
 do_sys_open fs/open.c:1165 [inline]
 __do_sys_openat fs/open.c:1179 [inline]
 __se_sys_openat fs/open.c:1174 [inline]
 __x64_sys_openat+0x1e6/0x210 fs/open.c:1174
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45b399
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc4abd46c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fc4abd476d4 RCX: 000000000045b399
RDX: 0000000000000000 RSI: 0000000020000280 RDI: ffffffffffffff9c
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000007a1 R14: 00000000004c9078 R15: 000000000075bfd4

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/06 02:54 upstream 6992ca0dd017 662cf49a .config console log report ci-upstream-kasan-gce-smack-root
2020/01/24 08:36 upstream 4703d9119972 2e95ab33 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/24 04:39 upstream 4703d9119972 2e95ab33 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/22 08:09 upstream d96d875ef5dd 8eda0b95 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.