================================================================== BUG: KCSAN: data-race in capable / do_task_stat read-write to 0xffff88810a33802c of 4 bytes by task 14817 on cpu 0: ns_capable_common kernel/capability.c:377 [inline] ns_capable kernel/capability.c:396 [inline] capable+0x78/0xa0 kernel/capability.c:449 sock_setsockopt+0x68f/0x2030 net/core/sock.c:896 __sys_setsockopt+0x337/0x460 net/socket.c:2111 __do_sys_setsockopt net/socket.c:2126 [inline] __se_sys_setsockopt net/socket.c:2123 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2123 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff88810a33802c of 4 bytes by task 1 on cpu 1: do_task_stat+0x9c4/0x10c0 fs/proc/array.c:579 proc_tgid_stat+0x2f/0x40 fs/proc/array.c:663 proc_single_show+0x84/0x100 fs/proc/base.c:775 seq_read_iter+0x2d8/0x8e0 fs/seq_file.c:227 seq_read+0x221/0x260 fs/seq_file.c:159 vfs_read+0x154/0x5c0 fs/read_write.c:494 ksys_read+0xce/0x180 fs/read_write.c:634 __do_sys_read fs/read_write.c:644 [inline] __se_sys_read fs/read_write.c:642 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:642 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: 1 PID: 1 Comm: systemd Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================