================================================================== BUG: KCSAN: data-race in netlink_getname / netlink_insert write to 0xffff8881079ee308 of 4 bytes by task 27122 on cpu 0: netlink_insert+0xe8/0x900 net/netlink/af_netlink.c:583 netlink_autobind+0xae/0x160 net/netlink/af_netlink.c:845 netlink_sendmsg+0x43f/0x750 net/netlink/af_netlink.c:1884 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] sock_write_iter+0x1a3/0x200 net/socket.c:1061 call_write_iter include/linux/fs.h:2050 [inline] new_sync_write fs/read_write.c:504 [inline] vfs_write+0x71c/0x890 fs/read_write.c:591 ksys_write+0xe8/0x1a0 fs/read_write.c:644 __do_sys_write fs/read_write.c:656 [inline] __se_sys_write fs/read_write.c:653 [inline] __x64_sys_write+0x3e/0x50 fs/read_write.c:653 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881079ee308 of 4 bytes by task 27123 on cpu 1: 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/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000 -> 0x00001032 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 27123 Comm: syz-executor.4 Not tainted 5.18.0-rc6-syzkaller-00148-gec7f49619d8e-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================