================================================================== BUG: KCSAN: data-race in netlink_getname / netlink_insert write to 0xffff88813438a310 of 4 bytes by task 18290 on cpu 1: netlink_insert+0xe8/0x900 net/netlink/af_netlink.c:579 netlink_autobind+0xae/0x160 net/netlink/af_netlink.c:845 netlink_sendmsg+0x4bb/0x840 net/netlink/af_netlink.c:1884 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] sock_write_iter+0x1a3/0x200 net/socket.c:1057 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write fs/read_write.c:503 [inline] vfs_write+0x7f5/0x950 fs/read_write.c:590 ksys_write+0xd9/0x190 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:652 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 0xffff88813438a310 of 4 bytes by task 18291 on cpu 0: netlink_getname+0xbb/0x180 net/netlink/af_netlink.c:1133 __sys_getsockname+0x11d/0x1b0 net/socket.c:1946 __do_sys_getsockname net/socket.c:1961 [inline] __se_sys_getsockname net/socket.c:1958 [inline] __x64_sys_getsockname+0x3e/0x50 net/socket.c:1958 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: 0x00000000 -> 0x00001ce0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18291 Comm: syz-executor.4 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================