sunrpc: treat empty auth.unix.gid replies as negative entries (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.27 % · centile 20 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
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.
Références
- https://git.kernel.org/stable/c/544d9ac0f6ea71ef743b249eb5dcd4af4fcf9497
- https://git.kernel.org/stable/c/7257ffbd64309a39b1c5febb8d1709072837e0e1
- https://git.kernel.org/stable/c/d449a7448cf18f06eda673095be653d5cc44ae70
- https://git.kernel.org/stable/c/c687133dce7fff425a943057b891e782719e112a
- 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
Références européennes
- ENISA EUVD · EUVD-2026-130009
- GCVE · GCVE-0-2026-99351
Avis du CERT-FR
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < 544d9ac0f6ea71ef743b249eb5dcd4af4fcf9497 affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < 7257ffbd64309a39b1c5febb8d1709072837e0e1 affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < d449a7448cf18f06eda673095be653d5cc44ae70 affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < c687133dce7fff425a943057b891e782719e112a affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < 3a791bd9456839f8f13c4686b2287524a0a04141 affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < 8067c654ae8c6d88aa0d499e9974b59ab2fe5042 affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < 9d161fa805f49dd21d131065485065067bb96c8a affectée : ≥ 3fc605a2aa38899c12180ca311f1eeb61a6d867e < a12cc0930235b86b934ade7c077a1935c2ac333d Autres versions : non affectée |
| Linux · Linux | affectée : 2.6.21 non affectée : ≥ 0 < 2.6.21 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |