================================================================== BUG: KCSAN: data-race in tomoyo_check_path_acl / tomoyo_merge_path_acl write to 0xffff88812159351a of 2 bytes by task 8694 on cpu 0: 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_path_perm+0x261/0x330 security/tomoyo/file.c:838 tomoyo_path_truncate+0x18/0x20 security/tomoyo/tomoyo.c:135 security_path_truncate+0x7f/0xd0 security/security.c:1144 do_sys_ftruncate+0x2fa/0x3e0 fs/open.c:193 __do_sys_ftruncate fs/open.c:205 [inline] __se_sys_ftruncate fs/open.c:203 [inline] __x64_sys_ftruncate+0x2f/0x40 fs/open.c:203 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88812159351a of 2 bytes by task 8718 on cpu 1: tomoyo_check_path_acl+0x1e/0xe0 security/tomoyo/file.c:258 tomoyo_check_acl+0xcc/0x220 security/tomoyo/domain.c:175 tomoyo_execute_permission+0xa1/0x190 security/tomoyo/file.c:615 tomoyo_find_next_domain+0x213/0x10e0 security/tomoyo/domain.c:754 tomoyo_bprm_check_security+0x96/0xd0 security/tomoyo/tomoyo.c:101 security_bprm_check+0x3f/0x90 security/security.c:840 search_binary_handler fs/exec.c:1807 [inline] exec_binprm+0x143/0x760 fs/exec.c:1860 bprm_execve+0x42d/0x610 fs/exec.c:1931 do_execveat_common+0x605/0x6d0 fs/exec.c:2026 do_execve fs/exec.c:2094 [inline] __do_sys_execve fs/exec.c:2170 [inline] __se_sys_execve fs/exec.c:2165 [inline] __x64_sys_execve+0x56/0x70 fs/exec.c:2165 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8718 Comm: syz-fuzzer Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================