# CVE-2026-99363: NFSD: Map flex file layout IDs through the request's user namespace

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99363, UBUNTU-CVE-2026-99363, CGA-2mxj-8qph-5hxj, CGA-42g2-8w97-cmpj, CGA-6jc8-65q9-fgr5, CGA-72pg-cpgv-6rvp, CGA-cm3m-4cw6-6rvm, CGA-g3vv-9f5q-649f, CGA-g7hc-7qgf-m867, CGA-hcm7-h9rj-qqrj, CGA-m8fc-5g94-q49m, CGA-wxvj-hw8x-vvgp, CGA-7g57-pg3f-rm7p, CGA-7qmg-g96j-5fg7, CGA-pxf2-cm8f-75cm, CGA-q6jp-28wx-8g96, CGA-rh3m-j6fj-9mqg, CGA-rj74-54gj-63p8, CGA-v634-3q88-qg75, CGA-wjg9-pq54-6264, CGA-xcmf-mwr4-236x
- Record: https://cvemate.com/vulnerability/CVE-2026-99363 · JSON: https://cvemate.com/vulnerability/CVE-2026-99363/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.244%, percentile 16.705%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 181)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.118-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://security-tracker.debian.org/tracker/CVE-2026-99363>
- <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://ubuntu.com/security/CVE-2026-99363>
- <https://www.cve.org/CVERecord?id=CVE-2026-99363>
- <https://git.kernel.org/linus/f913d5d2130a584d1a027ffe3dfd88b6be2e0540>

---

Data as of 2026-12-05T03:57:32.653Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
