syzbot


KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer (4)

Status: auto-closed as invalid on 2021/10/26 18:10
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 671d, last: 442d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer (3) 6 713d 730d 0/24 auto-closed as invalid on 2021/01/28 04:30
upstream KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer 2 851d 882d 0/24 auto-closed as invalid on 2020/09/12 13:18
upstream KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer (2) 1 801d 801d 0/24 auto-closed as invalid on 2020/11/01 03:13

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

write to 0xffffffff838c5320 of 4 bytes by interrupt on cpu 0:
 tick_sched_do_timer kernel/time/tick-sched.c:191 [inline]
 tick_sched_timer+0x1f5/0x210 kernel/time/tick-sched.c:1414
 __run_hrtimer+0x160/0x480 kernel/time/hrtimer.c:1685
 __hrtimer_run_queues kernel/time/hrtimer.c:1749 [inline]
 hrtimer_interrupt+0x380/0xaf0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0x6f/0x1c0 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x2d/0x80 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20

read to 0xffffffff838c5320 of 4 bytes by task 0 on cpu 1:
 tick_nohz_stop_tick+0x73/0x3e0 kernel/time/tick-sched.c:872
 __tick_nohz_idle_stop_tick kernel/time/tick-sched.c:1062 [inline]
 tick_nohz_idle_stop_tick+0x15d/0x310 kernel/time/tick-sched.c:1083
 cpuidle_idle_call kernel/sched/idle.c:235 [inline]
 do_idle+0x186/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: 0xffffffff -> 0x00000000

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

Crashes (30):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/09/21 18:07 upstream d9fb678414c0 169724fe .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/09/13 22:26 upstream 316346243be6 58d09404 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/09/11 05:16 upstream e99f23c5bf59 3ce60af8 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/09/07 23:33 upstream 0bcfe68b8767 064c9eb7 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/08/26 12:33 upstream 73f3af7b4611 b599f2fc .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/08/24 01:56 upstream d5ae8d7f85b7 b599f2fc .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/08/21 19:03 upstream 002c0aef1090 b599f2fc .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/08/16 11:23 upstream 7c60610d4767 6652437d .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/07/23 20:23 upstream 8baef6386baa bc5f1d88 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/07/23 02:26 upstream 9bead1b58c4c bc5f1d88 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/07/20 00:00 upstream 2734d6c1b1a0 bc48c9ab .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/06/26 04:32 upstream b7050b242430 ae6bf8dd .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/06/25 16:15 upstream 44db63d1ad8d ae6bf8dd .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/06/20 21:03 upstream cba5e97280f5 aba2b2fb .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/06/15 20:48 upstream 94f0b2d4a1d0 8022d7e3 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/06/03 00:22 upstream 324c92e5e0ee 0740de69 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/06/02 08:29 upstream 231bc5390667 0740de69 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/05/31 09:33 upstream 8124c8a6b353 032639db .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/05/22 04:50 upstream 45af60e7ced0 3c7fef33 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/05/17 21:26 upstream d07f6ca923ea a343ba6b .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/05/17 09:19 upstream d07f6ca923ea a2eb125d .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/05/07 12:37 upstream e48661230cc3 f6da8120 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/04/25 21:30 upstream d2d09fbe33f8 2a82f1b3 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/04/15 14:47 upstream 7f75285ca572 fcdb12ba .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/04/14 00:50 upstream eebe426d32e1 a184b83e .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/04/13 03:26 upstream 89698becf06d 6a81331a .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/03/19 11:04 upstream 8b12a62a4e3e 2af9d324 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/03/10 06:39 upstream 05a59d79793d 26967e35 .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/02/14 09:42 upstream ac30d8ce28d6 98682e5e .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
ci2-upstream-kcsan-gce 2021/02/04 13:24 upstream 61556703b610 42b90a7c .config log report info KCSAN: data-race in tick_nohz_stop_tick / tick_sched_timer
* Struck through repros no longer work on HEAD.