================================================================== BUG: KCSAN: data-race in tomoyo_check_acl / tomoyo_update_domain write to 0xffff8880a8411bd8 of 1 bytes by task 8395 on cpu 0: tomoyo_update_domain+0x35e/0x450 security/tomoyo/domain.c:132 tomoyo_write_env security/tomoyo/environ.c:105 [inline] tomoyo_write_misc+0x11c/0x190 security/tomoyo/environ.c:121 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_env_log security/tomoyo/environ.c:36 [inline] tomoyo_env_perm+0xfd/0x120 security/tomoyo/environ.c:63 tomoyo_environ security/tomoyo/domain.c:670 [inline] tomoyo_find_next_domain+0xd8e/0x11f6 security/tomoyo/domain.c:876 tomoyo_bprm_check_security security/tomoyo/tomoyo.c:107 [inline] tomoyo_bprm_check_security+0xbc/0x100 security/tomoyo/tomoyo.c:97 security_bprm_check+0x5d/0xa0 security/security.c:784 search_binary_handler+0x56/0x420 fs/exec.c:1646 exec_binprm fs/exec.c:1702 [inline] __do_execve_file.isra.0+0xb76/0x11d0 fs/exec.c:1822 do_execveat_common fs/exec.c:1868 [inline] do_execve fs/exec.c:1885 [inline] __do_sys_execve fs/exec.c:1961 [inline] __se_sys_execve fs/exec.c:1956 [inline] __x64_sys_execve+0x62/0x80 fs/exec.c:1956 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880a8411bd8 of 1 bytes by task 8396 on cpu 1: tomoyo_check_acl+0x98/0x270 security/tomoyo/domain.c:170 tomoyo_env_perm+0xd6/0x120 security/tomoyo/environ.c:62 tomoyo_environ security/tomoyo/domain.c:670 [inline] tomoyo_find_next_domain+0xd8e/0x11f6 security/tomoyo/domain.c:876 tomoyo_bprm_check_security security/tomoyo/tomoyo.c:107 [inline] tomoyo_bprm_check_security+0xbc/0x100 security/tomoyo/tomoyo.c:97 security_bprm_check+0x5d/0xa0 security/security.c:784 search_binary_handler+0x56/0x420 fs/exec.c:1646 exec_binprm fs/exec.c:1702 [inline] __do_execve_file.isra.0+0xb76/0x11d0 fs/exec.c:1822 do_execveat_common fs/exec.c:1868 [inline] do_execve fs/exec.c:1885 [inline] __do_sys_execve fs/exec.c:1961 [inline] __se_sys_execve fs/exec.c:1956 [inline] __x64_sys_execve+0x62/0x80 fs/exec.c:1956 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: 8396 Comm: sh Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================