syzbot


INFO: rcu detected stall in sys_timerfd_settime (4)

Status: auto-obsoleted due to no activity on 2024/06/12 13:14
Subsystems: fs
[Documentation on labels]
First crash: 156d, last: 156d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in sys_timerfd_settime (2) 3 41d 81d 0/3 upstream: reported on 2024/06/27 06:29
upstream INFO: rcu detected stall in sys_timerfd_settime fs 3 1039d 1106d 0/28 closed as invalid on 2022/02/08 09:50
upstream INFO: rcu detected stall in sys_timerfd_settime (2) net 1 608d 608d 0/28 auto-obsoleted due to no activity on 2023/04/25 06:19
upstream INFO: rcu detected stall in sys_timerfd_settime (3) fs 2 250d 303d 0/28 auto-obsoleted due to no activity on 2024/04/09 00:01
linux-5.15 INFO: rcu detected stall in sys_timerfd_settime 1 460d 460d 0/3 auto-obsoleted due to no activity on 2023/09/22 02:06
linux-6.1 INFO: rcu detected stall in sys_timerfd_settime 1 452d 452d 0/3 auto-obsoleted due to no activity on 2023/09/29 23:03

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (1 ticks this GP) idle=4fc4/1/0x4000000000000000 softirq=41347/41347 fqs=0
rcu: 	(detected by 1, t=10502 jiffies, g=59505, q=312 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10439 Comm: syz-executor.3 Not tainted 6.9.0-rc3-next-20240412-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:rcu_is_watching+0x1c/0xb0 kernel/rcu/tree.c:725
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 65 ff 05 68 4b 87 7e e8 5b 51 08 0a 89 c3 83 f8 08 73 7a <49> bf 00 00 00 00 00 fc ff df 4c 8d 34 dd e0 09 d9 8d 4c 89 f0 48
RSP: 0018:ffffc90000007d08 EFLAGS: 00000093
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8183ee16
RDX: ffff888025bd3c00 RSI: ffffffff8c1fa740 RDI: ffffffff8c1fa700
RBP: 0000000000000001 R08: ffffffff8183ee3c R09: 1ffffffff1f57cd5
R10: dffffc0000000000 R11: fffffbfff1f57cd6 R12: dffffc0000000000
R13: ffff8880b942c980 R14: ffff88802279b340 R15: ffff8880b942c880
FS:  00007f803edff6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f803f2f2d2b CR3: 000000002b7ea000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 trace_hrtimer_start include/trace/events/timer.h:222 [inline]
 debug_activate kernel/time/hrtimer.c:479 [inline]
 enqueue_hrtimer+0xa5/0x3c0 kernel/time/hrtimer.c:1090
 __run_hrtimer kernel/time/hrtimer.c:1709 [inline]
 __hrtimer_run_queues+0x6d5/0xd50 kernel/time/hrtimer.c:1756
 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
 __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5758
Code: 2b 00 74 08 4c 89 f7 e8 ba 05 89 00 f6 44 24 61 02 0f 85 85 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:ffffc90009337ba0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92001266f80 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8bcae420 RDI: ffffffff8c1fa760
RBP: ffffc90009337ce8 R08: ffffffff9401341f R09: 1ffffffff2802683
R10: dffffc0000000000 R11: fffffbfff2802684 R12: 1ffff92001266f7c
R13: dffffc0000000000 R14: ffffc90009337c00 R15: 0000000000000246
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 timerfd_setup_cancel fs/timerfd.c:167 [inline]
 do_timerfd_settime+0xda8/0x1020 fs/timerfd.c:492
 __do_sys_timerfd_settime fs/timerfd.c:583 [inline]
 __se_sys_timerfd_settime fs/timerfd.c:574 [inline]
 __x64_sys_timerfd_settime+0x16f/0x220 fs/timerfd.c:574
 do_syscall_x64 arch/x86/entry/common.c:74 [inline]
 do_syscall_64+0xfa/0x250 arch/x86/entry/common.c:105
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f803f27de69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f803edff0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011e
RAX: ffffffffffffffda RBX: 00007f803f3abf80 RCX: 00007f803f27de69
RDX: 0000000020000080 RSI: 0000000000000003 RDI: 0000000000000006
RBP: 00007f803f2ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f803f3abf80 R15: 00007ffede767108
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g59505 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=33628
rcu: rcu_preempt kthread starved for 10502 jiffies! g59505 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25904 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5409 [inline]
 __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
 __schedule_loop kernel/sched/core.c:6823 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6838
 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582
 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:2030
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2232
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/13 13:09 linux-next 9ed46da14b9b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in sys_timerfd_settime
* Struck through repros no longer work on HEAD.