================================================================== BUG: KCSAN: data-race in get_task_mm / ns_capable_common read to 0xffff8880adba3124 of 4 bytes by task 7516 on cpu 1: get_task_mm+0x4f/0xa0 kernel/fork.c:1209 do_task_stat+0xe2/0x1370 fs/proc/array.c:453 proc_tgid_stat+0x3d/0x60 fs/proc/array.c:632 proc_single_show+0x89/0xe0 fs/proc/base.c:756 seq_read+0x350/0x960 fs/seq_file.c:229 __vfs_read+0x67/0xc0 fs/read_write.c:425 vfs_read fs/read_write.c:461 [inline] vfs_read+0x143/0x2c0 fs/read_write.c:446 ksys_read+0xd5/0x1b0 fs/read_write.c:587 __do_sys_read fs/read_write.c:597 [inline] __se_sys_read fs/read_write.c:595 [inline] __x64_sys_read+0x4c/0x60 fs/read_write.c:595 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8880adba3124 of 4 bytes by task 7360 on cpu 0: ns_capable_common+0x9f/0xc0 kernel/capability.c:377 ns_capable+0x29/0x40 kernel/capability.c:396 do_ip6t_set_ctl+0x65/0x311 net/ipv6/netfilter/ip6_tables.c:1676 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x6e/0xb0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt net/ipv6/ipv6_sockglue.c:949 [inline] ipv6_setsockopt+0x119/0x130 net/ipv6/ipv6_sockglue.c:933 tcp_setsockopt net/ipv4/tcp.c:3148 [inline] tcp_setsockopt+0x7c/0xc0 net/ipv4/tcp.c:3142 sock_common_setsockopt+0x67/0x90 net/core/sock.c:3147 __sys_setsockopt+0x1ce/0x370 net/socket.c:2084 __do_sys_setsockopt net/socket.c:2100 [inline] __se_sys_setsockopt net/socket.c:2097 [inline] __x64_sys_setsockopt+0x70/0x90 net/socket.c:2097 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: 0 PID: 7360 Comm: syz-executor.3 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================