================================================================== BUG: KCSAN: data-race in __run_hrtimer kernel/time/hrtimer.c:1416 [inline] and hrtimer_active+0x84/0x1a0 BUG: KCSAN: data-race in __hrtimer_run_queues+0x176/0x600 kernel/time/hrtimer.c:1451 and hrtimer_active+0x84/0x1a0 read to 0xffff88812bf1d818 of 8 bytes by task 8773 on cpu 0: hrtimer_active+0x84/0x1a0 kernel/time/hrtimer.c:1321 hrtimer_try_to_cancel+0x3c/0x260 kernel/time/hrtimer.c:1135 hrtimer_cancel kernel/time/hrtimer.c:1161 [inline] do_nanosleep+0x185/0x330 kernel/time/hrtimer.c:1681 hrtimer_nanosleep+0x1c1/0x3e0 kernel/time/hrtimer.c:1733 __do_sys_nanosleep kernel/time/hrtimer.c:1767 [inline] __se_sys_nanosleep kernel/time/hrtimer.c:1754 [inline] __x64_sys_nanosleep+0x106/0x150 kernel/time/hrtimer.c:1754 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88812bf1d818 of 8 bytes by interrupt on cpu 1: __run_hrtimer kernel/time/hrtimer.c:1416 [inline] __hrtimer_run_queues+0x176/0x600 kernel/time/hrtimer.c:1451 hrtimer_interrupt+0x22a/0x480 kernel/time/hrtimer.c:1509 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:778 [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:3004 [inline] finish_task_switch+0x7b/0x260 kernel/sched/core.c:3104 context_switch kernel/sched/core.c:3257 [inline] __schedule+0x2ed/0x5d0 kernel/sched/core.c:3880 schedule+0x47/0xd0 kernel/sched/core.c:3947 pipe_wait+0xc3/0x140 fs/pipe.c:117 pipe_write+0x3dd/0x970 fs/pipe.c:497 call_write_iter include/linux/fs.h:1870 [inline] new_sync_write+0x388/0x4a0 fs/read_write.c:483 __vfs_write+0xb1/0xc0 fs/read_write.c:496 vfs_write fs/read_write.c:558 [inline] vfs_write+0x18a/0x390 fs/read_write.c:542 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8775 Comm: syz-executor.0 Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================