================================================================== BUG: KCSAN: data-race in tomoyo_supervisor / tomoyo_supervisor write to 0xffffffff86142124 of 4 bytes by task 7761 on cpu 0: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x1c9/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+0x352/0x390 security/tomoyo/file.c:838 tomoyo_path_rmdir+0x63/0x90 security/tomoyo/tomoyo.c:189 security_path_rmdir+0xa3/0xd0 security/security.c:1037 do_rmdir+0x227/0x300 fs/namei.c:3929 __do_sys_rmdir fs/namei.c:3950 [inline] __se_sys_rmdir fs/namei.c:3948 [inline] __x64_sys_rmdir+0x2f/0x40 fs/namei.c:3948 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff86142124 of 4 bytes by task 7771 on cpu 1: 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:1222 vfs_getattr+0x2e/0x70 fs/stat.c:115 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_stat include/linux/fs.h:3242 [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+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7771 Comm: udevd Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================