================================================================== BUG: KCSAN: data-race in ktime_get_real_seconds / timekeeping_advance write to 0xffffffff86040b08 of 280 bytes by interrupt on cpu 1: timekeeping_advance+0x893/0xd80 include/linux/string.h:378 update_wall_time+0x19/0x20 kernel/time/timekeeping.c:2137 tick_do_update_jiffies64+0x1ae/0x260 kernel/time/tick-sched.c:94 tick_sched_do_timer+0xd4/0xe0 kernel/time/tick-sched.c:138 tick_sched_timer+0x43/0xe0 kernel/time/tick-sched.c:1292 __run_hrtimer kernel/time/hrtimer.c:1514 [inline] __hrtimer_run_queues+0x288/0x600 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 check_kcov_mode kernel/kcov.c:68 [inline] __sanitizer_cov_trace_pc+0x20/0x50 kernel/kcov.c:102 pte_pfn arch/x86/include/asm/pgtable.h:215 [inline] vmalloc_to_page+0x311/0x370 mm/vmalloc.c:311 kcov_mmap+0xe2/0x150 kernel/kcov.c:296 call_mmap include/linux/fs.h:1900 [inline] mmap_region+0x83c/0xd50 mm/mmap.c:1806 do_mmap+0x6d4/0xba0 mm/mmap.c:1577 read to 0xffffffff86040b78 of 8 bytes by task 7113 on cpu 0: ktime_get_real_seconds+0x20/0x40 kernel/time/timekeeping.c:127 tomoyo_update_stat security/tomoyo/common.c:2341 [inline] tomoyo_supervisor+0x1da/0xd20 security/tomoyo/common.c:2077 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x121/0x160 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x2b9/0x320 security/tomoyo/file.c:780 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x75/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x69/0x210 security/security.c:1497 do_dentry_open+0x20a/0x8f0 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:914 do_last fs/namei.c:3408 [inline] path_openat+0xf75/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7113 Comm: udevd Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================