syzbot


KCSAN: data-race in __hrtimer_run_queues / hrtimer_try_to_cancel

Status: moderation: reported on 2026/07/07 05:19
Subsystems: kernel
Labels: race:benign
[Documentation on labels]
Reported-by: syzbot+0845bee7a0d7de883544@syzkaller.appspotmail.com
First crash: 1d11h, last: 1d11h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
2685b377-1379-41a4-80bd-13fcd03e8598 assessment-kcsan Benign: ✅ KCSAN: data-race in __hrtimer_run_queues / hrtimer_try_to_cancel 2026/07/07 05:18 2026/07/07 05:20 2026/07/07 05:54 93f579545ae410f5bccfa141d2e7bf03178f036c

			
		

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __hrtimer_run_queues / hrtimer_try_to_cancel

write to 0xffff888237d1b7e0 of 8 bytes by interrupt on cpu 1:
 __run_hrtimer kernel/time/hrtimer.c:2001 [inline]
 __hrtimer_run_queues+0x11f/0x510 kernel/time/hrtimer.c:2096
 hrtimer_interrupt+0x257/0x810 kernel/time/hrtimer.c:2215
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1051 [inline]
 __sysvec_apic_timer_interrupt+0x5f/0x1c0 arch/x86/kernel/apic/apic.c:1068
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
 sysvec_apic_timer_interrupt+0x6f/0x80 arch/x86/kernel/apic/apic.c:1062
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
 __tsan_read8+0x0/0x190 kernel/kcsan/core.c:753
 show_numa_info mm/vmalloc.c:5278 [inline]
 vmalloc_info_show+0x503/0x850 mm/vmalloc.c:5363
 traverse+0x12b/0x3b0 fs/seq_file.c:112
 seq_read_iter+0x7dc/0x8f0 fs/seq_file.c:196
 proc_reg_read_iter+0x110/0x180 fs/proc/inode.c:299
 do_iter_readv_writev+0x4f6/0x5a0 fs/read_write.c:-1
 vfs_readv+0x1e8/0x6d0 fs/read_write.c:1019
 do_preadv fs/read_write.c:1133 [inline]
 __do_sys_preadv fs/read_write.c:1180 [inline]
 __se_sys_preadv fs/read_write.c:1175 [inline]
 __x64_sys_preadv+0xfd/0x1c0 fs/read_write.c:1175
 x64_sys_call+0x2915/0x3020 arch/x86/include/generated/asm/syscalls_64.h:296
 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

read to 0xffff888237d1b7e0 of 8 bytes by task 3297 on cpu 0:
 hrtimer_active kernel/time/hrtimer.c:1964 [inline]
 hrtimer_try_to_cancel+0x7e/0x3c0 kernel/time/hrtimer.c:1623
 hrtimer_cancel kernel/time/hrtimer.c:1750 [inline]
 do_nanosleep+0xcd/0x360 kernel/time/hrtimer.c:2401
 hrtimer_nanosleep+0xf2/0x290 kernel/time/hrtimer.c:2445
 common_nsleep+0x62/0x80 kernel/time/posix-timers.c:1360
 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1406 [inline]
 __se_sys_clock_nanosleep+0x223/0x260 kernel/time/posix-timers.c:1383
 __x64_sys_clock_nanosleep+0x55/0x70 kernel/time/posix-timers.c:1383
 x64_sys_call+0x146e/0x3020 arch/x86/include/generated/asm/syscalls_64.h:231
 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: 0x0000000000000000 -> 0xffff88811c780a30

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3297 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/07 05:18 upstream 0e35b9b6ec0f 8e71ce95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __hrtimer_run_queues / hrtimer_try_to_cancel
* Struck through repros no longer work on HEAD.