{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3fc605a2aa38899c12180ca311f1eeb61a6d867e"
            },
            {
              "fixed": "3a791bd9456839f8f13c4686b2287524a0a04141"
            },
            {
              "fixed": "8067c654ae8c6d88aa0d499e9974b59ab2fe5042"
            },
            {
              "fixed": "9d161fa805f49dd21d131065485065067bb96c8a"
            },
            {
              "fixed": "a12cc0930235b86b934ade7c077a1935c2ac333d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.21"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "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-99351.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsunrpc: treat empty auth.unix.gid replies as negative entries\n\nWhen rpc.mountd cannot resolve a uid (getpwuid() or getgrouplist()\nfailure, e.g. while winbind or sssd is briefly unreachable), it\nanswers the auth.unix.gid upcall with zero groups. unix_gid_parse()\ninstalls that as a valid positive entry, and svcauth_unix_set_client()\nthen replaces the credential's group list with the empty one on\nevery request, RPCSEC_GSS included via svcauth_gss_set_client().\nOne failed lookup strips that uid of all supplementary groups on\nevery export for up to mountd's configured TTL (30 minutes by\ndefault), long after the NSS backend has recovered.\n\nmountd cannot send an empty list for a successful lookup, since\ngetgrouplist(3) always includes at least the user's primary group,\nso a zero-group reply can only mean the lookup failed. Record it as\na negative entry: unix_gid_find() then returns -ENOENT and\nsvcauth_unix_set_client() keeps the groups the RPC credential\nalready carries. This is the fallback that\ncommit 3fc605a2aa38 (\"[PATCH] knfsd: allow the server to provide a\ngid list when using AUTH_UNIX authentication\") promised when no\nanswer is available, and the same state try_to_negate_entry()\nalready creates when no listener holds the channel open.",
  "id": "CVE-2026-99351",
  "modified": "2026-11-19T16:45:50.458201896Z",
  "published": "2026-11-19T14:22:11.953Z",
  "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/3a791bd9456839f8f13c4686b2287524a0a04141"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8067c654ae8c6d88aa0d499e9974b59ab2fe5042"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d161fa805f49dd21d131065485065067bb96c8a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a12cc0930235b86b934ade7c077a1935c2ac333d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99351.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99351"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "sunrpc: treat empty auth.unix.gid replies as negative entries"
}