syzbot


INFO: rcu detected stall in sys_rename (2)

Status: closed as invalid on 2020/01/09 08:13
Subsystems: kernel
[Documentation on labels]
First crash: 1560d, last: 1559d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_rename (5) fs 2 140d 202d 0/26 auto-obsoleted due to no activity on 2024/02/25 12:55
upstream INFO: rcu detected stall in sys_rename (4) fs 1 531d 531d 0/26 auto-obsoleted due to no activity on 2023/02/25 08:48
upstream INFO: rcu detected stall in sys_rename (3) fs 3 632d 706d 0/26 auto-obsoleted due to no activity on 2022/10/21 16:10
linux-5.15 INFO: rcu detected stall in sys_rename 1 192d 192d 0/3 auto-obsoleted due to no activity on 2024/01/14 17:35
upstream INFO: rcu detected stall in sys_rename kernel 9 1594d 1596d 0/26 closed as invalid on 2019/12/04 14:14

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (1 GPs behind) idle=c6a/1/0x4000000000000002 softirq=13831/13835 fqs=5241 
	(t=10502 jiffies g=7109 q=3357)
NMI backtrace for cpu 1
CPU: 1 PID: 8577 Comm: udevd Not tainted 5.5.0-rc5-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+0xaf/0x1a0 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x174/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:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2827 [inline]
 rcu_sched_clock_irq+0xe25/0x1ad0 kernel/rcu/tree.c:2271
 update_process_times+0x12d/0x180 kernel/time/timer.c:1726
 tick_sched_handle kernel/time/tick-sched.c:167 [inline]
 tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1310
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x38c/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
 </IRQ>
RIP: 0010:free_thread_stack+0x17b/0x590 kernel/fork.c:284
Code: 74 08 48 89 df e8 55 94 6a 00 48 8b 3b be fc ff ff ff e8 28 04 00 00 43 80 3c 2e 00 74 08 4c 89 e7 e8 39 94 6a 00 49 8b 1c 24 <48> 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8
RSP: 0018:ffffc90001f977c8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffffff814897d3 RBX: ffff888096757700 RCX: ffff888093db42c0
RDX: 0000000000000000 RSI: 00000000fffffffc RDI: ffffea000248f0c0
RBP: ffffc90001f97800 R08: dffffc0000000000 R09: fffffbfff124248a
R10: fffffbfff124248a R11: 0000000000000000 R12: ffff8880967577a0
R13: dffffc0000000000 R14: 1ffff11012ceaef4 R15: ffff88809d75d638
 release_task_stack kernel/fork.c:440 [inline]
 put_task_stack+0xa3/0x130 kernel/fork.c:451
 finish_task_switch+0x3f1/0x550 kernel/sched/core.c:3256
 context_switch kernel/sched/core.c:3388 [inline]
 __schedule+0x9a8/0xcc0 kernel/sched/core.c:4081
 preempt_schedule_irq+0xc1/0x140 kernel/sched/core.c:4338
 retint_kernel+0x1b/0x2b
RIP: 0010:tomoyo_domain_quota_is_ok+0x146/0x580 security/tomoyo/util.c:1042
Code: 0f 85 30 02 00 00 41 0f b6 1e 48 89 df 48 c7 c6 c0 ad 3f 89 e8 eb a5 14 fe 48 83 fb 08 0f 87 ca 00 00 00 ff 24 dd 20 c6 77 88 <e8> 25 a1 14 fe 49 8d 5c 24 1a 48 89 d8 48 c1 e8 03 42 0f b6 04 38
RSP: 0018:ffffc90001f97a10 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff02
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff893fadc0 RDI: 0000000000000000
RBP: ffffc90001f97a50 R08: 0000000000000001 R09: ffffffff83621d45
R10: ffff888093db42c0 R11: 0000000000000007 R12: ffff888099840680
R13: ffff888095ca0010 R14: ffff888099840699 R15: dffffc0000000000
 tomoyo_supervisor+0x274/0x1330 security/tomoyo/common.c:2089
 tomoyo_audit_path2_log security/tomoyo/file.c:182 [inline]
 tomoyo_path2_perm+0x74f/0x9d0 security/tomoyo/file.c:943
 tomoyo_path_rename+0xec/0x110 security/tomoyo/tomoyo.c:285
 security_path_rename+0x211/0x2d0 security/security.c:1079
 do_renameat2+0x94d/0xff0 fs/namei.c:4627
 __do_sys_rename fs/namei.c:4677 [inline]
 __se_sys_rename fs/namei.c:4675 [inline]
 __x64_sys_rename+0x68/0x80 fs/namei.c:4675
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fe99c322527
Code: 32 00 64 83 38 15 74 07 b8 ff ff ff ff 5b c3 48 89 df e8 1c c1 07 00 85 c0 75 ed 31 c0 eb d3 90 90 90 90 b8 52 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 f8 32 00 31 d2 48 29 c2 64
RSP: 002b:00007ffc093fb4d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00000000010c06f0 RCX: 00007fe99c322527
RDX: 00007fe99c653e98 RSI: 00007ffc093fb510 RDI: 00007ffc093fb910
RBP: 00000000010c6e80 R08: 00007fe99cc957a0 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000246 R12: 00000000010be8e0
R13: 00000000010ae250 R14: 00007ffc093fb510 R15: 0000000000000000

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/08 09:07 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
2020/01/08 06:19 upstream ae6088216ce4 6738e0b3 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.