syzbot


KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick (4)

Status: moderation: reported on 2023/12/07 10:15
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+5218977c522be0d6fa84@syzkaller.appspotmail.com
First crash: 389d, last: 1d09h
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick (2) kernel 26 1566d 1600d 0/26 closed as invalid on 2019/11/19 14:04
upstream KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick kernel 15 1601d 1611d 0/26 closed as invalid on 2019/10/15 15:50
upstream KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick (3) kernel 109 1354d 1463d 0/26 auto-closed as invalid on 2020/07/22 23:43

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

write to 0xffffffff8611eef0 of 4 bytes by task 0 on cpu 1:
 tick_nohz_stop_tick kernel/time/tick-sched.c:907 [inline]
 tick_nohz_idle_stop_tick+0x1d8/0x760 kernel/time/tick-sched.c:1133
 cpuidle_idle_call kernel/sched/idle.c:211 [inline]
 do_idle+0x177/0x230 kernel/sched/idle.c:312
 cpu_startup_entry+0x24/0x30 kernel/sched/idle.c:410
 start_secondary+0x82/0x90 arch/x86/kernel/smpboot.c:336
 secondary_startup_64_no_verify+0x15f/0x16b

read to 0xffffffff8611eef0 of 4 bytes by task 0 on cpu 0:
 tick_nohz_stop_tick kernel/time/tick-sched.c:906 [inline]
 tick_nohz_idle_stop_tick+0x1b0/0x760 kernel/time/tick-sched.c:1133
 cpuidle_idle_call kernel/sched/idle.c:211 [inline]
 do_idle+0x177/0x230 kernel/sched/idle.c:312
 cpu_startup_entry+0x24/0x30 kernel/sched/idle.c:410
 rest_init+0xf3/0x100 init/main.c:730
 arch_call_rest_init+0x9/0x10 init/main.c:827
 start_kernel+0x57d/0x5e0 init/main.c:1072
 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:555
 x86_64_start_kernel+0x94/0xa0 arch/x86/kernel/head64.c:536
 secondary_startup_64_no_verify+0x15f/0x16b

value changed: 0x00000001 -> 0xffffffff

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W          6.8.0-rc6-syzkaller-00194-g17ba56605bfd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/02 05:56 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2024/03/01 16:16 upstream 87adedeba51a 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2024/02/19 12:03 upstream b401b621758e 96e91f57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2024/02/09 04:04 upstream 047371968ffc 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2024/01/23 06:00 upstream 5d9248eed480 1c0ecc51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/12/25 09:44 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/12/17 00:21 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/12/06 12:03 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/12/05 02:14 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/11/19 01:06 upstream 23dfa043f6d5 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/11/07 17:00 upstream be3ca57cfb77 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/11/06 02:27 upstream 77fa2fbe87fc 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/11/05 04:17 upstream aea6bf908d73 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/10/18 03:28 upstream 06dc10eae55b 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/10/04 15:38 upstream cbf3a2cb156a b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/09/30 10:07 upstream 9f3ebbef746f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/09/16 08:22 upstream e42bebf6db29 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/09/06 09:20 upstream 65d6e954e378 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/09/03 06:02 upstream 92901222f83d 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/29 20:22 upstream f97e18a3f2fb ce731e62 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/14 07:52 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/09 02:04 upstream 13b937206866 9552ae77 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/07 21:59 upstream a027b2eca0b7 b1b6ae3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/07 16:19 upstream 52a93d39b17d b1b6ae3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/07 06:28 upstream 52a93d39b17d 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/04 09:08 upstream c1a515d3c027 74621247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/08/03 03:39 upstream 4b954598a47b b178af49 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/07/14 20:43 upstream bde7f150276b 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/07/12 15:13 upstream 3f01e9fed845 979d5fe2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/07/10 19:37 upstream 3f01e9fed845 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/07/03 06:44 upstream a901a3568fd2 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/29 10:28 upstream 3a8a670eeeaa 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/27 22:30 upstream 04fc8904d5d1 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/24 00:21 upstream 61dabacdad4e 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/20 13:50 upstream 692b7dc87ca6 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/11 10:58 upstream 022ce8862dff 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/08 08:21 upstream 5f63595ebd82 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/07 19:35 upstream a27648c74210 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/06/02 21:45 upstream c43a6ff9f93f a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/05/28 12:19 upstream 416839029e38 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/05/23 02:43 upstream 421ca22e3138 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/05/22 08:43 upstream 44c026a73be8 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/05/16 10:26 upstream f1fcbaa18b28 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/05/14 14:52 upstream bb7c241fae62 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/05/09 20:11 upstream 1dc3731daf1f 30aa2a7e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/30 09:44 upstream 825a0714d2b3 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/25 05:19 upstream 1a0beef98b58 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/24 22:57 upstream 1a0beef98b58 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/20 10:28 upstream cb0856346a60 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/19 18:56 upstream 789b4a41c247 a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/17 22:46 upstream 6a8f57ae2eb0 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/08 22:04 upstream a79d5c76f705 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/06 04:28 upstream 99ddf2254feb 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/05 17:54 upstream 76f598ba7d8e 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/05 02:03 upstream 76f598ba7d8e 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/04/02 19:35 upstream 6ab608fe852b f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/03/30 03:05 upstream ffe78bbd5121 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/03/18 12:59 upstream 478a351ce0d6 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/02/28 13:13 upstream ae3419fbac84 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/02/21 22:47 upstream 9e58df973d22 42a4d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/02/20 03:16 upstream c9c3395d5e3d bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/02/14 08:50 upstream b408817d4884 93ae7e0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
2023/02/07 23:14 upstream 513c1a3d3f19 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_idle_stop_tick
* Struck through repros no longer work on HEAD.