{"id":"CVE-2026-104112","state":"PUBLISHED","title":"Missing release of passed file descriptors in illumos nscd allows local users to exhaust kernel memory","description":"A missing release of resources in the illumos name service cache daemon (nscd) allows a local user to exhaust kernel memory. The nscd door server procedure, switcher() in usr/src/cmd/nscd/nscd_frontend.c, does not close file descriptors that are passed with a door call but not used by the request, and the main nscd door at /var/run/name_service_door accepts passed descriptors from any user in its zone. Because nscd also runs with an unlimited file descriptor limit, an unprivileged local user, including one in a non-global zone, can repeatedly pass a descriptor to its zone's nscd in a door_call() loop, causing the file descriptor table of nscd to grow without bound in kernel memory. This causes a denial of service of nscd and can render processes in all zones on the host unresponsive. The flaw has existed since 2006 (illumos-gate commit cb5caa98), and affects any illumos distribution prior to illumos-gate commit af810a72.","publishedAt":"2026-10-09T14:19:29.399Z","updatedAt":"2026-10-09T16:45:36.172Z","severity":{"score":6.8,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:P","source":"illumos"},"assigner":"illumos","products":["illumos illumos-gate","OmniOS OmniOS"],"affected":[{"vendor":"illumos","product":"illumos-gate","packageName":"SUNWcs","defaultStatus":"unaffected","versions":[{"version":"cb5caa98562cf06753163f558cbcfe30b8f4673a","status":"affected","lessThan":"af810a72c09944e884ec695e8dbf1702a4f424ae","changes":[{"at":"af810a72c09944e884ec695e8dbf1702a4f424ae","status":"unaffected"}],"versionType":"git"}],"platforms":["x86"],"collectionURL":"https://illumos.org","repo":"https://github.com/illumos/illumos-gate","programFiles":["usr/src/cmd/nscd/nscd_frontend.c"]},{"vendor":"OmniOS","product":"OmniOS","defaultStatus":"affected","versions":[{"version":"any","status":"affected","lessThan":"r151054","versionType":"custom"},{"version":"r151058","status":"affected","lessThan":"r151058w","changes":[{"at":"r151058w","status":"unaffected"}],"versionType":"custom"},{"version":"r151056","status":"affected","lessThan":"r151056aw","changes":[{"at":"r151056aw","status":"unaffected"}],"versionType":"custom"},{"version":"r151054","status":"affected","lessThan":"r151054bw","changes":[{"at":"r151054bw","status":"unaffected"}],"versionType":"custom"}]}],"references":["https://illumos.topicbox.com/groups/developer/T3b859664594b7762/cve-2026-104112-to-cve-2026-104117-denial-of-service-and-missing-authorization-in-door-servers","https://illumos.org/issues/18494","https://github.com/illumos/illumos-gate/commit/af810a72c09944e884ec695e8dbf1702a4f424ae"],"weaknesses":["CWE-772"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/104xxx/CVE-2026-104112.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-104112","state":"PUBLISHED","datePublished":"2026-10-09T14:19:29.399Z","dateUpdated":"2026-10-09T16:45:36.172Z","assignerShortName":"illumos","assignerOrgId":"0ca53633-f0b5-4853-ba72-e0a2e62000d0","dateReserved":"2026-10-01T18:07:53.956Z"},"containers":{"cna":{"title":"Missing release of passed file descriptors in illumos nscd allows local users to exhaust kernel memory","descriptions":[{"lang":"en","value":"A missing release of resources in the illumos name service cache daemon (nscd) allows a local user to exhaust kernel memory. The nscd door server procedure, switcher() in usr/src/cmd/nscd/nscd_frontend.c, does not close file descriptors that are passed with a door call but not used by the request, and the main nscd door at /var/run/name_service_door accepts passed descriptors from any user in its zone. Because nscd also runs with an unlimited file descriptor limit, an unprivileged local user, including one in a non-global zone, can repeatedly pass a descriptor to its zone's nscd in a door_call() loop, causing the file descriptor table of nscd to grow without bound in kernel memory. This causes a denial of service of nscd and can render processes in all zones on the host unresponsive. The flaw has existed since 2006 (illumos-gate commit cb5caa98), and affects any illumos distribution prior to illumos-gate commit af810a72."}],"affected":[{"vendor":"illumos","product":"illumos-gate","packageName":"SUNWcs","defaultStatus":"unaffected","versions":[{"version":"cb5caa98562cf06753163f558cbcfe30b8f4673a","status":"affected","lessThan":"af810a72c09944e884ec695e8dbf1702a4f424ae","changes":[{"at":"af810a72c09944e884ec695e8dbf1702a4f424ae","status":"unaffected"}],"versionType":"git"}],"platforms":["x86"],"collectionURL":"https://illumos.org","repo":"https://github.com/illumos/illumos-gate","programFiles":["usr/src/cmd/nscd/nscd_frontend.c"]},{"vendor":"OmniOS","product":"OmniOS","defaultStatus":"affected","versions":[{"version":"any","status":"affected","lessThan":"r151054","versionType":"custom"},{"version":"r151058","status":"affected","lessThan":"r151058w","changes":[{"at":"r151058w","status":"unaffected"}],"versionType":"custom"},{"version":"r151056","status":"affected","lessThan":"r151056aw","changes":[{"at":"r151056aw","status":"unaffected"}],"versionType":"custom"},{"version":"r151054","status":"affected","lessThan":"r151054bw","changes":[{"at":"r151054bw","status":"unaffected"}],"versionType":"custom"}]}],"references":[{"url":"https://illumos.topicbox.com/groups/developer/T3b859664594b7762/cve-2026-104112-to-cve-2026-104117-denial-of-service-and-missing-authorization-in-door-servers","tags":["mailing-list"]},{"url":"https://illumos.org/issues/18494","tags":["issue-tracking"]},{"url":"https://github.com/illumos/illumos-gate/commit/af810a72c09944e884ec695e8dbf1702a4f424ae","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"HIGH","exploitMaturity":"PROOF_OF_CONCEPT","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.8,"vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-772","lang":"en","description":"CWE-772 Missing Release of Resource after Effective Lifetime","type":"CWE"}]}],"providerMetadata":{"shortName":"illumos","orgId":"0ca53633-f0b5-4853-ba72-e0a2e62000d0","dateUpdated":"2026-10-09T14:23:18.421Z"},"workarounds":[{"lang":"en","value":"One can mitigate by disabling the name-service-cache SMF service in every affected zone, but once upgraded that service should be re-enabled.","supportingMedia":[{"type":"text/html","base64":false,"value":"One can mitigate by disabling the name-service-cache SMF service in every affected zone, but once upgraded that service should be re-enabled."}]}],"solutions":[{"lang":"en","value":"Update your illumos distribution to one that includes the fix for this issue.","supportingMedia":[{"type":"text/html","base64":false,"value":"Update your illumos distribution to one that includes the fix for this issue."}]}],"credits":[{"lang":"en","value":"Robert French","type":"finder"},{"lang":"en","value":"James Wynne III","type":"finder"},{"lang":"en","value":"Dan McDonald","type":"remediation developer"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"hand-authored"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-09T16:15:18.136992Z","id":"CVE-2026-104112","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-09T16:45:36.172Z"}}]}}}