syzbot


INFO: rcu detected stall in sys_open

Status: upstream: reported on 2024/08/19 14:22
Reported-by: syzbot+1ecb7d7b114e4aa81f97@syzkaller.appspotmail.com
First crash: 64d, last: 7d14h
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_open fs 1 1981d 1981d 0/28 auto-closed as invalid on 2019/10/25 09:11
linux-4.19 INFO: rcu detected stall in sys_open 1 1868d 1867d 0/1 auto-closed as invalid on 2020/01/09 20:01
upstream INFO: rcu detected stall in sys_open (3) fs C inconclusive 5 1018d 1254d 0/28 closed as invalid on 2022/02/08 10:35
upstream INFO: rcu detected stall in sys_open (4) ext4 1 911d 911d 0/28 auto-closed as invalid on 2022/06/24 20:08
upstream INFO: rcu detected stall in sys_open (2) crypto C done done 42 1442d 1793d 15/28 fixed on 2020/12/23 11:40
android-5-15 BUG: soft lockup in sys_open 1 167d 167d 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-....: (10499 ticks this GP) idle=b61/1/0x4000000000000000 softirq=39708/39717 fqs=4956 
	(t=10500 jiffies g=47241 q=5971)
NMI backtrace for cpu 0
CPU: 0 PID: 7783 Comm: syz.3.707 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349
 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633
 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
 rcu_pending kernel/rcu/tree.c:3932 [inline]
 rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619
 update_process_times+0x196/0x200 kernel/time/timer.c:1818
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
 __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627
Code: 2b 00 74 08 4c 89 f7 e8 0c 75 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90003d57420 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920007aae90 RCX: ffffffff816366b2
RDX: dffffc0000000000 RSI: ffffffff8a8b3da0 RDI: ffffffff8ad904c0
RBP: ffffc90003d57578 R08: dffffc0000000000 R09: fffffbfff20e2424
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007aae8c
R13: dffffc0000000000 R14: ffffc90003d57480 R15: 0000000000000246
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:363 [inline]
 __find_get_block_slow fs/buffer.c:206 [inline]
 __find_get_block+0x410/0x1350 fs/buffer.c:1310
 __getblk_gfp+0x2d/0xaf0 fs/buffer.c:1332
 __bread_gfp+0x2a/0x390 fs/buffer.c:1381
 sb_bread include/linux/buffer_head.h:337 [inline]
 bfs_find_entry+0x1c3/0x3f0 fs/bfs/dir.c:337
 bfs_lookup+0x147/0x270 fs/bfs/dir.c:137
 lookup_open fs/namei.c:3440 [inline]
 open_last_lookups fs/namei.c:3532 [inline]
 path_openat+0x111d/0x2f20 fs/namei.c:3739
 do_filp_open+0x21c/0x460 fs/namei.c:3769
 do_sys_openat2+0x13b/0x4f0 fs/open.c:1253
 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+0x221/0x270 fs/open.c:1273
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd5f72daff9
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:00007fd5f5732038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fd5f7493058 RCX: 00007fd5f72daff9
RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000000020000180
RBP: 00007fd5f734d296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd5f7493058 R15: 00007ffcdd86d3d8
 </TASK>
hrtimer: interrupt took 541614771 ns

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/15 05:48 linux-5.15.y 3a5928702e71 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/09/03 03:15 linux-5.15.y fa93fa65db6e 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/09/03 03:13 linux-5.15.y fa93fa65db6e 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/08/27 22:06 linux-5.15.y fa93fa65db6e 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/08/23 16:29 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/08/23 16:25 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/08/23 16:25 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/08/23 04:04 linux-5.15.y fa93fa65db6e ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_open
2024/08/19 14:21 linux-5.15.y fa93fa65db6e 9f0ab3fb .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.