syzbot


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

Status: auto-obsoleted due to no activity on 2023/08/26 13:01
Subsystems: kernel
[Documentation on labels]
First crash: 547d, last: 362d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (11) kernel 6 18d 37d 0/27 moderation: reported on 2024/06/11 09:00
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (9) kernel 7 129d 184d 0/27 auto-obsoleted due to no activity on 2024/04/14 23:48
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu kernel 1 1581d 1581d 0/27 auto-closed as invalid on 2020/05/29 16:43
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (2) kernel 1 1414d 1414d 0/27 auto-closed as invalid on 2020/10/08 05:09
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (5) kernel 11 641d 724d 0/27 auto-obsoleted due to no activity on 2022/11/20 13:25
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (3) kernel 1 984d 984d 0/27 auto-closed as invalid on 2021/12/12 15:07
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (10) kernel 2 82d 83d 0/27 auto-obsoleted due to no activity on 2024/06/01 18:17
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (7) kernel 3 316d 326d 0/27 auto-obsoleted due to no activity on 2023/10/11 12:54
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (4) kernel 1 948d 948d 0/27 auto-closed as invalid on 2022/01/17 18:45
upstream KCSAN: data-race in hrtimer_reprogram / print_cpu (8) kernel 1 239d 219d 0/27 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 0xffff888237d1ed60 of 8 bytes by task 3093 on cpu 1:
 __hrtimer_reprogram kernel/time/hrtimer.c:661 [inline]
 hrtimer_reprogram+0x1bd/0x230 kernel/time/hrtimer.c:868
 hrtimer_start_range_ns+0x4e8/0x660 kernel/time/hrtimer.c:1302
 hrtimer_start_expires include/linux/hrtimer.h:432 [inline]
 hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1968 [inline]
 do_nanosleep+0x85/0x2f0 kernel/time/hrtimer.c:2044
 hrtimer_nanosleep+0xe7/0x1e0 kernel/time/hrtimer.c:2100
 common_nsleep+0x68/0x80 kernel/time/posix-timers.c:1350
 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline]
 __se_sys_clock_nanosleep+0x202/0x230 kernel/time/posix-timers.c:1373
 __x64_sys_clock_nanosleep+0x55/0x60 kernel/time/posix-timers.c:1373
 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

read to 0xffff888237d1ed60 of 8 bytes by task 6288 on cpu 0:
 print_cpu+0x2fb/0x640 kernel/time/timer_list.c:133
 timer_list_show+0x115/0x180 kernel/time/timer_list.c:291
 seq_read_iter+0x612/0x8f0 fs/seq_file.c:272
 proc_reg_read_iter+0x114/0x180 fs/proc/inode.c:305
 call_read_iter include/linux/fs.h:1865 [inline]
 copy_splice_read+0x26b/0x4b0 fs/splice.c:367
 vfs_splice_read fs/splice.c:994 [inline]
 splice_direct_to_actor+0x28c/0x690 fs/splice.c:1070
 do_splice_direct+0x10d/0x190 fs/splice.c:1195
 do_sendfile+0x3b6/0x9a0 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: 0x00000021a14b7e00 -> 0x00000021a10c2430

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6288 Comm: syz-executor.0 Not tainted 6.5.0-rc2-syzkaller-00307-gd192f5382581 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
==================================================================

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/22 12:56 upstream d192f5382581 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/07/10 20:08 upstream 3f01e9fed845 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/06/08 18:35 upstream 5f63595ebd82 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/05/17 19:46 upstream 1b66c114d161 eaac4681 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/05/17 15:41 upstream f1fcbaa18b28 eaac4681 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/05/15 18:21 upstream f1fcbaa18b28 c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/05/08 12:20 upstream ac9a78681b92 90c93c40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/05/01 10:51 upstream 58390c8ce1bd 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/04/25 17:04 upstream 173ea743bf7a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/04/20 11:26 upstream cb0856346a60 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/04/17 12:22 upstream 6a8f57ae2eb0 c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/04/11 10:41 upstream 0d3eb744aed4 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/04/05 14:33 upstream 76f598ba7d8e 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/04/04 04:41 upstream 148341f0a2f5 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/03/06 08:11 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/02/24 18:22 upstream d2980d8d8265 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/02/12 00:59 upstream 47e9aa14ce5a 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/01/27 08:06 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in hrtimer_reprogram / print_cpu
2023/01/18 07:33 upstream 6e50979a9c87 42660d9e .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.