================================================================== BUG: KCSAN: data-race in ktime_get_real_seconds / timekeeping_advance write to 0xffffffff88ae90c8 of 280 bytes by interrupt on cpu 0: timekeeping_advance+0x88e/0xd80 include/linux/string.h:381 update_wall_time+0x15/0x20 kernel/time/timekeeping.c:2136 tick_do_update_jiffies64+0x1e5/0x2a0 kernel/time/tick-sched.c:101 tick_sched_do_timer+0xc7/0xd0 kernel/time/tick-sched.c:147 tick_sched_timer+0x3f/0xd0 kernel/time/tick-sched.c:1313 __run_hrtimer kernel/time/hrtimer.c:1520 [inline] __hrtimer_run_queues+0x271/0x600 kernel/time/hrtimer.c:1584 hrtimer_interrupt+0x226/0x490 kernel/time/hrtimer.c:1646 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1113 [inline] smp_apic_timer_interrupt+0xd8/0x270 arch/x86/kernel/apic/apic.c:1138 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 is_atomic kernel/kcsan/core.c:229 [inline] should_watch kernel/kcsan/core.c:257 [inline] check_access kernel/kcsan/core.c:581 [inline] __tsan_read1+0x8a/0x110 kernel/kcsan/core.c:767 tomoyo_check_acl+0xcc/0x280 security/tomoyo/domain.c:173 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0xda/0x150 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x2aa/0x2d0 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x6c/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x64/0x280 security/security.c:1548 do_dentry_open+0x212/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:911 do_open fs/namei.c:3229 [inline] path_openat+0x1ff4/0x23d0 fs/namei.c:3346 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1170 [inline] __se_sys_open fs/open.c:1168 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1168 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff88ae9138 of 8 bytes by task 22996 on cpu 1: ktime_get_real_seconds+0x1d/0x30 kernel/time/timekeeping.c:127 tomoyo_update_stat+0x29/0x50 security/tomoyo/common.c:2340 tomoyo_supervisor+0x1a7/0xc90 security/tomoyo/common.c:2079 tomoyo_audit_path2_log security/tomoyo/file.c:182 [inline] tomoyo_path2_perm+0x3f7/0x470 security/tomoyo/file.c:943 tomoyo_path_rename+0x97/0xd0 security/tomoyo/tomoyo.c:285 security_path_rename+0x17d/0x1e0 security/security.c:1130 do_renameat2+0x6d5/0xa50 fs/namei.c:4433 __do_sys_rename fs/namei.c:4483 [inline] __se_sys_rename fs/namei.c:4481 [inline] __x64_sys_rename+0x44/0x60 fs/namei.c:4481 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 22996 Comm: systemd-udevd Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================