================================================================== BUG: KCSAN: data-race in tomoyo_check_path_acl / tomoyo_merge_path_acl read to 0xffff888096f5e95a of 2 bytes by task 18894 on cpu 0: tomoyo_check_path_acl+0x2b/0xa0 security/tomoyo/file.c:258 tomoyo_check_acl+0xf6/0x270 security/tomoyo/domain.c:172 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0xe3/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_fd+0x7a/0xd0 fs/stat.c:145 vfs_fstat include/linux/fs.h:3258 [inline] __do_sys_newfstat+0x49/0xa0 fs/stat.c:378 __se_sys_newfstat fs/stat.c:375 [inline] __x64_sys_newfstat+0x3a/0x50 fs/stat.c:375 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888096f5e95a of 2 bytes by task 18893 on cpu 1: tomoyo_merge_path_acl+0x6c/0xa0 security/tomoyo/file.c:372 tomoyo_update_domain+0x323/0x450 security/tomoyo/domain.c:129 tomoyo_update_path_acl security/tomoyo/file.c:398 [inline] tomoyo_write_file+0x34e/0x580 security/tomoyo/file.c:1022 tomoyo_write_domain2+0xad/0x120 security/tomoyo/common.c:1150 tomoyo_add_entry security/tomoyo/common.c:2040 [inline] tomoyo_supervisor+0xad7/0xd20 security/tomoyo/common.c:2101 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_fd+0x7a/0xd0 fs/stat.c:145 vfs_fstat include/linux/fs.h:3258 [inline] __do_sys_newfstat+0x49/0xa0 fs/stat.c:378 __se_sys_newfstat fs/stat.c:375 [inline] __x64_sys_newfstat+0x3a/0x50 fs/stat.c:375 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: 18893 Comm: blkid Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================