================================================================== BUG: KCSAN: data-race in tomoyo_supervisor / tomoyo_supervisor write to 0xffffffff882c3678 of 8 bytes by task 4886 on cpu 1: 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_file_ioctl+0x1c/0x20 security/tomoyo/tomoyo.c:329 security_file_ioctl+0x45/0x90 security/security.c:1481 __do_sys_ioctl fs/ioctl.c:747 [inline] __se_sys_ioctl+0x48/0x140 fs/ioctl.c:739 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffffffff882c3678 of 8 bytes by task 6399 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:3670 __do_sys_mkdir fs/namei.c:3688 [inline] __se_sys_mkdir fs/namei.c:3686 [inline] __x64_sys_mkdir+0x32/0x40 fs/namei.c:3686 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: 6399 Comm: syz-executor.3 Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================