Skip to main content
Vulnerability Database/CVE-2026-104113

CVE-2026-104113: OmniOS/SmartOS Use-After-Free Vulnerability

CVE-2026-104113 is a use-after-free flaw in the IP management daemon of OmniOS and SmartOS that allows local users to crash the daemon and disrupt network services. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-104113 Overview

CVE-2026-104113 is a double free vulnerability [CWE-415] in the IP management daemon (ipmgmtd) of OmniOS and SmartOS. The flaw resides in the ipmgmt_handler() function within usr/src/cmd/cmd-inet/lib/ipmgmtd/ipmgmt_door.c. When authorizing a door request that modifies interface configuration, the daemon frees the caller's credential with ucred_free() immediately after reading the user ID, then frees it again on the authorization-failure error path. An unprivileged local user without the solaris.network.interface.config authorization can trigger the abort by sending a request such as IPMGMT_CMD_RESETIF to the ipmgmtd door.

Critical Impact

Repeated requests place the svc:/network/ip-interface-management service into maintenance, preventing IP interface configuration on the host.

Affected Products

  • OmniOS r151020 and later (prior to the fix)
  • SmartOS (prior to the fix)
  • illumos-joyent and illumos-omnios distributions containing OmniOS commit 4c170900 (2014)

Discovery Timeline

  • 2026-10-09 - CVE CVE-2026-104113 published to NVD
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-104113

Vulnerability Analysis

The ipmgmtd daemon exposes a door-based IPC interface used by ipadm and related tools to configure IP interfaces. The ipmgmt_handler() function performs authorization checks on incoming door requests by inspecting the caller's credentials. The vulnerable code path retrieves the real user ID with ucred_getruid(cred), frees the credential structure, and then follows error-handling logic that frees the same pointer again if the authorization check fails.

Because the credential is released before authorization is validated, any failing request from an unprivileged caller causes ucred_free() to be invoked twice on the same allocation. The result is heap corruption that aborts ipmgmtd. The System Management Facility (SMF) restarts the service, but repeated calls push svc:/network/ip-interface-management into the maintenance state, blocking all subsequent IP interface configuration.

Root Cause

The early ucred_free() call was introduced in 2014 by OmniOS commit 4c170900 to support lx-branded zones. The equivalent code in upstream illumos-gate does not contain the early free, so the defect is specific to OmniOS and downstream SmartOS. The error-path cleanup assumes the credential pointer is still owned by the handler, producing the second free.

Attack Vector

Exploitation requires only local, unprivileged access to the host. The attacker sends a door request such as IPMGMT_CMD_RESETIF that modifies interface configuration without holding the solaris.network.interface.config authorization. Each request terminates the daemon; repeated requests exhaust SMF restart tolerance and leave the service in maintenance.

c
// Patch excerpt - removal of the premature ucred_free() call
 			goto fail;
 		}
 		uid = ucred_getruid(cred);
-		ucred_free(cred);
 		if ((int)uid < 0) {
 			err = errno;
 			ipmgmt_log(LOG_ERR, "Could not get user id.");

Source: omniosorg/illumos-omnios commit 670d853f

Detection Methods for CVE-2026-104113

Indicators of Compromise

  • Unexpected abort or core dumps attributed to the ipmgmtd process in /var/crash or SMF logs.
  • SMF service svc:/network/ip-interface-management transitioning to maintenance state via svcs -xv.
  • Repeated restart entries for ipmgmtd in /var/svc/log/network-ip-interface-management:default.log.

Detection Strategies

  • Monitor SMF state transitions for network/ip-interface-management and alert on any shift to maintenance.
  • Audit door client activity against ipmgmtd from non-root users, which is unusual on hardened OmniOS and SmartOS hosts.
  • Correlate ipmgmtd restarts with concurrent ipadm or custom door-client invocations by unprivileged UIDs.

Monitoring Recommendations

  • Forward SMF service state changes and process crash events to a centralized logging or SIEM pipeline.
  • Track user-level process execution and door IPC usage on multi-tenant OmniOS and SmartOS zones.
  • Alert on loss of IP interface management capability, which indicates service degradation whether caused by abuse or operational error.

How to Mitigate CVE-2026-104113

Immediate Actions Required

  • Apply the OmniOS patch from commit 670d853f that removes the premature ucred_free() call in ipmgmt_handler().
  • Upgrade affected OmniOS r151020 or later and SmartOS hosts to a release that includes the fix.
  • Restrict local shell access on multi-tenant systems until the patch is deployed.

Patch Information

The fix is published in the omniosorg illumos repository. See omniosorg/illumos-omnios commit 670d853f and the Illumos developer discussion on CVE-2026-104112 to CVE-2026-104117 for additional context and related door-server fixes.

Workarounds

  • Limit local login access to trusted administrators on OmniOS and SmartOS systems until patches are applied.
  • Monitor the svc:/network/ip-interface-management service and automate recovery with svcadm clear if it enters maintenance.
  • Review and reduce the number of unprivileged users with shell access on hosts where ipmgmtd is exposed via door IPC.
bash
# Check service status and clear maintenance state after remediation
svcs -xv svc:/network/ip-interface-management
svcadm clear svc:/network/ip-interface-management

# Verify the patched binary is in place
pkg verify -v network/ipadm

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.