CVE-2026-99363

Not scored yetLast modified Nov 23, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 9b9960a0ca4773e21c4b153ed355583946346b25, < 64b971da40273654126365d9c07405c0a5e0dddb; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 8e496e6de043c4910f91ebad832065b84a607520; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 184893a9c44c29c8afbf061303af3c26a665f97e; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < f3cb478d231ca0dc9093def921189779891d8056; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < e10bf0e125ebf6b9669b3158eda5fa67b56809d4; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 76bb89e8155fe29da36ecf0121e9e98afc0f4184; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < c0dacde381e1311bba8074e660d41ecc57c3bd2b; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < f913d5d2130a584d1a027ffe3dfd88b6be2e0540
LinuxLinux4.8

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99364In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix out-of-bounds read in the rpc_status dump nfsd_nl_rpc_statusCVE-2026-99365In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix id-to-name cache entry leak in idtoname_parse() idtoname_looCVE-2026-993669.8In the Linux kernel, the following vulnerability has been resolved: nfsd: don't modify a session slot when replaying its cached reply nfsdCVE-2026-99367In the Linux kernel, the following vulnerability has been resolved: NFSD: Don't complete a cld upcall the daemon has not read cld_pipe_dowCVE-2026-99368In the Linux kernel, the following vulnerability has been resolved: NFSD: Do not send CB_RECALL_ANY to NFSv4.0 clients deleg_reaper() sendCVE-2026-99369In the Linux kernel, the following vulnerability has been resolved: NFSD: Destroy a recalled delegation the client does not hold A client CVE-2026-99378.3Use after free in UI in Google Chrome on Windows prior to 148.0.7778.216 allowed a remote attacker who had compromised the renderer process CVE-2026-993709.4In the Linux kernel, the following vulnerability has been resolved: NFSD: copy SETXATTR data from all XDR buffer segments nfsd4_vbuf_from_CVE-2026-99371In the Linux kernel, the following vulnerability has been resolved: nfsd: clear XDR padding in GETXATTR replies nfsd4_vbuf_to_stream() useCVE-2026-99372In the Linux kernel, the following vulnerability has been resolved: NFSD: cap the number of listeners accepted in listener_set nfsd_nl_lisCVE-2026-99373In the Linux kernel, the following vulnerability has been resolved: NFS/localio: detect a short read or write before the iterator has movedCVE-2026-99374In the Linux kernel, the following vulnerability has been resolved: NFSv4/flexfiles: Use the full 64-bit stripe_unit ff_layout_alloc_lseg(