================================================================== BUG: KCSAN: data-race in capable_wrt_inode_uidgid / mm_update_next_owner write to 0xffff888145acc02c of 4 bytes by task 2971 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+0x6b/0x290 fs/namei.c:513 may_open+0x1a7/0x2f0 fs/namei.c:2982 do_open fs/namei.c:3359 [inline] path_openat+0x17b3/0x20b0 fs/namei.c:3494 do_filp_open+0xd9/0x1f0 fs/namei.c:3521 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+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888145acc02c of 4 bytes by task 2974 on cpu 1: mm_update_next_owner+0x1d9/0x520 kernel/exit.c:389 exit_mm+0x358/0x450 kernel/exit.c:501 do_exit+0x3ff/0x1560 kernel/exit.c:813 do_group_exit+0x19b/0x1a0 kernel/exit.c:923 __do_sys_exit_group+0xb/0x10 kernel/exit.c:934 __se_sys_exit_group+0x5/0x10 kernel/exit.c:932 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:932 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2974 Comm: syz-executor.0 Not tainted 5.13.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================