Kernel Kit / Infix / v26.10.0latest
CVE-2026-99363
—unknownlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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.
Published 2026-11-19NVD
Build check · v26.10.0 x86_64
None of the source files the CNA lists for CVE-2026-99363 (fs/nfsd/flexfilelayout.c, fs/nfsd/flexfilelayoutxdr.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.
Evidence 2
…/ is output/build/linux-6.18.60/fs/nfsd/
object file absent: not compiled
…/flexfilelayout.o
object file absent: not compiled
…/flexfilelayoutxdr.o
Members of Kernel Kit decide. Sign in if you are one.