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: 831d, last: 16h02m

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

write to 0xffffffff860d51f0 of 4 bytes by task 0 on cpu 0:
 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
 rest_init+0xe8/0xf0 init/main.c:727
 start_kernel+0x0/0x656 init/main.c:883
 start_kernel+0x5d1/0x656 init/main.c:1138
 secondary_startup_64_no_verify+0xcf/0xdb

read to 0xffffffff860d51f0 of 4 bytes by task 0 on cpu 1:
 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
 start_secondary+0x78/0x80 arch/x86/kernel/smpboot.c:262
 secondary_startup_64_no_verify+0xcf/0xdb

value changed: 0x00000000 -> 0xffffffff

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.0.0-rc7-syzkaller-00042-g46452d3786a8-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (1027):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/09/28 00:04 upstream 46452d3786a8 75c78242 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/27 08:26 upstream 3800a713b607 10323ddf .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/26 09:11 upstream f76349cf4145 d59ba983 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/25 23:02 upstream 5e049663f678 0042f2b4 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/25 04:50 upstream 1a61b828566f 0042f2b4 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/24 12:31 upstream a63f2e7cb110 0042f2b4 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/23 16:43 upstream bf682942cd26 0042f2b4 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/22 02:29 upstream 06f7db949993 60af5050 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/20 17:38 upstream 521a547ced64 c4b8ccfd .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/20 10:39 upstream 521a547ced64 7c41a9ba .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/19 12:18 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/19 09:27 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/18 17:42 upstream 38eddeedbbea dd9a85ff .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/17 08:14 upstream a335366bad13 dd9a85ff .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/15 10:33 upstream 3245cb65fd91 dd9a85ff .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/14 22:07 upstream 3245cb65fd91 b884348d .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/14 07:24 upstream d1221cea11fc b884348d .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/13 09:49 upstream e839a756012b a08652b0 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/13 06:37 upstream e839a756012b f371ed7e .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/12 19:34 upstream 80e78fcce86d f371ed7e .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/12 09:21 upstream 80e78fcce86d 356d8217 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/11 06:55 upstream b96fbd602d35 356d8217 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/09 14:39 upstream 9b4509495418 90058bdc .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/08 13:46 upstream 26b1224903b3 f3027468 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/08 02:56 upstream 0066f1b0e275 435aeef7 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/07 15:47 upstream 0066f1b0e275 c5b7bc57 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/06 22:40 upstream d2ec799d1c1b 5fc30c37 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/06 20:49 upstream d2ec799d1c1b 65aea2b9 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/06 14:02 upstream 53e99dcff61e 65aea2b9 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/06 02:41 upstream 53e99dcff61e 9dcd38fc .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/05 20:21 upstream 7e18e42e4b28 922294ab .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/05 02:38 upstream 7e18e42e4b28 28811d0a .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/03 19:51 upstream 42cf58c272ee 28811d0a .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/03 12:32 upstream d895ec7938c4 49e94a20 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/02 15:56 upstream 42e66b1cc3a0 25194605 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/02 04:37 upstream 42e66b1cc3a0 a805568e .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/09/01 09:03 upstream c5e4d5e99162 b01ec571 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/31 13:03 upstream dcf8e5633e2e 51e54e30 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/30 08:01 upstream dcf8e5633e2e 4a380809 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/29 19:36 upstream b90cb1053190 d7593c58 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/29 11:44 upstream b90cb1053190 94da0b6b .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/29 09:22 upstream 8379c0b31fbc 07177916 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/27 09:38 upstream e022620b5d05 07177916 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/24 23:07 upstream c40e8341e3b3 514514f6 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/23 22:49 upstream df0219d11b6f cea8b0f7 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/23 12:50 upstream 072e51356cd5 cea8b0f7 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/23 07:54 upstream 072e51356cd5 26a13b38 .config log report info KCSAN: data-race in tick_nohz_next_event / tick_nohz_stop_tick
ci2-upstream-kcsan-gce 2022/08/21 22:47 upstream e3f259d33c0e 26a13b38 .config log report info 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 log report info
ci2-upstream-kcsan-gce 2020/09/21 07:59 upstream ba4f184e126b c81d99c8 .config log report info
ci2-upstream-kcsan-gce 2020/09/18 13:23 upstream 10b82d517648 38962c8b .config log report info
ci2-upstream-kcsan-gce 2020/06/18 22:05 upstream 1b5044021070 3ea11d3f .config log report
* Struck through repros no longer work on HEAD.