================================================================== BUG: KCSAN: data-race in tomoyo_supervisor / tomoyo_supervisor write to 0xffffffff883bbc78 of 8 bytes by task 4893 on cpu 1: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x176/0xb20 security/tomoyo/common.c:2079 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_inode_getattr+0x18/0x20 security/tomoyo/tomoyo.c:123 security_inode_getattr+0x7f/0xd0 security/security.c:1279 vfs_getattr fs/stat.c:121 [inline] vfs_statx+0xf8/0x270 fs/stat.c:189 vfs_fstatat fs/stat.c:207 [inline] vfs_lstat include/linux/fs.h:3109 [inline] __do_sys_newlstat fs/stat.c:362 [inline] __se_sys_newlstat+0x46/0x250 fs/stat.c:356 __x64_sys_newlstat+0x2d/0x40 fs/stat.c:356 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffffff883bbc78 of 8 bytes by task 8463 on cpu 0: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x176/0xb20 security/tomoyo/common.c:2079 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x227/0x2d0 security/tomoyo/file.c:734 tomoyo_path_mkdir+0x50/0x70 security/tomoyo/tomoyo.c:167 security_path_mkdir+0x95/0xf0 security/security.c:1086 do_mkdirat+0xf7/0x220 fs/namei.c:3671 __do_sys_mkdir fs/namei.c:3689 [inline] __se_sys_mkdir fs/namei.c:3687 [inline] __x64_sys_mkdir+0x32/0x40 fs/namei.c:3687 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: 0 PID: 8463 Comm: syz-executor.4 Not tainted 5.10.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================