syzbot


KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler

Status: moderation: reported on 2023/12/09 00:05
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+107e75d2a49c89a958f1@syzkaller.appspotmail.com
First crash: 124d, last: 19h24m

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

write to 0xffffffff8611eef0 of 4 bytes by interrupt on cpu 1:
 tick_sched_do_timer kernel/time/tick-sched.c:205 [inline]
 tick_nohz_highres_handler+0x2ad/0x2c0 kernel/time/tick-sched.c:1512
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x210/0x5d0 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x20d/0x7b0 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x52/0x190 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x6a/0x80 arch/x86/kernel/apic/apic.c:1076
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
 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+0xd1/0x270 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: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 interrupt on cpu 0:
 tick_sched_do_timer kernel/time/tick-sched.c:201 [inline]
 tick_nohz_highres_handler+0x3d/0x2c0 kernel/time/tick-sched.c:1512
 __run_hrtimer kernel/time/hrtimer.c:1689 [inline]
 __hrtimer_run_queues+0x210/0x5d0 kernel/time/hrtimer.c:1753
 hrtimer_interrupt+0x20d/0x7b0 kernel/time/hrtimer.c:1815
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x52/0x190 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x6a/0x80 arch/x86/kernel/apic/apic.c:1076
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
 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+0xd1/0x270 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: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: 0xffffffff -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.8.0-rc6-syzkaller-00238-g5ad3cb0ed525 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (118):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/02 22:40 upstream 5ad3cb0ed525 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/03/01 22:54 upstream 17ba56605bfd 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/03/01 04:24 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/29 22:22 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/29 10:04 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/28 04:11 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/27 09:37 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/26 14:48 upstream d206a76d7d27 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/25 16:41 upstream ab0a97cffa0b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/24 17:43 upstream 603c04e27c3e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/23 15:13 upstream ffd2cb6b718e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/23 00:57 upstream 1c892cdd8fe0 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/21 21:26 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/21 16:26 upstream 9fc1ccccfd8d 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/19 13:15 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/19 01:31 upstream b401b621758e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/18 12:27 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/17 20:08 upstream ced590523156 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/17 08:42 upstream c1ca10ceffbb 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/16 05:12 upstream 4f5e5092fdbf 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/16 02:52 upstream 4f5e5092fdbf fd39cf6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/15 04:22 upstream 8d3dea210042 d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/14 06:56 upstream 7e90b5c295ec d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/11 15:11 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/11 05:41 upstream a5b6244cf87c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/10 19:01 upstream 4a7bbe7519b6 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/08 05:50 upstream 547ab8fc4cb0 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/07 17:08 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/06 19:36 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/05 20:15 upstream 54be6c6c5ae8 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/03 22:41 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/03 17:39 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/03 06:59 upstream 56897d51886f 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/02 00:13 upstream 5c24e4e9e708 d61103fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/01 22:27 upstream 5c24e4e9e708 81024119 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/02/01 01:02 upstream 6764c317b6bb 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/31 22:05 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/30 08:22 upstream 861c0981648f 991a98f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/29 16:11 upstream 41bccc98fb79 991a98f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/23 17:24 upstream 7ed2632ec7d7 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/23 12:49 upstream 5d9248eed480 1c0ecc51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/22 17:40 upstream 6613476e225e 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/22 05:46 upstream 4fbbed787267 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/20 07:06 upstream 9d64bf433c53 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/19 18:02 upstream 9d1694dc91ce 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/19 05:47 upstream 86c4d58a99ab 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/17 15:32 upstream 052d534373b7 c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/15 18:00 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2024/01/13 16:07 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2023/12/08 03:13 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
2023/11/27 08:58 upstream d2da77f431ac 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in tick_nohz_highres_handler / tick_nohz_highres_handler
* Struck through repros no longer work on HEAD.