syzbot


INFO: rcu detected stall in sys_open (2)

Status: upstream: reported on 2025/09/12 17:47
Reported-by: syzbot+f35eb73faf8bff97f40d@syzkaller.appspotmail.com
First crash: 1d13h, last: 1d13h
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_open fs 1 1 2307d 2307d 0/29 auto-closed as invalid on 2019/10/25 09:11
linux-4.19 INFO: rcu detected stall in sys_open 1 1 2194d 2194d 0/1 auto-closed as invalid on 2020/01/09 20:01
linux-5.15 INFO: rcu detected stall in sys_open 1 9 334d 390d 0/3 auto-obsoleted due to no activity on 2025/01/23 05:49
upstream INFO: rcu detected stall in sys_open (5) fs lsm 1 3 388d 476d 0/29 auto-obsoleted due to no activity on 2024/11/19 17:35
upstream INFO: rcu detected stall in sys_open (3) fs 1 C inconclusive 5 1345d 1580d 0/29 closed as invalid on 2022/02/08 10:35
upstream INFO: rcu detected stall in sys_open (4) ext4 1 1 1237d 1237d 0/29 auto-closed as invalid on 2022/06/24 20:08
upstream INFO: rcu detected stall in sys_open (2) crypto 1 C done done 42 1768d 2119d 15/29 fixed on 2020/12/23 11:40
android-5-15 BUG: soft lockup in sys_open 1 1 494d 494d 0/2 auto-obsoleted due to no activity on 2024/08/06 04:14

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (9956 ticks this GP) idle=259/1/0x4000000000000000 softirq=47129/47129 fqs=192 
	(t=10500 jiffies g=64085 q=195700)
rcu: rcu_preempt kthread starved for 10113 jiffies! g64085 f0x2 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
NMI backtrace for cpu 0
CPU: 0 PID: 13195 Comm: syz.2.1752 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
 <IRQ>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_dump_cpu_stacks+0x22f/0x380 kernel/rcu/tree_stall.h:349
 print_cpu_stall+0x31d/0x5f0 kernel/rcu/tree_stall.h:633
 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
 rcu_pending kernel/rcu/tree.c:3936 [inline]
 rcu_sched_clock_irq+0x6d8/0x1110 kernel/rcu/tree.c:2619
 update_process_times+0x193/0x200 kernel/time/timer.c:1818
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1690 [inline]
 __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:preempt_count_add+0x149/0x190 kernel/sched/core.c:5512
Code: 38 c1 0f 8c 00 ff ff ff 89 fb 48 c7 c7 80 2f 0c 96 e8 9b c1 6a 00 89 df e9 eb fe ff ff 48 c7 c1 80 2f 0c 96 80 e1 07 80 c1 03 <38> c1 0f 8c 05 ff ff ff 89 fb 48 c7 c7 80 2f 0c 96 e8 71 c1 6a 00
RSP: 0018:ffffc9000425f888 EFLAGS: 00000206
RAX: 0000000000000004 RBX: ffffc9000425f968 RCX: ffffffff960c2f03
RDX: dffffc0000000000 RSI: ffffffff816678b8 RDI: 0000000000000001
RBP: ffffc9000425f9b0 R08: ffffc9000425fa30 R09: 0000000000000000
R10: fffff5200084bf39 R11: 1ffff9200084bf37 R12: ffffffff816678b8
R13: ffffc9000425fa00 R14: dffffc0000000000 R15: dffffc0000000000
 unwind_next_frame+0xac/0x1d90 arch/x86/kernel/unwind_orc.c:433
 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track mm/kasan/common.c:46 [inline]
 set_alloc_info mm/kasan/common.c:434 [inline]
 __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467
 kasan_slab_alloc include/linux/kasan.h:254 [inline]
 slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
 slab_alloc_node mm/slub.c:3225 [inline]
 slab_alloc mm/slub.c:3233 [inline]
 kmem_cache_alloc+0x100/0x290 mm/slub.c:3238
 getname_flags+0xb5/0x500 fs/namei.c:138
 do_sys_openat2+0xcf/0x4a0 fs/open.c:1247
 do_sys_open fs/open.c:1269 [inline]
 __do_sys_open fs/open.c:1277 [inline]
 __se_sys_open fs/open.c:1273 [inline]
 __x64_sys_open+0x11b/0x140 fs/open.c:1273
 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:0x7fd4efec7ba9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd4ee12f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fd4f010efa0 RCX: 00007fd4efec7ba9
RDX: 0000000000000000 RSI: 0000000000002601 RDI: 0000200000000000
RBP: 00007fd4eff4ae19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd4f010f038 R14: 00007fd4f010efa0 R15: 00007ffe7a6eab78
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/12 17:46 linux-5.15.y 43bb85222e53 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
* Struck through repros no longer work on HEAD.