syzbot


INFO: rcu detected stall in timerfd_release (2)

Status: auto-obsoleted due to no activity on 2023/10/07 22:46
Subsystems: fs
[Documentation on labels]
First crash: 297d, last: 297d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in timerfd_release fs 2 718d 785d 0/26 auto-closed as invalid on 2022/08/12 21:39

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-...D } 2658 jiffies s: 15381 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10685 Comm: syz-executor.0 Not tainted 6.4.0-syzkaller-12491-gc192ac735768 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1717 [inline]
RIP: 0010:__hrtimer_run_queues+0x303/0xc00 kernel/time/hrtimer.c:1752
Code: 10 01 48 c1 ea 03 80 3c 02 00 0f 85 fc 07 00 00 48 89 e8 48 c1 e0 07 49 39 9c 06 c8 00 00 00 0f 85 6c 07 00 00 e8 bd c5 10 00 <48> 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00
RSP: 0018:ffffc900003e8e40 EFLAGS: 00000046
RAX: 0000000000010002 RBX: ffff88807ca51340 RCX: 0000000000000000
RDX: ffff8880774a2200 RSI: ffffffff81733cd3 RDI: ffff88807ca51340
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: ffff8880b992b980 R14: ffff8880b992b880 R15: 0000000000000001
FS:  0000555555c87400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 000000002bb2f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline]
 __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115
 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:101 [inline]
RIP: 0010:do_raw_spin_unlock+0x89/0x230 kernel/locking/spinlock_debug.c:140
Code: ff df 48 c1 ea 03 0f b6 14 02 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 6a 01 00 00 8b 45 00 85 c0 0f 84 f3 00 00 00 <4c> 8d 6d 10 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80
RSP: 0018:ffffc900034cfd80 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffffff8cb85840 RCX: ffffffff8165d3a4
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88807de91908
RBP: ffff88807de91908 R08: 0000000000000000 R09: ffffed100fbd2321
R10: ffff88807de9190b R11: 0000000000000001 R12: ffff88807de91908
R13: ffff88807de91900 R14: ffffffff8cb85840 R15: ffff888148451510
 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_unlock+0x1e/0x40 kernel/locking/spinlock.c:186
 spin_unlock include/linux/spinlock.h:391 [inline]
 timerfd_remove_cancel fs/timerfd.c:148 [inline]
 timerfd_release+0x97/0x290 fs/timerfd.c:239
 __fput+0x40c/0xad0 fs/file_table.c:384
 task_work_run+0x16f/0x270 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2a2863e12b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007fff6ee0d4c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f2a2863e12b
RDX: 00007f2a28200340 RSI: ffffffffffffffff RDI: 0000000000000003
RBP: 00007f2a287ad980 R08: 0000000000000000 R09: 00007f2a28200000
R10: 00007f2a28200348 R11: 0000000000000293 R12: 00000000000da0ff
R13: 00007fff6ee0d5c0 R14: 00007f2a287abf80 R15: 0000000000000032
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/09 22:35 upstream c192ac735768 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in timerfd_release
* Struck through repros no longer work on HEAD.