syzbot


INFO: rcu detected stall in sys_rename (4)

Status: upstream: reported on 2025/11/18 16:53
Reported-by: syzbot+927522d0dad3d7fe41cd@syzkaller.appspotmail.com
First crash: 54d, last: 11h02m
Similar bugs (14)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_rename (2) mm 1 2 2195d 2195d 0/29 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in sys_rename (7) fs 1 2 203d 207d 0/29 auto-obsoleted due to no activity on 2025/09/20 13:58
upstream INFO: rcu detected stall in sys_rename (5) fs 1 2 776d 838d 0/29 auto-obsoleted due to no activity on 2024/02/25 12:55
upstream INFO: rcu detected stall in sys_rename (4) fs 1 1 1167d 1167d 0/29 auto-obsoleted due to no activity on 2023/02/25 08:48
upstream INFO: rcu detected stall in sys_rename (3) fs 1 3 1268d 1341d 0/29 auto-obsoleted due to no activity on 2022/10/21 16:10
linux-6.1 INFO: rcu detected stall in sys_rename 1 1 260d 260d 0/3 auto-obsoleted due to no activity on 2025/08/04 09:07
linux-5.15 INFO: rcu detected stall in sys_rename 1 1 828d 828d 0/3 auto-obsoleted due to no activity on 2024/01/14 17:35
upstream INFO: rcu detected stall in sys_rename (6) fs 1 13 398d 570d 0/29 auto-obsoleted due to no activity on 2025/03/09 06:53
linux-6.1 INFO: rcu detected stall in sys_rename (2) 1 1 149d 149d 0/3 auto-obsoleted due to no activity on 2025/11/23 08:45
linux-6.6 INFO: rcu detected stall in sys_rename origin:lts-only 1 C done 1 117d 117d 0/2 upstream: reported C repro on 2025/09/16 17:23
upstream INFO: rcu detected stall in sys_rename mm 1 9 2230d 2231d 0/29 closed as invalid on 2019/12/04 14:14
linux-5.15 INFO: rcu detected stall in sys_rename (2) 1 1 522d 522d 0/3 auto-obsoleted due to no activity on 2024/11/15 17:39
linux-5.15 INFO: rcu detected stall in sys_rename (3) 1 1 333d 333d 0/3 auto-obsoleted due to no activity on 2025/05/23 15:25
android-5-15 BUG: soft lockup in sys_rename 1 2 618d 622d 0/2 auto-obsoleted due to no activity on 2024/08/01 16:15

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P5062/2:b..l
	(detected by 1, t=10502 jiffies, g=19773, q=269)
task:udevd           state:R  running task     stack:23264 pid: 5062 ppid:  3562 flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11bb/0x4390 kernel/sched/core.c:6395
 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6799
 irqentry_exit+0x63/0x70 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:seqcount_lockdep_reader_access+0x17a/0x1c0 include/linux/seqlock.h:106
Code: ff 4d 85 ed 75 16 e8 e5 6a a3 ff eb 15 e8 de 6a a3 ff e8 19 86 cd 07 4d 85 ed 74 ea e8 cf 6a a3 ff fb 48 c7 04 24 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 66 43 c7 44 27 09 00 00 43 c6 44 27 0b 00
RSP: 0018:ffffc900032cf720 EFLAGS: 00000293
RAX: ffffffff81d46141 RBX: 0000000000000000 RCX: ffff888020e83b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900032cf7e0 R08: dffffc0000000000 R09: fffffbfff1ff542f
R10: fffffbfff1ff542f R11: 1ffffffff1ff542e R12: dffffc0000000000
R13: 0000000000000200 R14: ffffffff81d43cdc R15: 1ffff92000659ee4
 read_seqbegin include/linux/seqlock.h:897 [inline]
 read_seqbegin_or_lock include/linux/seqlock.h:1191 [inline]
 prepend_path+0x2bc/0xbb0 fs/d_path.c:172
 d_absolute_path+0x9e/0x140 fs/d_path.c:235
 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline]
 tomoyo_realpath_from_path+0x331/0x610 security/tomoyo/realpath.c:276
 tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
 tomoyo_path2_perm+0x20d/0x790 security/tomoyo/file.c:922
 tomoyo_path_rename+0xec/0x130 security/tomoyo/tomoyo.c:278
 security_path_rename+0x1dc/0x280 security/security.c:1205
 do_renameat2+0x68b/0xf70 fs/namei.c:4980
 __do_sys_rename fs/namei.c:5039 [inline]
 __se_sys_rename fs/namei.c:5037 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5037
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f4aac76dcc7
RSP: 002b:00007ffe0ef1f8c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 000055dddd73cbd0 RCX: 00007f4aac76dcc7
RDX: 000055dddd703010 RSI: 00007ffe0ef1f8e0 RDI: 00007ffe0ef1fce0
RBP: 000055dddd72ced0 R08: 00000000000001e0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffe0ef1f8e0
R13: 00007ffe0ef1fce0 R14: 0000000000000000 R15: 000055dddd716d80
 </TASK>
rcu: rcu_preempt kthread starved for 9773 jiffies! g19773 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:28160 pid:   15 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11bb/0x4390 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914
 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972
 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 0 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:729

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/11 10:56 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_rename
2025/11/18 16:53 linux-5.15.y cc5ec8769306 ef766cd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_rename
* Struck through repros no longer work on HEAD.