NFSD: Map flex file layout IDs through the request's user namespace (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.24 % · centile 17 ()
- É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: NFSD: Map flex file layout IDs through the request's user namespace nfsd4_ff_proc_layoutget() and nfsd4_ff_encode_layoutget() translate the file's owner and group with init_user_ns, but every other identity nfsd places on the wire goes through nfsd_user_namespace(). When the transport carries a credential from a non-initial user namespace, the flex file layout reports host-global IDs. The client copies those IDs into the AUTH_SYS credential it presents to the data server, and svcauth_unix_accept() resolves that credential in the transport's namespace, so data server I/O runs under an identity unrelated to the file's owner. Switching to the request's namespace introduces a second hazard. from_kuid() returns (uid_t)-1 when the target namespace has no mapping for the owner, and the IOMODE_READ arm adds one to that result to derive an identity for which the data server denies writes. The addition would wrap to zero, handing the client uid 0 instead of an identity distinct from the owner. Translate both IDs in nfsd4_ff_proc_layoutget(), which has the svc_rqst, and carry the wire values in struct pnfs_ff_layout. from_kuid_munged() substitutes overflowuid for an unmapped owner and thus never returns (uid_t)-1, so the increment cannot wrap to zero.
Références
- https://git.kernel.org/stable/c/64b971da40273654126365d9c07405c0a5e0dddb
- https://git.kernel.org/stable/c/8e496e6de043c4910f91ebad832065b84a607520
- https://git.kernel.org/stable/c/184893a9c44c29c8afbf061303af3c26a665f97e
- https://git.kernel.org/stable/c/f3cb478d231ca0dc9093def921189779891d8056
- https://git.kernel.org/stable/c/e10bf0e125ebf6b9669b3158eda5fa67b56809d4
- https://git.kernel.org/stable/c/76bb89e8155fe29da36ecf0121e9e98afc0f4184
- https://git.kernel.org/stable/c/c0dacde381e1311bba8074e660d41ecc57c3bd2b
- https://git.kernel.org/stable/c/f913d5d2130a584d1a027ffe3dfd88b6be2e0540
Références européennes
- ENISA EUVD · EUVD-2026-130021
- GCVE · GCVE-0-2026-99363
Avis du CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < 64b971da40273654126365d9c07405c0a5e0dddb affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < 8e496e6de043c4910f91ebad832065b84a607520 affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < 184893a9c44c29c8afbf061303af3c26a665f97e affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < f3cb478d231ca0dc9093def921189779891d8056 affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < e10bf0e125ebf6b9669b3158eda5fa67b56809d4 affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < 76bb89e8155fe29da36ecf0121e9e98afc0f4184 affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < c0dacde381e1311bba8074e660d41ecc57c3bd2b affectée : ≥ 9b9960a0ca4773e21c4b153ed355583946346b25 < f913d5d2130a584d1a027ffe3dfd88b6be2e0540 Autres versions : non affectée |
| Linux · Linux | affectée : 4.8 non affectée : ≥ 0 < 4.8 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.118 ≤ 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 |