================================================================== BUG: KCSAN: data-race in tomoyo_update_stat security/tomoyo/common.c:2340 [inline] and tomoyo_supervisor+0x1c9/0xd20 BUG: KCSAN: data-race in tomoyo_supervisor+0x1b0/0xd20 security/tomoyo/common.c:2077 and tomoyo_supervisor+0x1c9/0xd20 read to 0xffffffff860bff44 of 4 bytes by task 3904 on cpu 0: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x1b0/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_path_perm+0x23e/0x390 security/tomoyo/file.c:838 tomoyo_inode_getattr+0x26/0x40 security/tomoyo/tomoyo.c:129 security_inode_getattr+0x9b/0xd0 security/security.c:1182 vfs_getattr+0x2e/0x70 fs/stat.c:115 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_stat include/linux/fs.h:3188 [inline] __do_sys_newstat+0x51/0xb0 fs/stat.c:341 __se_sys_newstat fs/stat.c:337 [inline] __x64_sys_newstat+0x3a/0x50 fs/stat.c:337 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffffff860bff44 of 4 bytes by task 4201 on cpu 1: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x1c9/0xd20 security/tomoyo/common.c:2077 tomoyo_audit_path2_log security/tomoyo/file.c:182 [inline] tomoyo_path2_perm+0x44a/0x4c0 security/tomoyo/file.c:943 tomoyo_path_rename+0x95/0xd0 security/tomoyo/tomoyo.c:285 security_path_rename+0x17e/0x1e0 security/security.c:1039 do_renameat2+0x6ea/0xa50 fs/namei.c:4623 __do_sys_rename fs/namei.c:4673 [inline] __se_sys_rename fs/namei.c:4671 [inline] __x64_sys_rename+0x47/0x60 fs/namei.c:4671 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4201 Comm: udevd Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================