================================================================== BUG: KCSAN: data-race in hrtimer_wakeup / schedule_hrtimeout_range_clock read to 0xffffc90003d0b848 of 8 bytes by task 7977 on cpu 0: schedule_hrtimeout_range_clock+0x109/0x1e0 kernel/time/hrtimer.c:2126 schedule_hrtimeout_range+0x34/0x50 kernel/time/hrtimer.c:2172 poll_schedule_timeout.constprop.0+0x75/0xc0 fs/select.c:243 do_select+0xd7f/0x1020 fs/select.c:603 core_sys_select+0x381/0x550 fs/select.c:677 do_pselect.constprop.0+0x11d/0x160 fs/select.c:759 __do_sys_pselect6 fs/select.c:784 [inline] __se_sys_pselect6 fs/select.c:769 [inline] __x64_sys_pselect6+0x12e/0x170 fs/select.c:769 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffc90003d0b848 of 8 bytes by interrupt on cpu 1: hrtimer_wakeup+0x32/0x60 kernel/time/hrtimer.c:1764 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x274/0x5f0 kernel/time/hrtimer.c:1576 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1638 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline] smp_apic_timer_interrupt+0xdc/0x280 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830 arch_local_irq_enable arch/x86/include/asm/paravirt.h:766 [inline] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] _raw_spin_unlock_irq+0x4e/0x80 kernel/locking/spinlock.c:199 finish_lock_switch kernel/sched/core.c:3123 [inline] finish_task_switch+0x7b/0x260 kernel/sched/core.c:3223 context_switch kernel/sched/core.c:3387 [inline] __schedule+0x319/0x640 kernel/sched/core.c:4069 schedule_idle+0x27/0x40 kernel/sched/core.c:4164 do_idle+0xc9/0x280 kernel/sched/idle.c:287 cpu_startup_entry+0x1b/0x20 kernel/sched/idle.c:355 start_secondary+0x208/0x260 arch/x86/kernel/smpboot.c:264 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================