diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index cf39f15..6d1997e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -978,6 +978,8 @@ static abi_long do_socket(int domain, int type, int protocol)
         break;
     }
 #endif
+    if (domain == PF_NETLINK)
+        return -EAFNOSUPPORT; /* do not NETLINK socket connections possible */
     return get_errno(socket(domain, type, protocol));
 }