================================================================== BUG: KCSAN: data-race in tomoyo_check_acl / tomoyo_update_domain write to 0xffff8880a1ef2418 of 1 bytes by task 7288 on cpu 1: tomoyo_update_domain+0x32f/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+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_unlinkat fs/namei.c:4095 [inline] __se_sys_unlinkat fs/namei.c:4089 [inline] __x64_sys_unlinkat+0xb6/0xd0 fs/namei.c:4089 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a1ef2418 of 1 bytes by task 7283 on cpu 0: tomoyo_check_acl+0x98/0x270 security/tomoyo/domain.c:170 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_path_unlink+0x63/0x90 security/tomoyo/tomoyo.c:156 security_path_unlink+0xa3/0xd0 security/security.c:1044 do_unlinkat+0x2f1/0x530 fs/namei.c:4052 __do_sys_unlinkat fs/namei.c:4097 [inline] __se_sys_unlinkat fs/namei.c:4089 [inline] __x64_sys_unlinkat+0x8d/0xd0 fs/namei.c:4089 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: 0 PID: 7283 Comm: syz-fuzzer Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================