syzbot


KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events

Status: moderation: reported on 2024/05/16 13:31
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+4dd1dd2e87e81f3d1b95@syzkaller.appspotmail.com
First crash: 205d, last: 4d10h

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events

write to 0xffff888237c205dc of 1 bytes by task 0 on cpu 0:
 __tmigr_cpu_activate+0x55/0x200 kernel/time/timer_migration.c:676
 tmigr_cpu_activate+0x8a/0xc0 kernel/time/timer_migration.c:699
 timer_clear_idle+0x28/0x100 kernel/time/timer.c:2380
 tick_nohz_restart_sched_tick+0x22/0x110 kernel/time/tick-sched.c:1096
 tick_nohz_idle_update_tick kernel/time/tick-sched.c:1427 [inline]
 tick_nohz_idle_exit+0xfe/0x1d0 kernel/time/tick-sched.c:1470
 do_idle+0x1eb/0x230 kernel/sched/idle.c:338
 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:423
 rest_init+0xef/0xf0 init/main.c:747
 start_kernel+0x586/0x5e0 init/main.c:1102
 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507
 x86_64_start_kernel+0x9a/0xa0 arch/x86/kernel/head64.c:488
 common_startup_64+0x12c/0x137

read to 0xffff888237c205dc of 1 bytes by task 0 on cpu 1:
 tmigr_next_groupevt kernel/time/timer_migration.c:567 [inline]
 tmigr_next_groupevt_expires kernel/time/timer_migration.c:609 [inline]
 tmigr_update_events+0x41d/0x5d0 kernel/time/timer_migration.c:840
 tmigr_inactive_up kernel/time/timer_migration.c:1302 [inline]
 __walk_groups kernel/time/timer_migration.c:533 [inline]
 walk_groups kernel/time/timer_migration.c:546 [inline]
 __tmigr_cpu_deactivate+0x2b1/0x410 kernel/time/timer_migration.c:1322
 tmigr_cpu_deactivate+0x66/0x180 kernel/time/timer_migration.c:1346
 timer_use_tmigr kernel/time/timer.c:2193 [inline]
 __get_next_timer_interrupt+0x137/0x530 kernel/time/timer.c:2268
 timer_base_try_to_set_idle+0x54/0x60 kernel/time/timer.c:2357
 tick_nohz_stop_tick kernel/time/tick-sched.c:985 [inline]
 tick_nohz_idle_stop_tick+0x15b/0x650 kernel/time/tick-sched.c:1227
 cpuidle_idle_call kernel/sched/idle.c:226 [inline]
 do_idle+0x175/0x230 kernel/sched/idle.c:325
 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:423
 start_secondary+0x96/0xa0 arch/x86/kernel/smpboot.c:314
 common_startup_64+0x12c/0x137

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.13.0-rc1-syzkaller-00002-gcdd30ebb1b9f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================

Crashes (67):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/03 11:10 upstream cdd30ebb1b9f 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/12/01 23:13 upstream f788b5ef1ca9 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/28 15:43 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/19 03:28 upstream 23acd177540d 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/16 22:24 upstream b5a24181e461 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/14 06:39 upstream 0a9b9d17f3a7 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/12 22:05 upstream 3022e9d00ebe 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/12 00:07 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/11 10:15 upstream 2d5404caa8c7 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/11 09:15 upstream 2d5404caa8c7 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/09 10:14 upstream da4373fbcf00 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/08 04:01 upstream 906bd684e4b1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/07 09:45 upstream ff7afaeca1a1 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/06 20:44 upstream 7758b206117d df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/06 02:11 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/05 11:52 upstream 2e1b3cc9d7f7 da38b4c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/05 09:53 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/11/04 20:03 upstream 557329bcecc2 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/31 02:01 upstream 4236f913808c 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/30 19:53 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/30 05:45 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/24 11:24 upstream c2ee9f594da8 0d144d1a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/23 03:06 upstream c2ee9f594da8 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/21 02:23 upstream 42f7652d3eb5 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/19 11:20 upstream 3d5ad2d4eca3 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/07 20:03 upstream 87d6aab2389e d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/07 02:35 upstream 8cf0b93919e1 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/05 18:40 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/10/02 22:39 upstream f23aa4c0761a 02f9582a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/28 02:17 upstream 3630400697a3 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/25 08:01 upstream 684a64bf32b6 349a68c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/21 13:28 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/17 15:43 upstream a430d95c5efa c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/15 01:25 upstream 0babf683783d 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/08 11:56 upstream d1f2d51b711a 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/04 09:20 upstream 88fac17500f4 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/03 20:55 upstream 88fac17500f4 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/03 07:14 upstream 67784a74e258 8045124c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/02 16:31 upstream 67784a74e258 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/09/01 03:36 upstream e8784b0aef62 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/08/23 08:30 upstream aa0743a22936 ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/08/06 00:30 upstream b446a2dae984 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/31 07:49 upstream 22f546873149 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/28 17:09 upstream 5437f30d3458 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/28 05:14 upstream ff30564411ff 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/27 10:10 upstream 3a7e02c040b1 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/24 11:51 upstream 786c8248dbd3 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/22 16:22 upstream 933069701c1b df655b64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/16 16:44 upstream d67978318827 b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/13 21:06 upstream d0d0cd380055 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/13 04:50 upstream 528dd46d0fc3 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/09 13:41 upstream 4376e966ecb7 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/09 13:39 upstream 4376e966ecb7 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/05 20:38 upstream d270dd21bee0 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/04 05:00 upstream 8a9c6c40432e f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/07/01 11:58 upstream 22a40d14b572 757f06b1 .config console log report [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/06/18 02:05 upstream 6226e74900d7 ce6011bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/06/17 11:40 upstream 6ba59ff42279 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/06/16 05:28 upstream a3e18a540541 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/06/15 06:10 upstream c286c21ff942 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/06/14 17:24 upstream d20f6b3d747c 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/06/12 21:02 upstream cea2a26553ac f815599d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/06/06 01:43 upstream 2df0193e62cf 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/05/31 23:23 upstream d8ec19857b09 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/05/21 07:30 upstream 8f6a15f095a6 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
2024/05/16 13:30 upstream 3c999d1ae3c7 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tmigr_cpu_activate / tmigr_update_events
* Struck through repros no longer work on HEAD.