================================================================== BUG: KCSAN: data-race in __set_oom_adj / ns_capable_common read to 0xffff88810b1d80e4 of 4 bytes by task 9994 on cpu 0: __set_oom_adj+0x21e/0x750 fs/proc/base.c:1101 oom_score_adj_write+0x136/0x170 fs/proc/base.c:1215 __vfs_write+0x67/0xc0 fs/read_write.c:494 __kernel_write+0xb8/0x240 fs/read_write.c:515 write_pipe_buf+0xb6/0xf0 fs/splice.c:794 splice_from_pipe_feed fs/splice.c:500 [inline] __splice_from_pipe+0x248/0x480 fs/splice.c:624 splice_from_pipe+0xbb/0x100 fs/splice.c:659 default_file_splice_write+0x45/0x90 fs/splice.c:806 do_splice_from fs/splice.c:848 [inline] do_splice+0x497/0xbe0 fs/splice.c:1155 __do_sys_splice fs/splice.c:1425 [inline] __se_sys_splice fs/splice.c:1405 [inline] __x64_sys_splice+0x20a/0x220 fs/splice.c:1405 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88810b1d80e4 of 4 bytes by task 18264 on cpu 1: ns_capable_common+0x9f/0xc0 kernel/capability.c:377 ns_capable+0x29/0x40 kernel/capability.c:396 do_ip6t_get_ctl+0x63/0x640 net/ipv6/netfilter/ip6_tables.c:1700 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x71/0xb0 net/netfilter/nf_sockopt.c:122 ipv6_getsockopt net/ipv6/ipv6_sockglue.c:1400 [inline] ipv6_getsockopt+0x17c/0x1d0 net/ipv6/ipv6_sockglue.c:1380 tcp_getsockopt net/ipv4/tcp.c:3688 [inline] tcp_getsockopt+0x7c/0xc0 net/ipv4/tcp.c:3682 sock_common_getsockopt+0x67/0x90 net/core/sock.c:3110 __sys_getsockopt+0xf1/0x210 net/socket.c:2129 __do_sys_getsockopt net/socket.c:2144 [inline] __se_sys_getsockopt net/socket.c:2141 [inline] __x64_sys_getsockopt+0x70/0x90 net/socket.c:2141 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 18264 Comm: syz-executor.1 Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================