================================================================== 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 __tsan_read1+0x0/0x110 kernel/kcsan/core.c:722 format_decode+0x8d/0xaa0 lib/vsprintf.c:2309 vsnprintf+0xd1/0xb60 lib/vsprintf.c:2526 tomoyo_supervisor+0xc3/0xc90 security/tomoyo/common.c:2069 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_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 9290 on cpu 0: ktime_get_real_seconds+0x1d/0x30 kernel/time/timekeeping.c:127 recently_deleted fs/ext4/ialloc.c:699 [inline] find_inode_bit.isra.0+0x1e7/0x330 fs/ext4/ialloc.c:724 __ext4_new_inode+0xd7b/0x3020 fs/ext4/ialloc.c:927 ext4_mkdir+0x271/0x850 fs/ext4/namei.c:2790 vfs_mkdir+0x281/0x3b0 fs/namei.c:3625 do_mkdirat+0x1b5/0x200 fs/namei.c:3648 __do_sys_mkdir fs/namei.c:3664 [inline] __se_sys_mkdir fs/namei.c:3662 [inline] __x64_sys_mkdir+0x3d/0x50 fs/namei.c:3662 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: 9290 Comm: syz-executor.3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================