================================================================== BUG: KCSAN: data-race in ns_capable / task_dump_owner write to 0xffff88813327e06c of 4 bytes by task 19351 on cpu 1: ns_capable_common kernel/capability.c:377 [inline] ns_capable+0x86/0xb0 kernel/capability.c:396 netlink_allowed net/netlink/af_netlink.c:921 [inline] netlink_sendmsg+0x3ba/0x7c0 net/netlink/af_netlink.c:1881 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0x360/0x4d0 net/socket.c:2350 ___sys_sendmsg net/socket.c:2404 [inline] __sys_sendmsg+0x1ed/0x270 net/socket.c:2433 __do_sys_sendmsg net/socket.c:2442 [inline] __se_sys_sendmsg net/socket.c:2440 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2440 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813327e06c of 4 bytes by task 1021 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_open fs/namei.c:3199 [inline] open_last_lookups fs/namei.c:3291 [inline] path_openat+0xb5a/0x20b0 fs/namei.c:3497 do_filp_open+0xd9/0x1f0 fs/namei.c:3527 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+0x34/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1021 Comm: systemd-journal Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================