INFO: rcu detected stall in sys_clock_adjtime (2)

Status: upstream: reported on 2026/05/14 12:23
Reported-by: syzbot+781e8ba5e868d69673f4@syzkaller.appspotmail.com
First crash: 205d, last: 15d
▶ ▼ Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in sys_clock_adjtime 1 28 901d 1353d 0/3 auto-obsoleted due to no activity on 2024/09/25 13:11
linux-6.1 INFO: rcu detected stall in sys_clock_adjtime (3) origin:upstream 1 syz error 11 93d 417d 0/3 upstream: reported syz repro on 2025/10/14 11:53
upstream INFO: rcu detected stall in sys_clock_adjtime kernel 1 syz, C done inconclusive 203 6d15h 2342d 0/30 upstream: reported C repro on 2020/07/07 15:13
linux-6.6 INFO: rcu detected stall in sys_clock_adjtime 1 2 382d 394d 0/2 auto-obsoleted due to no activity on 2026/02/26 19:58
linux-5.15 INFO: rcu detected stall in sys_clock_adjtime origin:upstream 1 syz, C error 61 34d 1339d 0/3 upstream: reported C repro on 2023/04/06 18:02
linux-6.1 INFO: rcu detected stall in sys_clock_adjtime (2) 1 3 719d 726d 0/3 auto-obsoleted due to no activity on 2025/03/26 12:12
upstream BUG: workqueue lockup (5) prio:low kernel 1 syz, C done 18263 1h05m 2517d 0/30 upstream: reported C repro on 2020/01/14 22:04

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (0 ticks this GP) idle=5a74/1/0x4000000000000000 softirq=32005/32005 fqs=5
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P9343/1:b..l P9354/1:b..l
rcu: 	(detected by 0, t=10502 jiffies, g=37609, q=876 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9347 Comm: syz.6.1051 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
RIP: 0010:__lock_acquire+0xe7b/0x7eb0 kernel/locking/lockdep.c:5141
Code: 00 00 fc ff df 42 0f b6 04 00 84 c0 0f 85 5e 0e 00 00 83 3d 16 b3 c9 16 00 48 8b 44 24 28 75 3c 48 63 d8 48 89 d8 48 c1 e8 06 <48> 8d 3c c5 00 35 22 92 be 08 00 00 00 e8 83 f7 77 00 49 b8 00 00
RSP: 0018:ffffc900001f07c0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff9832a403
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92223500
RBP: ffffc900001f0a08 R08: dffffc0000000000 R09: 1ffffffff24446a0
R10: dffffc0000000000 R11: fffffbfff24446a1 R12: ffff88802727c6cc
R13: ffff88802727bc00 R14: 0000000000000002 R15: ffff88802727c758
FS:  00007f860831e6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002b80 CR3: 0000000033ca2000 CR4: 00000000003506e0
Call Trace:
 <IRQ>
 lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5790
 debug_objects_fill_pool+0xab/0x790 lib/debugobjects.c:653
 debug_object_activate+0x36/0x500 lib/debugobjects.c:743
 debug_hrtimer_activate kernel/time/hrtimer.c:450 [inline]
 debug_activate kernel/time/hrtimer.c:504 [inline]
 enqueue_hrtimer+0x34/0x380 kernel/time/hrtimer.c:1100
 __run_hrtimer kernel/time/hrtimer.c:1771 [inline]
 __hrtimer_run_queues+0x62f/0xc10 kernel/time/hrtimer.c:1818
 hrtimer_interrupt+0x39d/0x980 kernel/time/hrtimer.c:1880
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1077 [inline]
 __sysvec_apic_timer_interrupt+0xfb/0x3b0 arch/x86/kernel/apic/apic.c:1094
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xc0/0x120 kernel/locking/spinlock.c:194
Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 6b a2 bb f6 65 8b 05 7c 23 62 75 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90004e7f900 EFLAGS: 00000206
RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: fb3e05a9b000aa00
RDX: dffffc0000000000 RSI: ffffffff8aead140 RDI: 0000000000000001
RBP: ffffc90004e7f990 R08: ffffffff92223507 R09: 1ffffffff24446a0
R10: dffffc0000000000 R11: fffffbfff24446a1 R12: dffffc0000000000
R13: ffff8880b8c2b740 R14: ffff8880b8c2b740 R15: 1ffff920009cff20
 clock_was_set+0x689/0x800 kernel/time/hrtimer.c:986
 timekeeping_inject_offset+0x5d0/0x670 kernel/time/timekeeping.c:1395
 do_adjtimex+0x47c/0xa10 kernel/time/timekeeping.c:2450
 do_clock_adjtime kernel/time/posix-timers.c:1160 [inline]
 __do_sys_clock_adjtime kernel/time/posix-timers.c:1172 [inline]
 __se_sys_clock_adjtime kernel/time/posix-timers.c:1163 [inline]
 __x64_sys_clock_adjtime+0x244/0x320 kernel/time/posix-timers.c:1163
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f86073a9559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f860831e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000131
RAX: ffffffffffffffda RBX: 00007f8607625fa0 RCX: 00007f86073a9559
RDX: 0000000000000000 RSI: 0000200000002b80 RDI: 0000000000000000
RBP: 00007f8607438136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8607626038 R14: 00007f8607625fa0 R15: 00007ffdc9ce0308
 </TASK>
task:syz.3.1047      state:R  running task     stack:26216 pid:9354  ppid:5789   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5393 [inline]
 __schedule+0x156f/0x4720 kernel/sched/core.c:6722
 preempt_schedule_common+0x82/0xc0 kernel/sched/core.c:6889
 preempt_schedule+0xc0/0xd0 kernel/sched/core.c:6913
 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45
 unwind_next_frame+0x201c/0x2990 arch/x86/kernel/unwind_orc.c:672
 __unwind_start+0x5bb/0x730 arch/x86/kernel/unwind_orc.c:760
 unwind_start arch/x86/include/asm/unwind.h:64 [inline]
 arch_stack_walk+0xf8/0x190 arch/x86/kernel/stacktrace.c:24
 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
 save_stack+0x125/0x230 mm/page_owner.c:128
 __reset_page_owner+0x4e/0x190 mm/page_owner.c:149
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1182 [inline]
 free_unref_page_prepare+0x7d7/0x8f0 mm/page_alloc.c:2366
 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2505
 release_pages+0x208a/0x2300 mm/swap.c:1022
 __folio_batch_release+0x71/0xe0 mm/swap.c:1042
 folio_batch_release include/linux/pagevec.h:83 [inline]
 shmem_undo_range+0x5ff/0x1a80 mm/shmem.c:1026
 shmem_truncate_range mm/shmem.c:1135 [inline]
 shmem_fallocate+0x444/0x1020 mm/shmem.c:3081
 vfs_fallocate+0x585/0x6f0 fs/open.c:324
 madvise_remove mm/madvise.c:1006 [inline]
 madvise_vma_behavior mm/madvise.c:1030 [inline]
 madvise_walk_vmas mm/madvise.c:1265 [inline]
 do_madvise+0x166b/0x3790 mm/madvise.c:1445
 __do_sys_madvise mm/madvise.c:1458 [inline]
 __se_sys_madvise mm/madvise.c:1456 [inline]
 __x64_sys_madvise+0xa6/0xc0 mm/madvise.c:1456
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7efea23a9559
RSP: 002b:00007efea32a6028 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007efea2626090 RCX: 00007efea23a9559
RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000200000000000
RBP: 00007efea2438136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007efea2626128 R14: 00007efea2626090 R15: 00007ffec1376e98
 </TASK>
task:syz.4.1050      state:R  running task     stack:26536 pid:9343  ppid:6498   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5393 [inline]
 __schedule+0x156f/0x4720 kernel/sched/core.c:6722
 preempt_schedule_irq+0xbf/0x150 kernel/sched/core.c:7032
 irqentry_exit+0x67/0x70 kernel/entry/common.c:441
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:lock_acquire+0x208/0x420 kernel/locking/lockdep.c:5794
Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3c 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 3c 00 00 00 00 43 c7 44 3c 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc900046af180 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: e851f237fbbd8800
RDX: 0000000000000000 RSI: ffffffff8aeae2c0 RDI: ffffffff8b3c5260
RBP: ffffc900046af2a0 R08: dffffc0000000000 R09: 1ffffffff24446a0
R10: dffffc0000000000 R11: fffffbfff24446a1 R12: 1ffff920008d5e3c
R13: ffffffff8e1322e0 R14: 0000000000000246 R15: dffffc0000000000
 rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 rcu_read_lock include/linux/rcupdate.h:786 [inline]
 page_ext_get+0x3e/0x2b0 mm/page_ext.c:508
 __page_table_check_zero+0x138/0x4b0 mm/page_table_check.c:148
 prep_new_page mm/page_alloc.c:1589 [inline]
 get_page_from_freelist+0x2181/0x22a0 mm/page_alloc.c:3221
 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4501
 __folio_alloc+0x10/0x20 mm/page_alloc.c:4533
 vma_alloc_folio+0x474/0x8f0 mm/mempolicy.c:2240
 shmem_alloc_folio+0x1a9/0x2a0 mm/shmem.c:1679
 shmem_alloc_and_acct_folio+0x1cb/0x6c0 mm/shmem.c:1704
 shmem_get_folio_gfp+0xe1d/0x2b40 mm/shmem.c:2041
 shmem_get_folio mm/shmem.c:2164 [inline]
 shmem_write_begin+0xf2/0x430 mm/shmem.c:2706
 generic_perform_write+0x2fe/0x5c0 mm/filemap.c:4027
 shmem_file_write_iter+0xfb/0x120 mm/shmem.c:2883
 call_write_iter include/linux/fs.h:2019 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x474/0x9a0 fs/read_write.c:584
 ksys_write+0x151/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe583169d8e
RSP: 002b:00007fe583f99d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fe583f9a6c0 RCX: 00007fe583169d8e
RDX: 0000000001000000 RSI: 00007fe578ff7000 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe583f99ea0
R13: 0000000000000000 R14: 00007fe578ff7000 R15: 00007fe583f99ee0
 </TASK>
rcu: rcu_preempt kthread starved for 10475 jiffies! g37609 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R  running task     stack:27816 pid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5393 [inline]
 __schedule+0x156f/0x4720 kernel/sched/core.c:6722
 schedule+0xbd/0x170 kernel/sched/core.c:6796
 schedule_timeout+0x188/0x2d0 kernel/time/timer.c:2168
 rcu_gp_fqs_loop+0x30d/0x15e0 kernel/rcu/tree.c:1667
 rcu_gp_kthread+0x9e/0x400 kernel/rcu/tree.c:1866
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 PID: 1101 Comm: kworker/u4:9 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline]
RIP: 0010:smp_call_function_many_cond+0xd85/0x1190 kernel/smp.c:855
Code: 45 8b 34 24 44 89 f6 83 e6 01 31 ff e8 34 06 0b 00 41 83 e6 01 49 be 00 00 00 00 00 fc ff df 75 07 e8 6f 02 0b 00 eb 38 f3 90 <42> 0f b6 04 33 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 53 02
RSP: 0018:ffffc900045ff780 EFLAGS: 00000293
RAX: ffffffff817cdc4d RBX: 1ffff110171a83e1 RCX: ffff8880250c9e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900045ff900 R08: ffffffff92223507 R09: 1ffffffff24446a0
R10: dffffc0000000000 R11: fffffbfff24446a1 R12: ffff8880b8d41f08
R13: ffff8880b8c3d380 R14: dffffc0000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb71d06a8dc CR3: 000000000df32000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1022
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:2222 [inline]
 text_poke_bp_batch+0x31e/0x980 arch/x86/kernel/alternative.c:2432
 text_poke_flush arch/x86/kernel/alternative.c:2623 [inline]
 text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2630
 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x123/0x240 kernel/jump_label.c:207
 static_key_enable+0x1a/0x20 kernel/jump_label.c:220
 toggle_allocation_gate+0xa8/0x260 mm/kfence/core.c:847
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/20 10:27 linux-6.6.y 5139929c698c 625aa117 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/10/27 20:46 linux-6.6.y 0aebf2870d53 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/10/27 20:44 linux-6.6.y 0aebf2870d53 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/10/20 23:54 linux-6.6.y cecd39af8a1a df8746fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/10/20 15:12 linux-6.6.y cecd39af8a1a df8746fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/10/02 05:08 linux-6.6.y 79643295eba1 6d32eb1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/09/22 09:15 linux-6.6.y 79643295eba1 e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/09/22 08:37 linux-6.6.y 79643295eba1 e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/09/22 08:35 linux-6.6.y 79643295eba1 e12281bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/09/02 19:00 linux-6.6.y 8b73de7da85f 85995287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/09/02 18:58 linux-6.6.y 8b73de7da85f 85995287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/07/28 06:17 linux-6.6.y c5596480c50e 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/07/08 13:13 linux-6.6.y da47cbc25466 88a4b44c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/06/14 05:37 linux-6.6.y 924b4a879cbb 1d2f3589 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/05/23 14:59 linux-6.6.y 0a40c6fbd105 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/05/23 04:25 linux-6.6.y eac8889a3a1c c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/05/15 00:36 linux-6.6.y 3b9f64db0496 6ccb967e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
2026/05/14 12:23 linux-6.6.y 3b9f64db0496 6ccb967e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: rcu detected stall in sys_clock_adjtime
* Struck through repros no longer work on HEAD.