Ad

CVE-2026-99351

NONE EPSS 0.26%
Обновлено 23 ноября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: sunrpc: treat empty auth.unix.gid replies as negative entries When rpc.mountd cannot resolve a uid (getpwuid() or getgrouplist() failure, e.g. while winbind or sssd is briefly unreachable), it answers the auth.unix.gid upcall with zero groups. unix_gid_parse() installs that as a valid positive entry, and svcauth_unix_set_client() then replaces the credential's group list with the empty one on every request, RPCSEC_GSS included via svcauth_gss_set_client(). Одна неудавшаяся поисковая полоса, которая uid всех дополнительных групп на каждом экспорте до настроенного TTL (по умолчанию 30 минут), долгое время после восстановления сервера NSS. mounted не может отправить пустой список для успешного поиска, так как getgrouplist(3) всегда включает в себя по крайней мере основную группу пользователя, поэтому ответ нулевой группы может означать только неудачу поиска. Запишите это как отрицательную запись: unix_gid_find () затем возвращает -ENOENT и svcauth_unix_set_client () сохраняет группы, которые уже несут учетные данные RPC.

Это запасной вариант, который фиксирует 3fc605a2aa38 ("[PATCH] knfsd: позволяет серверу предоставлять список gid при использовании аутентификации AUTH_UNIX»), обещанный, когда нет ответа, и то же самое состояние try_to_negate_entry () уже создает, когда ни один слушатель не держит канал открытым.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: sunrpc: treat empty auth.unix.gid replies as negative entries When rpc.mountd cannot resolve a uid (getpwuid() or getgrouplist() failure, e.g. while winbind or sssd is briefly unreachable), it answers the auth.unix.gid upcall with zero groups. unix_gid_parse() installs that as a valid positive entry, and svcauth_unix_set_client() then replaces the credential's group list with the empty one on every request, RPCSEC_GSS included via svcauth_gss_set_client(). One failed lookup strips that uid of all supplementary groups on every export for up to mountd's configured TTL (30 minutes by default), long after the NSS backend has recovered. mountd cannot send an empty list for a successful lookup, since getgrouplist(3) always includes at least the user's primary group, so a zero-group reply can only mean the lookup failed. Record it as a negative entry: unix_gid_find() then returns -ENOENT and svcauth_unix_set_client() keeps the groups the RPC credential already carries. This is the fallback that commit 3fc605a2aa38 ("[PATCH] knfsd: allow the server to provide a gid list when using AUTH_UNIX authentication") promised when no answer is available, and the same state try_to_negate_entry() already creates when no listener holds the channel open.