================================================================== BUG: KCSAN: data-race in __sock_set_timestamps / pfkey_recvmsg write to 0xffff88814ac9c860 of 8 bytes by task 22345 on cpu 1: __sock_set_timestamps+0x2e/0x150 sock_set_timestamp+0x86/0x90 sock_setsockopt+0xf35/0x1fb0 net/core/sock.c:1180 __sys_setsockopt+0x239/0x2a0 net/socket.c:2172 __do_sys_setsockopt net/socket.c:2187 [inline] __se_sys_setsockopt net/socket.c:2184 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2184 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88814ac9c860 of 8 bytes by task 22344 on cpu 0: sock_recv_ts_and_drops include/net/sock.h:2613 [inline] pfkey_recvmsg+0x1ae/0x380 net/key/af_key.c:3714 ____sys_recvmsg+0x16c/0x320 ___sys_recvmsg net/socket.c:2670 [inline] do_recvmmsg+0x3f5/0xae0 net/socket.c:2764 __sys_recvmmsg net/socket.c:2845 [inline] __do_sys_recvmmsg net/socket.c:2866 [inline] __se_sys_recvmmsg net/socket.c:2859 [inline] __x64_sys_recvmmsg+0xf5/0x160 net/socket.c:2859 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000000100 -> 0x0000000000000980 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 22344 Comm: syz-executor.3 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================