Skip to main content
← All vulnerabilities
CVE-2026-15449

TOCTOU double copyin in illumos dld ioctl handling causes kernel heap corruption

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in r151054, r151058j, r151056aj, r151054bj, 20260709
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

A time-of-check to time-of-use (TOCTOU) flaw in the illumos data-link pseudo-driver (dld) affects handling of the DLDIOC_GETMACPROP and DLDIOC_SETMACPROP ioctls on /dev/dld. drv_ioc_prop_common() in usr/src/uts/common/io/dld/dld_drv.c copies the dld_ioc_macprop_t ioctl header in once to read its pr_valsize field, sizes and allocates a kernel heap buffer from that value, and then copies the full request in a second time from the same unprivileged user address. A concurrent thread can enlarge pr_valsize between the two copyins, so the second copyin and the subsequent property handling write beyond the end of the undersized allocation and corrupt the kernel heap. An unprivileged local user, including one confined to a non-global zone that owns a datalink, can trigger this to panic the system. The resulting kernel heap corruption may be usable for further compromise.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • illumos illumos-gate

    Version range not reported

  • OmniOS OmniOS

    fixed in r151054; From r151058 · fixed in r151058j; From r151056 · fixed in r151056aj; From r151054 · fixed in r151054bj

  • Triton Data Center SmartOS

    fixed in 20260709

References 3

illumos.topicbox.com

illumos.org

GitHub · illumos/illumos-gate