================================================================== BUG: KCSAN: data-race in mm_update_next_owner / ns_capable_common read to 0xffff8880a8b1d0e4 of 4 bytes by task 13718 on cpu 0: mm_update_next_owner+0x373/0x5a0 kernel/exit.c:389 exit_mm kernel/exit.c:484 [inline] do_exit+0x4a4/0x18c0 kernel/exit.c:784 do_group_exit+0xb4/0x1c0 kernel/exit.c:895 __do_sys_exit_group kernel/exit.c:906 [inline] __se_sys_exit_group kernel/exit.c:904 [inline] __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:904 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8880a8b1d0e4 of 4 bytes by task 8031 on cpu 1: ns_capable_common+0x9f/0xc0 kernel/capability.c:377 ns_capable+0x29/0x40 kernel/capability.c:396 do_ipt_get_ctl+0x63/0x630 net/ipv4/netfilter/ip_tables.c:1691 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline] nf_getsockopt+0x71/0xb0 net/netfilter/nf_sockopt.c:122 ip_getsockopt net/ipv4/ip_sockglue.c:1576 [inline] ip_getsockopt+0x118/0x160 net/ipv4/ip_sockglue.c:1556 tcp_getsockopt net/ipv4/tcp.c:3692 [inline] tcp_getsockopt+0x7c/0xc0 net/ipv4/tcp.c:3686 sock_common_getsockopt+0x67/0x90 net/core/sock.c:3108 __sys_getsockopt+0xf1/0x210 net/socket.c:2162 __do_sys_getsockopt net/socket.c:2177 [inline] __se_sys_getsockopt net/socket.c:2174 [inline] __x64_sys_getsockopt+0x70/0x90 net/socket.c:2174 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 8031 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================