================================================================== BUG: KCSAN: data-race in ns_capable_setid / task_dump_owner write to 0xffff88812a1fd0ec of 4 bytes by task 6871 on cpu 1: ns_capable_common kernel/capability.c:377 [inline] ns_capable_setid+0x89/0xb0 kernel/capability.c:433 __sys_setgid+0x8e/0x1a0 kernel/sys.c:441 __do_sys_setgid kernel/sys.c:461 [inline] __se_sys_setgid kernel/sys.c:459 [inline] __x64_sys_setgid+0x1a/0x20 kernel/sys.c:459 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812a1fd0ec of 4 bytes by task 1018 on cpu 0: task_dump_owner+0x2b/0x1d0 fs/proc/base.c:1822 pid_update_inode fs/proc/base.c:1964 [inline] proc_pident_instantiate+0x138/0x190 fs/proc/base.c:2617 proc_pident_lookup fs/proc/base.c:2641 [inline] proc_tgid_base_lookup+0x10c/0x180 fs/proc/base.c:3292 __lookup_slow+0x181/0x280 fs/namei.c:1629 lookup_slow fs/namei.c:1646 [inline] walk_component+0x2a5/0x350 fs/namei.c:1942 lookup_last fs/namei.c:2397 [inline] path_lookupat+0x12d/0x570 fs/namei.c:2421 filename_lookup+0xff/0x390 fs/namei.c:2454 user_path_at_empty+0x3b/0x50 fs/namei.c:2734 do_readlinkat+0x87/0x200 fs/stat.c:417 __do_sys_readlinkat fs/stat.c:444 [inline] __se_sys_readlinkat fs/stat.c:441 [inline] __x64_sys_readlinkat+0x4f/0x60 fs/stat.c:441 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: 0 PID: 1018 Comm: systemd-journal Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================