CVE-2026-104112 PUBLISHED

Missing release of passed file descriptors in illumos nscd allows local users to exhaust kernel memory

Assigner: illumos
Reserved: 01.10.2026 Published: 09.10.2026 Updated: 09.10.2026

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.

Metrics

CVSS 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
CVSS Score: 6.8

Product Status

Vendor illumos
Product illumos-gate
Versions Default: unaffected
  • affected from cb5caa98562cf06753163f558cbcfe30b8f4673a to af810a72c09944e884ec695e8dbf1702a4f424ae (excl.)
Vendor OmniOS
Product OmniOS
Versions Default: affected
  • affected from any to r151054 (excl.)
  • affected from r151058 to r151058w (excl.)
  • affected from r151056 to r151056aw (excl.)
  • affected from r151054 to r151054bw (excl.)

Workarounds

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

Update your illumos distribution to one that includes the fix for this issue.

Credits

  • Robert French finder
  • James Wynne III finder
  • Dan McDonald remediation developer

References

Problem Types

  • CWE-772 Missing Release of Resource after Effective Lifetime CWE