syzbot


KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick

Status: moderation: reported on 2020/09/21 17:51
Reported-by: syzbot+56078ac0b9071335a745@syzkaller.appspotmail.com
First crash: 964d, last: 4d19h

Sample crash report:
==================================================================
BUG: KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick

write to 0xffffffff85ed51b0 of 4 bytes by task 0 on cpu 1:
 tick_nohz_stop_tick+0xa0/0x400 kernel/time/tick-sched.c:887
 __tick_nohz_idle_stop_tick kernel/time/tick-sched.c:1108 [inline]
 tick_nohz_idle_stop_tick+0x174/0x2c0 kernel/time/tick-sched.c:1129
 cpuidle_idle_call kernel/sched/idle.c:232 [inline]
 do_idle+0x18a/0x250 kernel/sched/idle.c:303
 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 0xffffffff85ed51b0 of 4 bytes by task 0 on cpu 0:
 tick_nohz_next_event+0x1ee/0x2c0 kernel/time/tick-sched.c:852
 tick_nohz_get_sleep_length+0x15b/0x250 kernel/time/tick-sched.c:1238
 menu_select+0x347/0x1010 drivers/cpuidle/governors/menu.c:283
 cpuidle_select+0x3d/0x50 drivers/cpuidle/cpuidle.c:327
 cpuidle_idle_call kernel/sched/idle.c:229 [inline]
 do_idle+0x173/0x250 kernel/sched/idle.c:303
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:400
 rest_init+0xe8/0xf0 init/main.c:732
 arch_call_rest_init+0x5/0x10 init/main.c:894
 start_kernel+0x59e/0x630 init/main.c:1148
 secondary_startup_64_no_verify+0xcf/0xdb

value changed: 0x00000001 -> 0xffffffff

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W          6.2.0-rc6-syzkaller-00083-ge7368fd30165-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1154):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2023/02/03 12:10 upstream e7368fd30165 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/02/03 08:02 upstream e7368fd30165 33fc5c09 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/02/02 23:58 upstream e7368fd30165 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/02/02 13:51 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/02/02 03:34 upstream 9f266ccaa2f5 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/31 18:02 upstream 22b8077d0fce b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/29 21:28 upstream ab072681eabe 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/29 13:05 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/28 11:51 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/28 01:03 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/26 12:56 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/24 22:37 upstream fb6e71db53f3 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/24 07:35 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/22 06:03 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/21 17:42 upstream f883675bf652 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/21 09:03 upstream edc00350d205 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/20 12:29 upstream d368967cb103 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/19 21:32 upstream 081edded9b38 71197f3a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/18 14:39 upstream c1649ec55708 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/17 03:38 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/16 20:16 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/14 21:49 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/13 23:20 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/13 07:47 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/12 08:41 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/12 03:22 upstream 7dd4b804e080 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/11 04:04 upstream 40c18f363a08 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/09 12:05 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/08 09:49 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/07 17:03 upstream 0a71553536d2 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/07 04:11 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/05 23:12 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/05 14:57 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/04 11:00 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/03 11:14 upstream 69b41ac87e4a f0036e18 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/02 21:32 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2023/01/01 18:06 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/31 16:25 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/31 04:03 upstream bff687b3dad6 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/30 01:23 upstream 2258c2dc850b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/24 01:43 upstream 51094a24b85e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/22 14:31 upstream 0a924817d2ed 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/21 14:05 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/21 00:04 upstream 6feb57c2fd7c d3e76707 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/12/18 06:33 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2021/01/17 12:23 upstream 0da0a8a0a0e1 813be542 .config console log report info
ci2-upstream-kcsan-gce 2020/09/21 07:59 upstream ba4f184e126b c81d99c8 .config console log report info
ci2-upstream-kcsan-gce 2020/09/18 13:23 upstream 10b82d517648 38962c8b .config console log report info
ci2-upstream-kcsan-gce 2020/06/18 22:05 upstream 1b5044021070 3ea11d3f .config console log report
* Struck through repros no longer work on HEAD.