syzbot


INFO: rcu detected stall in sys_clock_adjtime

Status: upstream: reported C repro on 2023/04/06 18:02
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+2a9eb855886c8c69a62e@syzkaller.appspotmail.com
First crash: 795d, last: 4d14h
Bug presence (1)
Date Name Commit Repro Result
2023/10/08 upstream (ToT) 94f6f0550c62 C [report] INFO: rcu detected stall in sys_clock_adjtime
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in sys_clock_adjtime 28 357d 809d 0/3 auto-obsoleted due to no activity on 2024/09/25 13:11
upstream INFO: rcu detected stall in sys_clock_adjtime kernel C done inconclusive 132 56d 1798d 0/28 upstream: reported C repro on 2020/07/07 15:13
linux-6.1 INFO: rcu detected stall in sys_clock_adjtime (2) 3 175d 182d 0/3 auto-obsoleted due to no activity on 2025/03/26 12:12
Last patch testing requests (5)
Created Duration User Patch Repo Result
2025/06/01 23:28 12m retest repro linux-5.15.y report log
2025/03/12 21:11 13m retest repro linux-5.15.y report log
2025/01/25 13:59 10m retest repro linux-5.15.y report log
2024/12/18 10:52 12m retest repro linux-5.15.y report log
2024/10/09 02:58 21m retest repro linux-5.15.y report log
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2025/05/18 16:02 1h33m bisect fix linux-5.15.y OK (0) job log log
2025/04/16 03:41 2h22m bisect fix linux-5.15.y OK (0) job log log
2025/02/25 21:33 1h42m bisect fix linux-5.15.y OK (0) job log log
2024/11/15 19:04 2h05m bisect fix linux-5.15.y OK (0) job log log
2024/09/15 23:31 1h20m bisect fix linux-5.15.y OK (0) job log log
2024/07/28 06:54 1h21m bisect fix linux-5.15.y OK (0) job log log
2024/01/20 01:34 1h04m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...0: (1 GPs behind) idle=8d3/1/0x4000000000000000 softirq=5607/5608 fqs=5250 
	(detected by 0, t=10502 jiffies, g=5429, q=362)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4183 Comm: syz-executor117 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__lock_acquire+0x101/0x7c60 kernel/locking/lockdep.c:4882
Code: 00 83 3d 71 c6 a2 0a 00 74 29 48 89 d8 48 c1 e8 03 42 80 3c 00 00 74 12 48 89 df e8 89 4e 61 00 49 b8 00 00 00 00 00 fc ff df <48> 81 3b 80 af b0 8f 75 03 45 31 e4 44 89 bc 24 c8 00 00 00 41 83
RSP: 0018:ffffc90000dd08c0 EFLAGS: 00000046
RAX: 1ffff11003276e60 RBX: ffff8880193b7300 RCX: 1ffff920001ba13c
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880193b7300
RBP: ffffc90000dd0b10 R08: dffffc0000000000 R09: 0000000000000001
R10: fffffbfff1ad157e R11: 1ffffffff1ad157d R12: 0000000000000001
R13: ffff888079c1d940 R14: 0000000000000000 R15: 0000000000000001
FS:  000055556d55d3c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000600 CR3: 00000000226ae000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
 __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]
 advance_sched+0x47/0x940 net/sched/sch_taprio.c:716
 __run_hrtimer kernel/time/hrtimer.c:1690 [inline]
 __hrtimer_run_queues+0x53d/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194
Code: 74 05 e8 3e 14 d3 f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 06 94 a6 f7 65 8b 05 a7 a3 57 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90002eaf920 EFLAGS: 00000206
RAX: 50cbd6cf33a10600 RBX: 0000000000000a06 RCX: 50cbd6cf33a10600
RDX: dffffc0000000000 RSI: ffffffff8a0b11c0 RDI: 0000000000000001
RBP: ffffc90002eaf9b0 R08: dffffc0000000000 R09: fffffbfff1ff3619
R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880b902a200 R15: 1ffff920005d5f24
 clock_was_set+0x642/0x840 kernel/time/hrtimer.c:960
 timekeeping_inject_offset+0x578/0x620 kernel/time/timekeeping.c:1378
 do_adjtimex+0x418/0x9b0 kernel/time/timekeeping.c:2427
 do_clock_adjtime kernel/time/posix-timers.c:1155 [inline]
 __do_sys_clock_adjtime kernel/time/posix-timers.c:1167 [inline]
 __se_sys_clock_adjtime kernel/time/posix-timers.c:1158 [inline]
 __x64_sys_clock_adjtime+0x1f0/0x2a0 kernel/time/posix-timers.c:1158
 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:0x7fd67ead9ee9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 1d 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:00007ffcafd69c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000131
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fd67ead9ee9
RDX: 0000200000000078 RSI: 0000200000000040 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000100000000 R09: 0000000100000000
R10: 0000200000000788 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.428 msecs

Crashes (48):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/05 20:04 linux-5.15.y 1c700860e8bc 6b6b5f21 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/05/06 03:33 linux-5.15.y 284087d4f7d5 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/10/08 20:44 linux-5.15.y 1edcec18cfb7 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/11/26 14:14 linux-5.15.y 0a51d2d4527b e9a9a9f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/08/13 03:23 linux-5.15.y 7e89efd3ae1c 7b0f4b46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/08/12 14:26 linux-5.15.y 7e89efd3ae1c 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/08/10 08:29 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/06/12 01:27 linux-5.15.y c61bd26ae81a 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/06/11 08:29 linux-5.15.y c61bd26ae81a b7d9eb04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/06/06 04:21 linux-5.15.y c61bd26ae81a 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/05/24 02:35 linux-5.15.y 83655231580b 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/05/17 15:54 linux-5.15.y 83655231580b a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/05/16 20:47 linux-5.15.y 284087d4f7d5 c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/05/04 23:31 linux-5.15.y 284087d4f7d5 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/04/29 21:00 linux-5.15.y b925f60c6ee7 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/04/10 16:08 linux-5.15.y cdfd0a7f0139 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/04/08 11:24 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/03/21 06:00 linux-5.15.y b95c01af2113 6753db5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/03/09 06:57 linux-5.15.y 574362648507 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/02/23 14:27 linux-5.15.y 458ce51d0356 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/02/09 23:08 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2024/01/23 20:20 linux-5.15.y ddcaf4999061 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/12/20 21:41 linux-5.15.y 1d146b1875fc de21eb89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/12/14 02:22 linux-5.15.y d0fc081c6241 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/12/12 16:02 linux-5.15.y 8a1d809b0545 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/12/06 20:18 linux-5.15.y 9b91d36ba301 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/11/10 09:45 linux-5.15.y 80529b4968a8 45e9b83e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/11/03 21:42 linux-5.15.y 12952a23a5da 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/10/20 18:24 linux-5.15.y 00c03985402e 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/10/12 09:36 linux-5.15.y 02e21884dcf2 1b231e3c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/10/09 20:03 linux-5.15.y 1edcec18cfb7 3c53c7d9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/10/07 13:21 linux-5.15.y 1edcec18cfb7 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/10/03 05:14 linux-5.15.y b911329317b4 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/10/02 14:12 linux-5.15.y b911329317b4 50b20e75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/09/11 14:43 linux-5.15.y aff03380bda4 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/08/31 22:48 linux-5.15.y 9e43368a3393 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/08/25 15:50 linux-5.15.y f6f7927ac664 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/08/22 17:52 linux-5.15.y f6f7927ac664 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/07/25 19:46 linux-5.15.y 5c6a716301d9 6756545c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/07/04 00:28 linux-5.15.y 4af60700a60c 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/06/28 14:48 linux-5.15.y 4af60700a60c 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/05/16 10:15 linux-5.15.y b0ece631f84a 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/04/26 19:58 linux-5.15.y f48aeeaaa64c 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/04/13 00:51 linux-5.15.y d86dfc4d95cd 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/04/06 18:02 linux-5.15.y d86dfc4d95cd 08707520 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_clock_adjtime
2023/09/15 04:43 linux-5.15.y aff03380bda4 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in sys_clock_adjtime
2023/07/05 17:37 linux-5.15.y 4af60700a60c ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in sys_clock_adjtime
* Struck through repros no longer work on HEAD.