================================================================== BUG: KCSAN: data-race in tomoyo_supervisor / tomoyo_supervisor read to 0xffffffff863559a4 of 4 bytes by task 7953 on cpu 1: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x1b0/0xd20 security/tomoyo/common.c:2077 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+0x23e/0x390 security/tomoyo/file.c:838 tomoyo_path_truncate+0x26/0x40 security/tomoyo/tomoyo.c:141 security_path_truncate+0x9b/0xd0 security/security.c:1088 do_sys_ftruncate+0x27d/0x340 fs/open.c:193 __do_sys_ftruncate fs/open.c:205 [inline] __se_sys_ftruncate fs/open.c:203 [inline] __x64_sys_ftruncate+0x3f/0x50 fs/open.c:203 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffffff863559a4 of 4 bytes by task 7964 on cpu 0: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x1c9/0xd20 security/tomoyo/common.c:2077 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x323/0x3c0 security/tomoyo/file.c:734 tomoyo_path_chmod+0x2f/0x40 security/tomoyo/tomoyo.c:348 security_path_chmod+0xac/0xe0 security/security.c:1095 chmod_common+0xe0/0x2d0 fs/open.c:556 do_fchmodat+0x7a/0x100 fs/open.c:599 __do_sys_fchmodat fs/open.c:612 [inline] __se_sys_fchmodat fs/open.c:609 [inline] __x64_sys_fchmodat+0x4d/0x60 fs/open.c:609 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 7964 Comm: syz-fuzzer Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================