syzbot


KCSAN: data-race in internal_add_timer / timer_clear_idle
Status: auto-closed as invalid on 2021/12/10 01:40
Reported-by: syzbot+b130e0d14518a7e0d5bf@syzkaller.appspotmail.com
First crash: 592d, last: 197d

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

write to 0xffff888237c1b865 of 1 bytes by task 0 on cpu 0:
 timer_clear_idle+0x2e/0x40 kernel/time/timer.c:1702
 tick_nohz_idle_retain_tick+0x3e/0x40 kernel/time/tick-sched.c:1093
 cpuidle_idle_call kernel/sched/idle.c:237 [inline]
 do_idle+0x1f7/0x250 kernel/sched/idle.c:306
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403
 rest_init+0xfa/0x100 init/main.c:725
 arch_call_rest_init+0xa/0xb
 start_kernel+0x5e4/0x669 init/main.c:1133
 secondary_startup_64_no_verify+0xb1/0xbb

read to 0xffff888237c1b865 of 1 bytes by interrupt on cpu 1:
 trigger_dyntick_cpu kernel/time/timer.c:569 [inline]
 enqueue_timer kernel/time/timer.c:601 [inline]
 internal_add_timer+0x235/0x2b0 kernel/time/timer.c:611
 add_timer_on+0x247/0x280 kernel/time/timer.c:1182
 clocksource_watchdog+0xa96/0xac0 kernel/time/clocksource.c:478
 call_timer_fn+0x2e/0x240 kernel/time/timer.c:1421
 expire_timers+0x116/0x240 kernel/time/timer.c:1466
 __run_timers+0x368/0x410 kernel/time/timer.c:1734
 run_timer_softirq+0x2e/0x60 kernel/time/timer.c:1747
 __do_softirq+0x158/0x2de kernel/softirq.c:558
 __irq_exit_rcu kernel/softirq.c:636 [inline]
 irq_exit_rcu+0x37/0x70 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0x8d/0xb0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20
 native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
 arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
 acpi_safe_halt drivers/acpi/processor_idle.c:109 [inline]
 acpi_idle_do_entry drivers/acpi/processor_idle.c:553 [inline]
 acpi_idle_enter+0x282/0x300 drivers/acpi/processor_idle.c:688
 cpuidle_enter_state+0x2b4/0x7d0 drivers/cpuidle/cpuidle.c:237
 cpuidle_enter+0x3c/0x60 drivers/cpuidle/cpuidle.c:351
 call_cpuidle kernel/sched/idle.c:158 [inline]
 cpuidle_idle_call kernel/sched/idle.c:239 [inline]
 do_idle+0x1b2/0x250 kernel/sched/idle.c:306
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403
 secondary_startup_64_no_verify+0xb1/0xbb

value changed: 0x01 -> 0x00

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W         5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (127):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/11/05 01:40 upstream 7ddb58cb0eca 4c1be0be .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/11/01 18:03 upstream 8bb7eca972ad 098b5d53 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/25 20:28 upstream 87066fdd2e30 c1132b49 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/24 23:41 upstream 6c62666d8879 4f0000ee .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/21 21:24 upstream 2f111a6fd5b5 55f90bc6 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/16 10:56 upstream 8fe31e0995f0 0c5d9412 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/15 09:29 upstream ec681c53f8d2 aab7690b .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/13 05:53 upstream f4d0cc426f77 08362356 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/11 08:20 upstream 64570fbc14f8 838e7e2c .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/08 08:09 upstream 1da38549dd64 efe0f24d .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/04 13:55 upstream 9e1ff307c779 ce697b49 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/04 06:55 upstream 6761a0ae9895 db0f5787 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/03 07:10 upstream ab2a7a35c4e7 db0f5787 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/02 03:06 upstream 53d5fc89d66a db0f5787 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/01 22:29 upstream 24f67d82c43c cc80db95 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/10/01 13:20 upstream 4de593fb965f 1d849ab4 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/29 11:25 upstream a4e6f95a891a e08fe937 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/27 11:25 upstream 5816b3e6577e 78494d16 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/26 22:42 upstream 996148ee05d0 78494d16 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/25 17:40 upstream 7d42e9818258 8cac236e .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/24 09:47 upstream f9e36107ec70 8cac236e .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/23 15:33 upstream 58e2cf5d7946 8cac236e .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/22 21:07 upstream cf1d2c3e7e2f 8cac236e .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/21 17:28 upstream d9fb678414c0 169724fe .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/18 10:46 upstream 4357f03d6611 70b76c1d .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/17 15:32 upstream bdb575f87217 70b76c1d .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/16 14:39 upstream ff1ffd71d5f0 aae492f2 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/14 16:05 upstream d0ee23f9d78b 07e953c1 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/12 22:55 upstream 78e709522d2c 3ce60af8 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/12 05:12 upstream c605c39677b9 3ce60af8 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/10 20:22 upstream bf9f243f23e6 5ae8508a .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/09/04 00:43 upstream a9c9a6f741cd d236a457 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/31 18:55 upstream b91db6a0b52e 7eb7e152 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/31 07:42 upstream 8596e589b787 8f58a0ef .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/30 14:21 upstream 7d2a07b76933 8f58a0ef .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/30 09:29 upstream 537b57bd5a20 be2c130d .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/28 07:39 upstream 64b4fc45bea6 d5a29e53 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/27 19:52 upstream 1a6436f37512 57b01c6e .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/27 02:25 upstream 1a6d80ff2419 b318694d .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/26 07:36 upstream fe67f4dd8daa b599f2fc .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/23 14:47 upstream e22ce8eb631b b599f2fc .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/22 20:13 upstream 9ff50bf2f2ff b599f2fc .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/21 06:56 upstream fa54d366a6e4 b599f2fc .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/20 16:01 upstream d992fe5318d8 b599f2fc .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/17 12:21 upstream a2824f19e606 33c26cb7 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/15 22:16 upstream ecf93431963a 2489ab88 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/14 02:08 upstream dfa377c35d70 2489ab88 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2021/08/12 08:43 upstream 1746f4db5135 6972b106 .config log report info KCSAN: data-race in internal_add_timer / timer_clear_idle
ci2-upstream-kcsan-gce 2020/12/22 11:55 upstream 8653b778e454 04201c06 .config log report info
ci2-upstream-kcsan-gce 2020/11/20 22:39 upstream 4d02da974ea8 68068804 .config log report info
ci2-upstream-kcsan-gce 2020/10/06 09:53 upstream 7575fdda569b 1880b4a9 .config log report info