================================================================== BUG: KCSAN: data-race in tomoyo_supervisor / tomoyo_supervisor write to 0xffffffff860bff40 of 4 bytes by task 7140 on cpu 1: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_add_entry security/tomoyo/common.c:2042 [inline] tomoyo_supervisor+0xcd3/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_check_open_permission+0x2b9/0x320 security/tomoyo/file.c:780 tomoyo_file_open security/tomoyo/tomoyo.c:319 [inline] tomoyo_file_open+0x75/0x90 security/tomoyo/tomoyo.c:314 security_file_open+0x69/0x210 security/security.c:1457 do_dentry_open+0x20a/0x900 fs/open.c:784 vfs_open+0x62/0x80 fs/open.c:906 do_last fs/namei.c:3416 [inline] path_openat+0xf75/0x3530 fs/namei.c:3533 do_filp_open+0x11e/0x1b0 fs/namei.c:3563 do_sys_open+0x3b3/0x4f0 fs/open.c:1089 __do_sys_openat fs/open.c:1116 [inline] __se_sys_openat fs/open.c:1110 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1110 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff860bff40 of 4 bytes by task 7137 on cpu 0: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_add_entry security/tomoyo/common.c:2042 [inline] tomoyo_supervisor+0xcbe/0xd20 security/tomoyo/common.c:2101 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x323/0x3c0 security/tomoyo/file.c:734 tomoyo_path_mkdir+0x6e/0xa0 security/tomoyo/tomoyo.c:173 security_path_mkdir+0xb8/0xf0 security/security.c:989 do_mkdirat+0xef/0x1f0 fs/namei.c:3836 __do_sys_mkdirat fs/namei.c:3849 [inline] __se_sys_mkdirat fs/namei.c:3847 [inline] __x64_sys_mkdirat+0x4d/0x60 fs/namei.c:3847 do_syscall_64+0xcf/0x2f0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7137 Comm: syz-fuzzer Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================