================================================================== BUG: KCSAN: data-race in capable_wrt_inode_uidgid / mm_update_next_owner write to 0xffff88812cb2502c of 4 bytes by task 8723 on cpu 0: ns_capable_common kernel/capability.c:377 [inline] ns_capable kernel/capability.c:396 [inline] capable_wrt_inode_uidgid+0xa5/0x140 kernel/capability.c:509 generic_permission+0x1b7/0x420 fs/namei.c:422 do_inode_permission fs/namei.c:453 [inline] inode_permission+0x73/0x350 fs/namei.c:513 may_open+0x1a7/0x2f0 fs/namei.c:2983 do_open fs/namei.c:3363 [inline] path_openat+0x1874/0x21b0 fs/namei.c:3498 do_filp_open+0xbd/0x1d0 fs/namei.c:3525 do_sys_openat2+0xa3/0x250 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0xe2/0x110 fs/open.c:1207 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812cb2502c of 4 bytes by task 8726 on cpu 1: mm_update_next_owner+0x1d9/0x4b0 kernel/exit.c:388 exit_mm+0x33c/0x430 kernel/exit.c:500 do_exit+0x3fc/0x15e0 kernel/exit.c:812 do_group_exit+0x17d/0x180 kernel/exit.c:922 __do_sys_exit_group+0xb/0x10 kernel/exit.c:933 __se_sys_exit_group+0x5/0x10 kernel/exit.c:931 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:931 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8726 Comm: syz-executor.0 Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================