syzbot


INFO: rcu detected stall in sys_unlink (5)

Status: upstream: reported on 2025/09/25 16:42
Reported-by: syzbot+5854e0c59e957bb696cd@syzkaller.appspotmail.com
First crash: 85d, last: 7d04h
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_unlink (4) 1 1 262d 262d 0/3 auto-obsoleted due to no activity on 2025/07/10 21:02
linux-5.15 INFO: rcu detected stall in sys_unlink (3) 1 1 411d 411d 0/3 auto-obsoleted due to no activity on 2025/02/11 14:08
upstream INFO: rcu detected stall in sys_unlink (2) kernel 1 2 1062d 1147d 0/29 auto-obsoleted due to no activity on 2023/04/22 20:06
upstream INFO: rcu detected stall in sys_unlink (3) tomoyo mm 1 C error 254 1d15h 859d 0/29 upstream: reported C repro on 2023/08/13 23:42
linux-6.1 INFO: rcu detected stall in sys_unlink (2) 1 12 9d09h 267d 0/3 upstream: reported on 2025/03/27 11:38
linux-6.1 INFO: rcu detected stall in sys_unlink 1 4 478d 696d 0/3 auto-obsoleted due to no activity on 2024/12/07 03:28
linux-5.15 INFO: rcu detected stall in sys_unlink (2) 1 3 530d 541d 0/3 auto-obsoleted due to no activity on 2024/10/15 13:02
linux-6.6 INFO: rcu detected stall in sys_unlink 1 13 2h33m 152d 0/2 upstream: reported on 2025/07/20 18:19
upstream INFO: rcu detected stall in sys_unlink kasan mm 1 1 1237d 1237d 0/29 auto-obsoleted due to no activity on 2022/10/29 07:23
linux-5.15 INFO: rcu detected stall in sys_unlink 1 1 647d 647d 0/3 auto-obsoleted due to no activity on 2024/06/20 14:47
android-5-15 BUG: soft lockup in sys_unlink 1 7 590d 612d 0/2 auto-obsoleted due to no activity on 2024/08/07 01:29

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P4184/1:b..l
	(detected by 0, t=10502 jiffies, g=11429, q=422)
task:syz-executor    state:R  running task     stack:21760 pid: 4184 ppid:  4177 flags:0x00004000
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:lock_acquire+0x86/0x3f0 kernel/locking/lockdep.c:5591
Code: 8b 48 c7 44 24 70 f0 f9 5b 81 4c 8d 6c 24 60 49 c1 ed 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 44 3d 00 66 43 c7 44 3d 09 f3 f3 <43> c6 44 3d 0b f3 0f 1f 44 00 00 65 44 8b 35 cf 1a a6 7e 41 83 fe
RSP: 0018:ffffc90002ecf1c0 EFLAGS: 00000a06
RAX: f2f2f200f1f1f1f1 RBX: 0000000000000000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c11c720
RBP: ffffc90002ecf2e0 R08: 0000000000000000 R09: 0000000000000000
R10: fffff520005d9e7d R11: 1ffff920005d9e7b R12: ffffffff8c11c720
R13: 1ffff920005d9e44 R14: 00007fe6df9b0cf7 R15: dffffc0000000000
 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313
 rcu_read_lock include/linux/rcupdate.h:740 [inline]
 is_bpf_text_address+0x1d/0x270 kernel/bpf/core.c:725
 kernel_text_address kernel/extable.c:151 [inline]
 __kernel_text_address+0x9a/0x100 kernel/extable.c:105
 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
 arch_stack_walk+0xf2/0x140 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
 save_stack+0xf3/0x1e0 mm/page_owner.c:119
 __reset_page_owner+0x51/0x180 mm/page_owner.c:140
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1340 [inline]
 free_pcp_prepare mm/page_alloc.c:1391 [inline]
 free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
 free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433
 release_pages+0x184b/0x1bb0 mm/swap.c:963
 __pagevec_release+0x6d/0xe0 mm/swap.c:983
 pagevec_release include/linux/pagevec.h:81 [inline]
 shmem_undo_range+0x5cb/0x1880 mm/shmem.c:964
 shmem_truncate_range mm/shmem.c:1063 [inline]
 shmem_evict_inode+0x20d/0xa00 mm/shmem.c:1145
 evict+0x485/0x870 fs/inode.c:647
 do_unlinkat+0x3d8/0x6f0 fs/namei.c:4363
 __do_sys_unlink fs/namei.c:4404 [inline]
 __se_sys_unlink fs/namei.c:4402 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4402
 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:0x7fe6df9b0cf7
RSP: 002b:00007ffce8047368 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe6df9b0cf7
RDX: 00007ffce8047390 RSI: 00007ffce8047420 RDI: 00007ffce8047420
RBP: 00007ffce8047420 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffce80484b0
R13: 00007fe6dfa35d7d R14: 000000000001d63e R15: 00007ffce80484f0
 </TASK>
rcu: rcu_preempt kthread starved for 9882 jiffies! g11429 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
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:26688 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 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 1 skipped: idling at default_idle+0xb/0x10 arch/x86/kernel/process.c:729

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/12 23:13 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_unlink
2025/12/09 06:00 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_unlink
2025/09/25 16:42 linux-5.15.y 43bb85222e53 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in sys_unlink
* Struck through repros no longer work on HEAD.