syzbot


KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter (6)

Status: auto-obsoleted due to no activity on 2023/04/06 19:58
Subsystems: kernel
[Documentation on labels]
First crash: 502d, last: 500d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter (2) kernel 8 1273d 1238d 0/26 auto-closed as invalid on 2020/12/21 11:40
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter (3) kernel 1 967d 967d 0/26 auto-closed as invalid on 2021/10/09 06:41
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter kernel 9 1429d 1548d 0/26 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter (5) kernel 1 711d 711d 0/26 auto-closed as invalid on 2022/06/22 15:45
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter (4) kernel 12 808d 910d 0/26 auto-closed as invalid on 2022/03/17 13:24

Sample crash report:
==================================================================
BUG: KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter

read-write to 0xffff888237d1e1fc of 1 bytes by task 0 on cpu 1:
 tick_nohz_idle_enter+0x6c/0xc0 kernel/time/tick-sched.c:1159
 do_idle+0x3d/0x250 kernel/sched/idle.c:277
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:400
 start_secondary+0x78/0x80 arch/x86/kernel/smpboot.c:264
 secondary_startup_64_no_verify+0xcf/0xdb

read to 0xffff888237d1e1fc of 1 bytes by task 7253 on cpu 0:
 get_cpu_iowait_time_us+0x68/0x1d0
 get_iowait_time fs/proc/stat.c:70 [inline]
 show_stat+0x1af/0xcd0 fs/proc/stat.c:135
 seq_read_iter+0x2c3/0x8e0 fs/seq_file.c:230
 proc_reg_read_iter+0xd4/0x170 fs/proc/inode.c:301
 call_read_iter include/linux/fs.h:2180 [inline]
 generic_file_splice_read+0xde/0x2b0 fs/splice.c:309
 do_splice_to fs/splice.c:793 [inline]
 splice_direct_to_actor+0x26c/0x620 fs/splice.c:865
 do_splice_direct+0xfb/0x180 fs/splice.c:974
 do_sendfile+0x3bf/0x910 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __x64_sys_sendfile64+0x10c/0x150 fs/read_write.c:1309
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x08 -> 0x0d

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7253 Comm: syz-executor.0 Not tainted 6.1.0-syzkaller-10971-g041fae9c105a-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/15 11:41 upstream 041fae9c105a 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter
2022/12/14 14:17 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter
2022/12/12 19:04 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_enter
* Struck through repros no longer work on HEAD.