================================================================== BUG: KCSAN: data-race in ktime_get_real_seconds / timekeeping_advance write to 0xffffffff88ae90c8 of 280 bytes by interrupt on cpu 1: 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 clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:48 clear_page arch/x86/include/asm/page_64.h:49 [inline] clear_highpage include/linux/highmem.h:214 [inline] kernel_init_free_pages+0x61/0xa0 mm/page_alloc.c:1170 prep_new_page+0xa2/0xb0 mm/page_alloc.c:2210 get_page_from_freelist+0x143c/0x17c0 mm/page_alloc.c:3753 __alloc_pages_nodemask+0x158/0x300 mm/page_alloc.c:4803 alloc_pages_current+0xca/0x170 mm/mempolicy.c:2295 alloc_pages include/linux/gfp.h:540 [inline] pmd_alloc_one arch/x86/include/asm/pgalloc.h:96 [inline] __pmd_alloc+0x48/0x2b0 mm/memory.c:4463 pmd_alloc include/linux/mm.h:2085 [inline] copy_pmd_range mm/memory.c:884 [inline] copy_pud_range mm/memory.c:938 [inline] copy_p4d_range mm/memory.c:960 [inline] copy_page_range+0x15fc/0x1a50 mm/memory.c:1022 dup_mmap kernel/fork.c:607 [inline] dup_mm+0x6db/0xb50 kernel/fork.c:1363 copy_mm kernel/fork.c:1419 [inline] copy_process+0x394f/0x3ab0 kernel/fork.c:2085 _do_fork+0xf7/0x790 kernel/fork.c:2430 __do_sys_clone+0xf9/0x130 kernel/fork.c:2585 __se_sys_clone kernel/fork.c:2566 [inline] __x64_sys_clone+0x6c/0x80 kernel/fork.c:2566 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 5278 on cpu 0: 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_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x118/0x150 security/tomoyo/file.c:573 tomoyo_path_perm+0x215/0x350 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x23/0x40 security/tomoyo/tomoyo.c:129 security_inode_getattr+0x97/0xc0 security/security.c:1273 vfs_getattr+0x2c/0x70 fs/stat.c:117 vfs_statx+0x104/0x190 fs/stat.c:201 vfs_lstat include/linux/fs.h:3284 [inline] __do_sys_newlstat+0x50/0xb0 fs/stat.c:364 __se_sys_newlstat fs/stat.c:358 [inline] __x64_sys_newlstat+0x37/0x50 fs/stat.c:358 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: 0 PID: 5278 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 ==================================================================