syzbot


KCSAN: data-race in get_cpu_idle_time_us / tick_nohz_idle_enter (3)

Status: auto-closed as invalid on 2020/11/24 16:04
Subsystems: kernel
[Documentation on labels]
First crash: 1398d, last: 1342d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in get_cpu_idle_time_us / tick_nohz_idle_enter (5) kernel 2 787d 813d 0/27 auto-closed as invalid on 2022/06/02 15:56
upstream KCSAN: data-race in get_cpu_idle_time_us / tick_nohz_idle_enter kernel 10 1488d 1611d 0/27 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in get_cpu_idle_time_us / tick_nohz_idle_enter (7) kernel 6 560d 576d 0/27 auto-obsoleted due to no activity on 2023/01/17 06:15
upstream KCSAN: data-race in get_cpu_idle_time_us / tick_nohz_idle_enter (4) kernel 14 873d 973d 0/27 auto-closed as invalid on 2022/03/09 00:14
upstream KCSAN: data-race in get_cpu_idle_time_us / tick_nohz_idle_enter (2) kernel 2 1450d 1463d 0/27 auto-closed as invalid on 2020/08/09 00:56
upstream KCSAN: data-race in get_cpu_idle_time_us / tick_nohz_idle_enter (6) kernel 1 707d 707d 0/27 auto-closed as invalid on 2022/08/21 13:12

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

read-write to 0xffff88812c11f17c of 1 bytes by task 0 on cpu 1:
 tick_nohz_idle_enter+0x8c/0x110 kernel/time/tick-sched.c:1032
 do_idle+0x36/0x2c0 kernel/sched/idle.c:248
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:369
 secondary_startup_64_no_verify+0xa6/0xab

read to 0xffff88812c11f17c of 1 bytes by task 20799 on cpu 0:
 get_cpu_idle_time_us+0x6b/0x1f0 kernel/time/tick-sched.c:599
 get_idle_time fs/proc/stat.c:53 [inline]
 show_stat+0x26f/0xdc0 fs/proc/stat.c:131
 seq_read+0x2de/0x890 fs/seq_file.c:208
 pde_read fs/proc/inode.c:306 [inline]
 proc_reg_read+0xe1/0x1b0 fs/proc/inode.c:316
 do_loop_readv_writev fs/read_write.c:742 [inline]
 do_iter_read+0x3b1/0x4b0 fs/read_write.c:784
 vfs_readv fs/read_write.c:902 [inline]
 do_preadv+0x139/0x210 fs/read_write.c:994
 __do_sys_preadv fs/read_write.c:1044 [inline]
 __se_sys_preadv fs/read_write.c:1039 [inline]
 __x64_sys_preadv+0x54/0x60 fs/read_write.c:1039
 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: 20799 Comm: syz-executor.3 Not tainted 5.9.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/20 16:02 upstream 270315b8235e ff4a3345 .config console log report info ci2-upstream-kcsan-gce
2020/10/14 10:56 upstream b5fc7a89e58b fc7735a2 .config console log report info ci2-upstream-kcsan-gce
2020/09/29 16:45 upstream fb0155a09b02 5abc3f1a .config console log report info ci2-upstream-kcsan-gce
2020/09/25 03:20 upstream 171d4ff79f96 54289b08 .config console log report info ci2-upstream-kcsan-gce
2020/09/22 12:23 upstream 98477740630f 3e8f6c27 .config console log report info ci2-upstream-kcsan-gce
2020/09/19 21:48 upstream eb5f95f1593f 53ce8104 .config console log report info ci2-upstream-kcsan-gce
2020/09/08 23:34 upstream 6f6a73c8b715 abf9ba4f .config console log report ci2-upstream-kcsan-gce
2020/09/02 16:05 upstream 9c7d619be5a0 abf9ba4f .config console log report ci2-upstream-kcsan-gce
2020/08/31 22:51 upstream b51594df17d0 d5a3ae1f .config console log report ci2-upstream-kcsan-gce
2020/08/25 07:14 upstream 6a9dc5fd6170 344da168 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.