syzbot


KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_exit (2)

Status: auto-closed as invalid on 2020/10/22 16:12
Subsystems: kernel
[Documentation on labels]
First crash: 1348d, last: 1308d
Similar bugs (4)
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_exit (5) kernel 1 730d 730d 0/26 auto-closed as invalid on 2022/05/23 18:19
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_exit kernel 2 1487d 1522d 0/26 auto-closed as invalid on 2020/05/31 09:34
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_exit (3) kernel 1 892d 892d 0/26 auto-closed as invalid on 2021/12/12 14:17
upstream KCSAN: data-race in get_cpu_iowait_time_us / tick_nohz_idle_exit (4) kernel 1 783d 783d 0/26 auto-closed as invalid on 2022/03/31 12:11

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

write to 0xffff88812c11f17c of 1 bytes by task 0 on cpu 1:
 tick_nohz_idle_exit+0xcb/0x290 kernel/time/tick-sched.c:1199
 do_idle+0x280/0x2c0 kernel/sched/idle.c:286
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:369
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243

read to 0xffff88812c11f17c of 1 bytes by task 28781 on cpu 0:
 get_cpu_iowait_time_us+0x6b/0x1f0 kernel/time/tick-sched.c:640
 get_iowait_time fs/proc/stat.c:69 [inline]
 show_stat+0x2bf/0xd10 fs/proc/stat.c:132
 seq_read+0x2ee/0x900 fs/seq_file.c:208
 pde_read fs/proc/inode.c:306 [inline]
 proc_reg_read+0xde/0x1a0 fs/proc/inode.c:316
 do_loop_readv_writev fs/read_write.c:734 [inline]
 do_iter_read+0x3d2/0x4b0 fs/read_write.c:955
 vfs_readv fs/read_write.c:1073 [inline]
 do_preadv+0x13b/0x230 fs/read_write.c:1165
 __do_sys_preadv fs/read_write.c:1215 [inline]
 __se_sys_preadv fs/read_write.c:1210 [inline]
 __x64_sys_preadv+0x54/0x60 fs/read_write.c:1210
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 28781 Comm: syz-executor.5 Not tainted 5.9.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/17 16:10 upstream 5925fa68fe82 8247808b .config console log report info ci2-upstream-kcsan-gce
2020/08/22 21:51 upstream c3d8f220d012 1da71ab0 .config console log report ci2-upstream-kcsan-gce
2020/08/08 19:00 upstream 449dc8c97089 01975a06 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.