CVE-2026-15449
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| illumos | illumos-gate | eae72b5b807baa9116e64502cbb278edf15f3146 < 6959feb5b430411a4809b06c53dcdb42fb525eac | affected |
| OmniOS | OmniOS | any < r151054 | affected |
| OmniOS | OmniOS | r151058 < r151058j | affected |
| OmniOS | OmniOS | r151056 < r151056aj | affected |
| OmniOS | OmniOS | r151054 < r151054bj | affected |
| Triton Data Center | SmartOS | any < 202060709 | affected |
Weaknesses
- CWE-367: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-122: CWE-122 Heap-based Buffer Overflow
Workarounds
No mitigation is available. The referenced notification includes a DTrace script that detects exploitation attempts.
References
- https://illumos.topicbox.com/groups/developer/T923147fae854a738-M03c29e1be33dac2a5e3d9535/18020-double-copyin-of-dldioc-consumers
- https://illumos.org/issues/18020
- https://github.com/illumos/illumos-gate/commit/6959feb5b430411a4809b06c53dcdb42fb525eac
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.