KCSAN: data-race in hrtimer_reprogram / print_cpu (16)

Status: moderation: reported on 2026/08/06 18:32
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+4b2308d475459b29b9aa@syzkaller.appspotmail.com
First crash: 22h22m, last: 22h22m
Similar bugs (15)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (11) kernel 6 6 768d 787d 0/29 auto-obsoleted due to no activity on 2024/08/04 04:55
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (9) kernel 6 7 879d 934d 0/29 auto-obsoleted due to no activity on 2024/04/14 23:48
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (13) kernel 6 1 497d 497d 0/29 auto-obsoleted due to no activity on 2025/05/23 00:02
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (6) kernel 6 19 1112d 1297d 0/29 auto-obsoleted due to no activity on 2023/08/26 13:01
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (12) kernel 6 5 562d 641d 0/29 auto-obsoleted due to no activity on 2025/03/19 14:48
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (14) kernel 6 10 190d 351d 0/29 auto-obsoleted due to no activity on 2026/03/26 15:11
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu kernel 6 1 2331d 2331d 0/29 auto-closed as invalid on 2020/05/29 16:43
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (2) kernel 6 1 2164d 2164d 0/29 auto-closed as invalid on 2020/10/08 05:09
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (5) kernel 6 11 1391d 1474d 0/29 auto-obsoleted due to no activity on 2022/11/20 13:25
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (3) kernel 6 1 1734d 1734d 0/29 auto-closed as invalid on 2021/12/12 15:07
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (10) kernel 6 2 831d 833d 0/29 auto-obsoleted due to no activity on 2024/06/01 18:17
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (7) kernel 6 3 1066d 1076d 0/29 auto-obsoleted due to no activity on 2023/10/11 12:54
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (4) kernel 6 1 1697d 1697d 0/29 auto-closed as invalid on 2022/01/17 18:45
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (15) kernel prio:low 6 1 125d 125d 0/29 auto-obsoleted due to no activity on 2026/05/30 07:55
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (8) kernel 6 1 989d 969d 0/29 auto-obsoleted due to no activity on 2023/12/26 20:48

Sample crash report:
==================================================================
BUG: KCSAN: data-race in hrtimer_reprogram / print_cpu

write to 0xffff888237d1b768 of 8 bytes by task 23148 on cpu 1:
 __hrtimer_reprogram kernel/time/hrtimer.c:713 [inline]
 hrtimer_reprogram+0x183/0x290 kernel/time/hrtimer.c:899
 hrtimer_start_range_ns_user+0xfa/0x150 kernel/time/hrtimer.c:1581
 hrtimer_start_expires_user include/linux/hrtimer.h:248 [inline]
 common_hrtimer_rearm+0x85/0x90 kernel/time/posix-timers.c:296
 __posixtimer_deliver_signal kernel/time/posix-timers.c:317 [inline]
 posixtimer_deliver_signal+0x103/0x350 kernel/time/posix-timers.c:348
 dequeue_signal+0x296/0x370 kernel/signal.c:660
 get_signal+0x356/0xf10 kernel/signal.c:2926
 arch_do_signal_or_restart+0x96/0x480 arch/x86/kernel/signal.c:337
 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline]
 exit_to_user_mode_loop+0x15d/0x8c0 kernel/entry/common.c:101
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline]
 do_syscall_64+0x23c/0x3c0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888237d1b768 of 8 bytes by task 23167 on cpu 0:
 print_cpu+0x2fb/0x5d0 kernel/time/timer_list.c:129
 timer_list_show+0x107/0x170 kernel/time/timer_list.c:287
 seq_read_iter+0x5f6/0x8f0 fs/seq_file.c:273
 proc_reg_read_iter+0x110/0x180 fs/proc/inode.c:299
 copy_splice_read+0x47a/0x6b0 fs/splice.c:362
 do_splice_read fs/splice.c:980 [inline]
 splice_direct_to_actor+0x261/0x680 fs/splice.c:1084
 do_splice_direct_actor fs/splice.c:1202 [inline]
 do_splice_direct+0x119/0x1a0 fs/splice.c:1228
 do_sendfile+0x37d/0x640 fs/read_write.c:1371
 __do_sys_sendfile64 fs/read_write.c:1432 [inline]
 __se_sys_sendfile64 fs/read_write.c:1418 [inline]
 __x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1418
 x64_sys_call+0x2dc4/0x3020 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000058582f75dc -> 0x00000058582bc12e

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 23167 Comm: syz.0.7065 Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/06 18:32 upstream fcaeecb8b0cd c38879ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
* Struck through repros no longer work on HEAD.