================================================================== BUG: KCSAN: data-race in netlink_getname / netlink_insert write to 0xffff888144ec2b08 of 4 bytes by task 2787 on cpu 1: netlink_insert+0xe8/0x900 net/netlink/af_netlink.c:583 netlink_autobind+0xae/0x160 net/netlink/af_netlink.c:845 netlink_sendmsg+0x4bb/0x850 net/netlink/af_netlink.c:1884 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0x39a/0x510 net/socket.c:2413 ___sys_sendmsg net/socket.c:2467 [inline] __sys_sendmsg+0x195/0x230 net/socket.c:2496 __do_sys_sendmsg net/socket.c:2505 [inline] __se_sys_sendmsg net/socket.c:2503 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2503 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888144ec2b08 of 4 bytes by task 2788 on cpu 0: netlink_getname+0xcd/0x1a0 net/netlink/af_netlink.c:1133 __sys_getsockname+0x11d/0x1b0 net/socket.c:1950 __do_sys_getsockname net/socket.c:1965 [inline] __se_sys_getsockname net/socket.c:1962 [inline] __x64_sys_getsockname+0x3e/0x50 net/socket.c:1962 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000 -> 0x00006311 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 2788 Comm: syz-executor.4 Not tainted 5.17.0-syzkaller-11406-gf82da161ea75-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================