syzbot


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

Status: auto-obsoleted due to no activity on 2024/05/06 00:40
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+da595c5f98ac3cb3233f@syzkaller.appspotmail.com
First crash: 530d, last: 101d
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_next_event (3) kernel 101 1492d 1613d 0/27 auto-closed as invalid on 2020/07/21 23:12
upstream KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_next_event kernel 27 1738d 1748d 0/27 closed as invalid on 2019/10/15 15:50
upstream KCSAN: data-race in tick_nohz_idle_stop_tick / tick_nohz_next_event (2) kernel 28 1705d 1737d 0/27 closed as invalid on 2019/11/19 14:04

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

write to 0xffffffff8652ebb0 of 4 bytes by task 0 on cpu 0:
 tick_nohz_stop_tick kernel/time/tick-sched.c:1011 [inline]
 tick_nohz_idle_stop_tick+0x1c9/0x640 kernel/time/tick-sched.c:1218
 cpuidle_idle_call kernel/sched/idle.c:232 [inline]
 do_idle+0x178/0x230 kernel/sched/idle.c:332
 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:430
 rest_init+0xef/0xf0 init/main.c:732
 start_kernel+0x57c/0x5e0 init/main.c:1074
 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507
 x86_64_start_kernel+0x94/0xa0 arch/x86/kernel/head64.c:488
 common_startup_64+0x12c/0x137

read to 0xffffffff8652ebb0 of 4 bytes by task 0 on cpu 1:
 tick_nohz_next_event+0x1ee/0x2d0 kernel/time/tick-sched.c:950
 tick_nohz_get_sleep_length+0xac/0x110 kernel/time/tick-sched.c:1350
 menu_select+0x822/0x1070 drivers/cpuidle/governors/menu.c:286
 cpuidle_select+0x45/0x60 drivers/cpuidle/cpuidle.c:359
 cpuidle_idle_call kernel/sched/idle.c:229 [inline]
 do_idle+0x161/0x230 kernel/sched/idle.c:332
 cpu_startup_entry+0x25/0x30 kernel/sched/idle.c:430
 start_secondary+0x94/0xa0 arch/x86/kernel/smpboot.c:313
 common_startup_64+0x12c/0x137

value changed: 0x00000000 -> 0xffffffff

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W          6.9.0-rc2-syzkaller-00435-g9fe30842a90b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================

Crashes (362):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/08 00:40 upstream 9fe30842a90b ca620dd8 .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_next_event
2024/04/07 12:21 upstream f2f80ac80987 ca620dd8 .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_next_event
2024/03/31 03:12 upstream 486291a0e624 6baf5069 .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_next_event
2024/03/25 09:11 upstream 5e74df2f8f15 0ea90952 .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_next_event
2024/03/17 09:53 upstream 741e9d668aa5 d615901c .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_next_event
2024/03/13 10:08 upstream 1f440397665f db5b7ff0 .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_next_event
2024/03/12 17:04 upstream 855684c7d938 c35c26ec .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_next_event
2024/03/12 11:23 upstream 045395d86acd 6ee49f2e .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_next_event
2024/03/11 13:26 upstream e8f897f4afef 6ee49f2e .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_next_event
2024/03/10 23:58 upstream fa4b851b4ad6 6ee49f2e .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_next_event
2024/03/09 06:31 upstream 10d48d70e82d 6ee49f2e .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_next_event
2024/03/08 07:40 upstream 3aaa8ce7a335 cf82cde1 .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_next_event
2024/03/06 09:39 upstream 29cd507cbec2 f39a7eed .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_next_event
2024/03/05 17:54 upstream 90d35da658da f39a7eed .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_next_event
2024/03/01 07:06 upstream 87adedeba51a 352ab904 .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_next_event
2024/02/29 20:36 upstream 805d849d7c3c 352ab904 .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_next_event
2024/02/28 03:44 upstream cf1182944c7c d367cbe5 .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_next_event
2024/02/26 10:48 upstream d206a76d7d27 8d446f15 .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_next_event
2024/02/26 02:03 upstream 70ff1fe626a1 8d446f15 .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_next_event
2024/02/24 12:14 upstream 603c04e27c3e 8d446f15 .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_next_event
2024/02/22 05:27 upstream 39133352cbed 345111b5 .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_next_event
2024/02/19 18:16 upstream b401b621758e 3af7dd65 .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_next_event
2024/02/18 22:44 upstream b401b621758e 578f7538 .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_next_event
2024/02/18 15:31 upstream c02197fc9076 578f7538 .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_next_event
2024/02/15 12:44 upstream 8d3dea210042 fd39cf6f .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_next_event
2024/02/14 22:38 upstream 7e90b5c295ec d9b1cdd5 .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_next_event
2024/02/13 23:44 upstream c664e16bb1ba e66542d7 .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_next_event
2024/02/07 08:20 upstream 99bd3cb0d12e 6404acf9 .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_next_event
2024/01/28 22:34 upstream 4854cf9c61d0 cc4a4020 .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_next_event
2024/01/27 12:24 upstream 3a5879d495b2 cc4a4020 .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_next_event
2024/01/26 20:56 upstream ecb1b8288dc7 cc4a4020 .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_next_event
2024/01/24 19:17 upstream 615d30064886 1e153dc8 .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_next_event
2024/01/22 18:05 upstream 6613476e225e 9bd8dcda .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_next_event
2024/01/20 14:35 upstream 9d64bf433c53 9bd8dcda .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_next_event
2024/01/19 18:01 upstream 9d1694dc91ce 9bd8dcda .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_next_event
2024/01/19 03:27 upstream 86c4d58a99ab 21772ce4 .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_next_event
2024/01/16 08:14 upstream 052d534373b7 2a7bcc7f .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_next_event
2024/01/08 17:22 upstream 0dd3ee311255 4c0fd4bb .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_next_event
2024/01/05 15:57 upstream 1f874787ed9a 28c42cff .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_next_event
2024/01/04 02:45 upstream ac865f00af29 28c42cff .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_next_event
2024/01/02 16:18 upstream 610a9b8f49fb 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_next_event
2023/12/29 17:11 upstream 8735c7c84d1b 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_next_event
2023/12/29 08:11 upstream 505e701c0b2c 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_next_event
2023/12/07 00:26 upstream bee0e7762ad2 e3299f55 .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_next_event
2023/11/20 17:22 upstream 98b1cc82c4af 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_next_event
* Struck through repros no longer work on HEAD.