Buffer overflow in Illumos Illumos-Gate
CVE-2026-15449
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.
Vulnerability class: Buffer Overflow
EPSS: 0.001 (1.8th percentile) — read the EPSS interpretation.
Affected products
- Illumos Illumos-gate — versions eae72b5b807baa9116e64502cbb278edf15f3146
- Omnios — versions any, r151058, r151056
- Triton Data Center Smartos — versions any
Weakness classification (CWE)
References
- 0ca53633-f0b5-4853-ba72-e0a2e62000d0 (mailing-list)
- 0ca53633-f0b5-4853-ba72-e0a2e62000d0 (issue-tracking)
- 0ca53633-f0b5-4853-ba72-e0a2e62000d0 (patch)