================================================================== BUG: KCSAN: data-race in do_ip_setsockopt.isra.0 / raw_recvmsg write to 0xffff8880a9e55706 of 2 bytes by task 14577 on cpu 0: do_ip_setsockopt.isra.0+0x11c8/0x2960 net/ipv4/ip_sockglue.c:696 ip_setsockopt+0x52/0x100 net/ipv4/ip_sockglue.c:1248 raw_setsockopt+0xc5/0xe0 net/ipv4/raw.c:856 sock_common_setsockopt+0x67/0x90 net/core/sock.c:3151 __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 read to 0xffff8880a9e55706 of 2 bytes by task 14580 on cpu 1: raw_recvmsg+0x32e/0x4a0 net/ipv4/raw.c:791 inet_recvmsg+0xbb/0x250 net/ipv4/af_inet.c:838 sock_recvmsg_nosec+0x5c/0x70 net/socket.c:871 ___sys_recvmsg+0x1a0/0x3e0 net/socket.c:2480 do_recvmmsg+0x19a/0x5c0 net/socket.c:2601 __sys_recvmmsg+0x1ef/0x200 net/socket.c:2680 __do_sys_recvmmsg net/socket.c:2703 [inline] __se_sys_recvmmsg net/socket.c:2696 [inline] __x64_sys_recvmmsg+0x89/0xb0 net/socket.c:2696 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: 14580 Comm: syz-executor.4 Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================