================================================================== BUG: KCSAN: data-race in tomoyo_domain_quota_is_ok / tomoyo_merge_path_acl write to 0xffff8880af8b541a of 2 bytes by task 8909 on cpu 0: tomoyo_merge_path_acl+0x65/0x90 security/tomoyo/file.c:372 tomoyo_update_domain+0x320/0x440 security/tomoyo/domain.c:131 tomoyo_update_path_acl security/tomoyo/file.c:398 [inline] tomoyo_write_file+0x333/0x540 security/tomoyo/file.c:1022 tomoyo_write_domain2+0xab/0x120 security/tomoyo/common.c:1152 tomoyo_add_entry security/tomoyo/common.c:2042 [inline] tomoyo_supervisor+0xa85/0xc90 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_permission+0x118/0x150 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x273/0x2d0 security/tomoyo/file.c:780 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x6c/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x64/0x280 security/security.c:1548 do_dentry_open+0x212/0x970 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:911 do_open fs/namei.c:3229 [inline] path_openat+0x1ff4/0x23d0 fs/namei.c:3346 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 __do_sys_openat fs/open.c:1178 [inline] __se_sys_openat fs/open.c:1173 [inline] __x64_sys_openat+0x5d/0x70 fs/open.c:1173 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff8880af8b541a of 2 bytes by task 8910 on cpu 1: tomoyo_domain_quota_is_ok+0x29b/0x2b0 security/tomoyo/util.c:1041 tomoyo_supervisor+0x1d9/0xc90 security/tomoyo/common.c:2089 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x2d7/0x360 security/tomoyo/file.c:734 tomoyo_path_mkdir+0x6b/0xa0 security/tomoyo/tomoyo.c:173 security_path_mkdir+0xb0/0xe0 security/security.c:1080 do_mkdirat+0xf3/0x200 fs/namei.c:3646 __do_sys_mkdirat fs/namei.c:3659 [inline] __se_sys_mkdirat fs/namei.c:3657 [inline] __x64_sys_mkdirat+0x49/0x60 fs/namei.c:3657 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8910 Comm: syz-fuzzer Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================