syzbot


KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer

Status: auto-obsoleted due to no activity on 2023/09/01 21:02
Subsystems: kernel
[Documentation on labels]
First crash: 939d, last: 765d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer (2) kernel 6 6 695d 727d 0/29 auto-obsoleted due to no activity on 2023/11/10 08:06

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

write to 0xffffffff85f11330 of 4 bytes by interrupt on cpu 1:
 tick_sched_do_timer kernel/time/tick-sched.c:204 [inline]
 tick_sched_timer+0x2ad/0x2c0 kernel/time/tick-sched.c:1485
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x217/0x700 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x20d/0x7b0 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline]
 __sysvec_apic_timer_interrupt+0x73/0x210 arch/x86/kernel/apic/apic.c:1115
 sysvec_apic_timer_interrupt+0x68/0x80 arch/x86/kernel/apic/apic.c:1109
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
 native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline]
 arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline]
 acpi_safe_halt+0x20/0x30 drivers/acpi/processor_idle.c:112
 acpi_idle_do_entry+0x19/0x30 drivers/acpi/processor_idle.c:573
 acpi_idle_enter+0x96/0xb0 drivers/acpi/processor_idle.c:707
 cpuidle_enter_state+0xc6/0x260 drivers/cpuidle/cpuidle.c:267
 cpuidle_enter+0x40/0x60 drivers/cpuidle/cpuidle.c:388
 call_cpuidle kernel/sched/idle.c:134 [inline]
 cpuidle_idle_call kernel/sched/idle.c:215 [inline]
 do_idle+0x194/0x230 kernel/sched/idle.c:282
 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379
 start_secondary+0x82/0x90 arch/x86/kernel/smpboot.c:326
 secondary_startup_64_no_verify+0x168/0x16b

read to 0xffffffff85f11330 of 4 bytes by task 0 on cpu 0:
 tick_nohz_stop_tick kernel/time/tick-sched.c:902 [inline]
 tick_nohz_idle_stop_tick+0x1b1/0x6c0 kernel/time/tick-sched.c:1130
 cpuidle_idle_call kernel/sched/idle.c:211 [inline]
 do_idle+0x177/0x230 kernel/sched/idle.c:282
 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379
 rest_init+0xf3/0x100 init/main.c:726
 arch_call_rest_init+0x9/0x10 init/main.c:823
 start_kernel+0x57d/0x5d0 init/main.c:1068
 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:556
 x86_64_start_kernel+0x94/0xa0 arch/x86/kernel/head64.c:537
 secondary_startup_64_no_verify+0x168/0x16b

value changed: 0xffffffff -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.0-rc3-syzkaller-00225-gf837f0a3c948 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
==================================================================

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/28 20:56 upstream f837f0a3c948 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/07/28 03:30 upstream 57012c57536f 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/07/26 11:00 upstream 18b44bc5a672 2a509c27 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/07/25 16:29 upstream 0b5547c51827 6756545c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/07/24 23:20 upstream 20ea1e7d13c1 b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/06/30 17:02 upstream e55e5df193d2 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/06/26 19:34 upstream c0a572d9d32f 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_sched_timer
2023/06/17 21:57 upstream 1b29d271614a f3921d4d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/06/06 14:31 upstream a4d7d7011219 a4ae4f42 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/05/18 11:22 upstream 4d6d4c7f541d 3bb7af1d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/04/24 00:14 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/04/16 03:08 upstream a7a55e27ad72 ec410564 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/03/28 17:19 upstream 3a93e40326c8 fc067f05 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/03/26 22:57 upstream 0ec57cfa721f fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/03/23 22:55 upstream 9fd6ba5420ba f94b4a29 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/03/21 19:09 upstream 17214b70a159 8b4eb097 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/03/21 10:12 upstream 17214b70a159 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_sched_timer
2023/03/13 07:23 upstream eeac8ede1755 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/03/06 09:54 upstream fe15c26ee26e f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/02/27 09:49 upstream f3a2439f20d9 9189cb53 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/02/25 19:29 upstream 489fa31ea873 ee50e71c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/02/22 09:55 upstream 5b7c4cabbb65 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_sched_timer
2023/02/18 06:27 upstream 38f8ccde04a3 d02e9a70 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/02/15 01:17 upstream e1c04510f521 e62ba3c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/02/08 12:11 upstream 0983f6bf2bfc abbb67b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
2023/02/04 15:22 upstream 0136d86b7852 be607b78 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_idle_stop_tick / tick_sched_timer
* Struck through repros no longer work on HEAD.