================================================================== BUG: KCSAN: data-race in tomoyo_supervisor / tomoyo_supervisor write to 0xffffffff863559e4 of 4 bytes by task 7910 on cpu 1: tomoyo_update_stat security/tomoyo/common.c:2340 [inline] tomoyo_supervisor+0x1c9/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+0x352/0x390 security/tomoyo/file.c:838 tomoyo_path_rmdir+0x63/0x90 security/tomoyo/tomoyo.c:189 security_path_rmdir+0xa3/0xd0 security/security.c:1037 do_rmdir+0x227/0x300 fs/namei.c:3941 __do_sys_rmdir fs/namei.c:3962 [inline] __se_sys_rmdir fs/namei.c:3960 [inline] __x64_sys_rmdir+0x2f/0x40 fs/namei.c:3960 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffffff863559e4 of 4 bytes by task 7927 on cpu 0: 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_sb_umount+0x60/0x90 security/tomoyo/tomoyo.c:415 security_sb_umount+0x65/0xa0 security/security.c:865 do_umount fs/namespace.c:1511 [inline] ksys_umount+0x26b/0xab0 fs/namespace.c:1698 __do_sys_umount fs/namespace.c:1709 [inline] __se_sys_umount fs/namespace.c:1707 [inline] __x64_sys_umount+0x3a/0x50 fs/namespace.c:1707 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: 7927 Comm: syz-executor.4 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================