{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "9b9960a0ca4773e21c4b153ed355583946346b25"
            },
            {
              "fixed": "e10bf0e125ebf6b9669b3158eda5fa67b56809d4"
            },
            {
              "fixed": "76bb89e8155fe29da36ecf0121e9e98afc0f4184"
            },
            {
              "fixed": "c0dacde381e1311bba8074e660d41ecc57c3bd2b"
            },
            {
              "fixed": "f913d5d2130a584d1a027ffe3dfd88b6be2e0540"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.8.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.61"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99363.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Map flex file layout IDs through the request's user namespace\n\nnfsd4_ff_proc_layoutget() and nfsd4_ff_encode_layoutget() translate\nthe file's 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's\nnamespace, so data server I/O runs under an identity unrelated to the\nfile's owner.\n\nSwitching to the request's 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": "CVE-2026-99363",
  "modified": "2026-11-19T16:46:08.295113358Z",
  "published": "2026-11-19T14:22:46.379Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "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"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99363.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99363"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "NFSD: Map flex file layout IDs through the request's user namespace"
}