================================================================== BUG: KCSAN: data-race in tomoyo_supervisor / tomoyo_supervisor read to 0xffffffff863539a4 of 4 bytes by task 7904 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:1222 vfs_getattr+0x2e/0x70 fs/stat.c:115 vfs_statx+0x102/0x190 fs/stat.c:191 vfs_lstat include/linux/fs.h:3254 [inline] __do_sys_newlstat+0x51/0xb0 fs/stat.c:354 __se_sys_newlstat fs/stat.c:348 [inline] __x64_sys_newlstat+0x3a/0x50 fs/stat.c:348 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffffff863539a4 of 4 bytes by task 7939 on cpu 1: 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:3941 __do_sys_rmdir fs/namei.c:3962 [inline] __se_sys_rmdir fs/namei.c:3960 [inline] __x64_sys_rmdir+0x2f/0x40 fs/namei.c:3960 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 7939 Comm: syz-executor.1 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================