From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795098881; b=3yrctTdEflaCe4Nh/52fPHc31T6/fyWm4VAkRR/gb6gzJRPcIFiQwz0W8Bt4C+5l/o9C ZcK3jSF+uKdW/4KdZb9IIBz576ASj1/J88vgsk7g5RpPl4I1luMWDoV2N5221Quf1OVA0 RW7c8lY/ExFfW/LbNkZ+tEPS50lFXh0tZS8E6YW+vh29XbCn4PJXaIo1oAB7VsQKgZ11H Rjkp/1hBVmdSZJvx616TKLDMmiFO2nJVuIbpTSrJVk3gwqhO1jYV8dmPk+WfmLSKD8C2w piMhNF6lukBm7MeIOTUGs7NEkKr0MqgUNJrH+pEQ1pogugqF5TqA++qMZWFR88B7vTQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795098881; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=o6b3BYveEq9cQsPvWQjRn1N88IxrVqbgD8lf5OwLzKs=; b=G33/d8I1IMMAxRWt48SjreB8MaCQNZNMo6tu3c00SRV0X1SC1OiX6p/FCxj3pzfwsN1y vG0c0zp6gR9V3KzzNwQZoKImdARrCFXEqXlcqrdsENHl0+Xnx5DIVy0EhNzplVYi5EtZK F1+E+uTf4/2ithkaeAQ8I0UedvfvTb8ToqyiIVwtfCqM3uHm81DyFs/DATA/OVkyfpPc+ uMvTp9CSPDiZXgwJdrhToJ6RUO/vIRaTA+EFNANWjgv8+mqo4rDruYOCY++AY0wpzk4Jw kKotwuxH8OyYT77DpWhLlu+Uq6Qly37REQ+m4JnRAuuasJrH2Ze/I8Z7+diY8JfJMSg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=a3gzRy9c; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33D6E60A260F for ; Thu, 19 Nov 2026 14:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=a3gzRy9c Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9521D1F000CA; Thu, 19 Nov 2026 14:34:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795098881; bh=o6b3BYveEq9cQsPvWQjRn1N88IxrVqbgD8lf5OwLzKs=; h=From:To:Cc:Subject:Date:Reply-To; b=a3gzRy9cvgfi0l4+k7SXllsrWJh5/+g7cjiSlskK4oyBXy8ofcEBTZRB1lkZvWZEC IVIiETetvwV1MWeWzgQs/BOoq1d1CI2PCCdP3n0Zs321vT49b2AK154f474VU2Sftm X85q5iJaaawQ8kgLWHUifkMy6rlbc0VcaYo1Agu8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99351: sunrpc: treat empty auth.unix.gid replies as negative entries Date: Thu, 19 Nov 2026 15:24:09 +0100 Message-ID: <2026111948-CVE-2026-99351-e4e5@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3449; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xFU/0RF++7+Gk0wTI/Fd4rECKUTMl5TaVNejnsTk9T8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Upk1KJXvtyn9uXBzXsnnFiTszfbXH0u0Seh+kHm5 2me964MHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRVDWG+R5bF9Uze/VrTZ00 S79P+fryfQz8BQxzuBdoc3t63J9j/v6qS/PKOx9z41yqAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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. The Linux kernel CVE team has assigned CVE-2026-99351 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.21 with commit 3fc605a2aa38899c12180ca311f1eeb61a6d867e and fixed in 6.12.117 with commit 3a791bd9456839f8f13c4686b2287524a0a04141 Issue introduced in 2.6.21 with commit 3fc605a2aa38899c12180ca311f1eeb61a6d867e and fixed in 6.18.61 with commit 8067c654ae8c6d88aa0d499e9974b59ab2fe5042 Issue introduced in 2.6.21 with commit 3fc605a2aa38899c12180ca311f1eeb61a6d867e and fixed in 7.3.2 with commit 9d161fa805f49dd21d131065485065067bb96c8a Issue introduced in 2.6.21 with commit 3fc605a2aa38899c12180ca311f1eeb61a6d867e and fixed in 7.4-rc1 with commit a12cc0930235b86b934ade7c077a1935c2ac333d Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99351 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/sunrpc/svcauth_unix.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3a791bd9456839f8f13c4686b2287524a0a04141 https://git.kernel.org/stable/c/8067c654ae8c6d88aa0d499e9974b59ab2fe5042 https://git.kernel.org/stable/c/9d161fa805f49dd21d131065485065067bb96c8a https://git.kernel.org/stable/c/a12cc0930235b86b934ade7c077a1935c2ac333d