syzbot


KCSAN: data-race in clockevents_program_min_delta / print_tickdevice (3)

Status: auto-obsoleted due to no activity on 2023/06/18 09:00
Subsystems: kernel
[Documentation on labels]
First crash: 367d, last: 367d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in clockevents_program_min_delta / print_tickdevice kernel 2 603d 604d 0/26 auto-obsoleted due to no activity on 2022/10/25 15:55
upstream KCSAN: data-race in clockevents_program_min_delta / print_tickdevice (2) kernel 6 424d 545d 0/26 auto-obsoleted due to no activity on 2023/04/25 16:15

Sample crash report:
==================================================================
BUG: KCSAN: data-race in clockevents_program_min_delta / print_tickdevice

read-write to 0xffff888237c1bf40 of 8 bytes by interrupt on cpu 0:
 clockevents_program_min_delta+0xb6/0x250 kernel/time/clockevents.c:246
 clockevents_program_event+0x16f/0x1d0
 tick_program_event+0x7c/0xc0 kernel/time/tick-oneshot.c:44
 __hrtimer_reprogram kernel/time/hrtimer.c:681 [inline]
 hrtimer_reprogram+0x1eb/0x230 kernel/time/hrtimer.c:866
 hrtimer_update_softirq_timer+0x1e0/0x1f0 kernel/time/hrtimer.c:1209
 hrtimer_run_softirq+0xf8/0x120 kernel/time/hrtimer.c:1769
 __do_softirq+0xc1/0x265 kernel/softirq.c:571
 run_ksoftirqd+0x17/0x20 kernel/softirq.c:939
 smpboot_thread_fn+0x30a/0x4a0 kernel/smpboot.c:164
 kthread+0x1d7/0x210 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff888237c1bf40 of 8 bytes by task 13623 on cpu 1:
 print_tickdevice+0x2ae/0x340 kernel/time/timer_list.c:230
 timer_list_show+0x79/0x180 kernel/time/timer_list.c:296
 seq_read_iter+0x612/0x8f0 fs/seq_file.c:272
 proc_reg_read_iter+0x10e/0x180 fs/proc/inode.c:305
 call_read_iter include/linux/fs.h:1862 [inline]
 generic_file_splice_read+0xe3/0x290 fs/splice.c:419
 do_splice_to fs/splice.c:902 [inline]
 splice_direct_to_actor+0x25a/0x5f0 fs/splice.c:973
 do_splice_direct+0x104/0x180 fs/splice.c:1082
 do_sendfile+0x3b8/0x950 fs/read_write.c:1254
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64 fs/read_write.c:1308 [inline]
 __x64_sys_sendfile64+0x110/0x150 fs/read_write.c:1308
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x0000000000082126 -> 0x0000000000082128

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 13623 Comm: syz-executor.1 Not tainted 6.4.0-rc1-syzkaller-00138-gd4d58949a6ea #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/14 08:56 upstream d4d58949a6ea 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in clockevents_program_min_delta / print_tickdevice
* Struck through repros no longer work on HEAD.