================================================================== BUG: KCSAN: data-race in tomoyo_domain_quota_is_ok / tomoyo_merge_path_acl write to 0xffff888105ca2ada of 2 bytes by task 8627 on cpu 1: tomoyo_merge_path_acl+0x4f/0x80 security/tomoyo/file.c:372 tomoyo_update_domain+0x337/0x3a0 security/tomoyo/domain.c:131 tomoyo_update_path_acl security/tomoyo/file.c:398 [inline] tomoyo_write_file+0x210/0x910 security/tomoyo/file.c:1022 tomoyo_write_domain2 security/tomoyo/common.c:1152 [inline] tomoyo_add_entry security/tomoyo/common.c:2042 [inline] tomoyo_supervisor+0xac5/0xb30 security/tomoyo/common.c:2103 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_check_open_permission+0x2d0/0x370 security/tomoyo/file.c:780 tomoyo_file_open+0xd0/0xe0 security/tomoyo/tomoyo.c:313 security_file_open+0x3f/0x90 security/security.c:1574 do_dentry_open+0x27c/0x8e0 fs/open.c:815 vfs_open+0x43/0x50 fs/open.c:942 do_open fs/namei.c:3243 [inline] path_openat+0x185f/0x20e0 fs/namei.c:3360 do_filp_open+0xbd/0x1d0 fs/namei.c:3387 do_sys_openat2+0x33c/0x4a0 fs/open.c:1179 do_sys_open fs/open.c:1195 [inline] __do_sys_openat fs/open.c:1209 [inline] __se_sys_openat fs/open.c:1204 [inline] __x64_sys_openat+0xef/0x110 fs/open.c:1204 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888105ca2ada of 2 bytes by task 8630 on cpu 0: tomoyo_domain_quota_is_ok+0xd7/0x2d0 security/tomoyo/util.c:1042 tomoyo_supervisor+0x1f4/0xb30 security/tomoyo/common.c:2089 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x227/0x2d0 security/tomoyo/file.c:734 tomoyo_path_mkdir+0x50/0x70 security/tomoyo/tomoyo.c:167 security_path_mkdir+0x95/0xf0 security/security.c:1085 do_mkdirat+0xf7/0x220 fs/namei.c:3662 __do_sys_mkdirat fs/namei.c:3675 [inline] __se_sys_mkdirat fs/namei.c:3673 [inline] __x64_sys_mkdirat+0x3e/0x50 fs/namei.c:3673 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8630 Comm: syz-fuzzer Not tainted 5.8.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================