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

CVE-2026-104114: illumos nwamd NULL Pointer DOS Vulnerability

CVE-2026-104114 is a NULL pointer dereference flaw in illumos Network Auto-Magic daemon that enables local users to crash the service and disrupt network configuration. This post covers technical details, impact, 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-104114 Overview

CVE-2026-104114 is a NULL pointer dereference vulnerability [CWE-476] in the illumos Network Auto-Magic daemon (nwamd). The function nwamd_door_switch() in usr/src/cmd/cmd-inet/lib/nwamd/door_if.c writes to the caller's request structure before validating that a request was supplied and before checking caller credentials. The nwamd door at /etc/svc/volatile/nwam/nwam_door is accessible to all local users. An unprivileged local user can issue a door_call() with no argument data to crash the daemon. Repeated calls place the svc:/network/physical:nwam service into maintenance, stopping automatic network configuration.

Critical Impact

Any local unprivileged user can crash nwamd and disable automatic network configuration on affected illumos distributions when the nwam physical network service is enabled.

Affected Products

  • illumos-gate distributions prior to commit 0f1064d9
  • Any illumos-based operating system shipping nwamd since 2010 (commit 6ba597c5)
  • Systems with svc:/network/physical:nwam enabled (non-default configuration)

Discovery Timeline

  • 2026-10-09 - CVE-2026-104114 published to the National Vulnerability Database (NVD)
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-104114

Vulnerability Analysis

The flaw resides in the door server implementation of nwamd, the illumos Network Auto-Magic daemon that provides automatic network configuration. Door servers in illumos are a lightweight inter-process communication (IPC) mechanism used by local processes. The nwamd door file at /etc/svc/volatile/nwam/nwam_door is world-accessible, allowing any local user to invoke door_call() against the daemon.

The vulnerable function nwamd_door_switch() dereferences the caller-supplied request buffer before verifying that the buffer was actually supplied. A door_call() issued with no argument data causes the daemon to write through a NULL pointer, crashing the process. Service Management Facility (SMF) tracks repeated crashes and transitions svc:/network/physical:nwam into the maintenance state, halting automatic network configuration until an administrator intervenes.

Root Cause

Two ordering errors in nwamd_door_switch() cause the issue: the function writes to the caller's request structure before checking whether a request was supplied, and before validating caller credentials. The missing input validation [CWE-476] has existed since illumos-gate commit 6ba597c5 in 2010.

Attack Vector

Exploitation requires only local, unprivileged access to a system where nwamd is running. The attacker opens the public door file and issues a door_call() with no payload. No authentication, elevated privileges, or user interaction is required. The result is a denial-of-service condition on automatic network configuration.

c
/*
 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 * Copyright 2026 Oxide Computer Company
 */

#include <auth_attr.h>

Source: illumos-gate commit 0f1064d9 — the patch adds payload presence and credential checks before any writes to the request structure in both usr/src/cmd/cmd-inet/lib/nwamd/door_if.c and usr/src/lib/libnwam/common/libnwam_backend.c.

Detection Methods for CVE-2026-104114

Indicators of Compromise

  • Unexpected transitions of svc:/network/physical:nwam into the maintenance state recorded by SMF
  • Core dumps or restart events for the nwamd process in /var/svc/log/network-physical:nwam.log
  • Loss of automatic network configuration on hosts where nwam was previously operational

Detection Strategies

  • Monitor SMF service state changes with svcs -xv svc:/network/physical:nwam and alert on maintenance transitions
  • Audit local processes that open or call /etc/svc/volatile/nwam/nwam_door using DTrace or auditd equivalents
  • Correlate repeated nwamd restarts with recently authenticated local users to identify abuse

Monitoring Recommendations

  • Forward SMF service state and nwamd process events into a centralized logging or SIEM platform for anomaly detection
  • Track per-user door_call() activity against the nwam_door endpoint to spot repeated empty-payload calls
  • Baseline normal nwamd restart frequency and alert on deviations consistent with repeated denial-of-service attempts

How to Mitigate CVE-2026-104114

Immediate Actions Required

  • Apply the upstream illumos-gate fix at commit 0f1064d9 or install an updated distribution package containing it
  • If nwam is not required, disable the service using svcadm disable svc:/network/physical:nwam and use the default static network configuration
  • Review which local accounts have shell access on affected hosts and restrict unnecessary local login

Patch Information

The vulnerability is remediated by illumos-gate commit 0f1064d9, tracked as Illumos Issue #18495. The patch adds payload presence and caller credential validation prior to any dereference of the request structure in nwamd_door_switch(). Additional background is available in the illumos CVE discussion for door server issues CVE-2026-104112 through CVE-2026-104117.

Workarounds

  • Disable the svc:/network/physical:nwam service and fall back to the default physical network service where feasible
  • Restrict local, interactive user access on systems that must run nwamd until the patch is deployed
  • Monitor and automatically restart nwamd with increased SMF restart thresholds to delay transition to maintenance
bash
# Check service state and disable nwam if automatic configuration is not required
svcs -xv svc:/network/physical:nwam
svcadm disable svc:/network/physical:nwam
svcadm enable svc:/network/physical:default

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.