GHSA-JHH4-QHQJ-C3FV
Vulnerability from github – Published: 2026-11-19 15:31 – Updated: 2026-11-19 15:31In 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.
{
"affected": [],
"aliases": [
"CVE-2026-99363"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-19T15:17:47Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Map flex file layout IDs through the request\u0027s user namespace\n\nnfsd4_ff_proc_layoutget() and nfsd4_ff_encode_layoutget() translate\nthe file\u0027s owner and group with init_user_ns, but every other identity\nnfsd places on the wire goes through nfsd_user_namespace(). When the\ntransport carries a credential from a non-initial user namespace, the\nflex file layout reports host-global IDs. The client copies those IDs\ninto the AUTH_SYS credential it presents to the data server, and\nsvcauth_unix_accept() resolves that credential in the transport\u0027s\nnamespace, so data server I/O runs under an identity unrelated to the\nfile\u0027s owner.\n\nSwitching to the request\u0027s namespace introduces a second hazard.\nfrom_kuid() returns (uid_t)-1 when the target namespace has no\nmapping for the owner, and the IOMODE_READ arm adds one to that\nresult to derive an identity for which the data server denies\nwrites. The addition would wrap to zero, handing the client uid 0\ninstead of an identity distinct from the owner.\n\nTranslate both IDs in nfsd4_ff_proc_layoutget(), which has the\nsvc_rqst, and carry the wire values in struct pnfs_ff_layout.\nfrom_kuid_munged() substitutes overflowuid for an unmapped owner and\nthus never returns (uid_t)-1, so the increment cannot wrap to zero.",
"id": "GHSA-jhh4-qhqj-c3fv",
"modified": "2026-11-19T15:31:22Z",
"published": "2026-11-19T15:31:22Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99363"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/76bb89e8155fe29da36ecf0121e9e98afc0f4184"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c0dacde381e1311bba8074e660d41ecc57c3bd2b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e10bf0e125ebf6b9669b3158eda5fa67b56809d4"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f913d5d2130a584d1a027ffe3dfd88b6be2e0540"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.