Skip to content

CVE-2026-15449 TOCTOU double copyin in illumos dld ioctl handling causes kernel heap corruption

MediumCVSS 5.8 EPSS 0.12%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
illumos-gate >= eae72b5b807baa9116e64502cbb278edf15f3146, < 6959feb5b430411a4809b06c53dcdb42fb525eac 6959feb5b430411a4809b06c53dcdb42fb525eac Fixed
OmniOS >= any, < r151054; >= r151054, < r151054bj; >= r151056, < r151056aj; >= r151058, < r151058j r151054, r151054bj, r151056aj, r151058j Fixed
Triton Data Center SmartOS >= any, < 20260709 20260709 Fixed

Affected products

ProductAffected versionsFixed in
illumos-gate >= eae72b5b807baa9116e64502cbb278edf15f3146, < 6959feb5b430411a4809b06c53dcdb42fb525eac 6959feb5b430411a4809b06c53dcdb42fb525eac
OmniOS >= any, < r151054 r151054
OmniOS >= r151058, < r151058j r151058j
OmniOS >= r151056, < r151056aj r151056aj
OmniOS >= r151054, < r151054bj r151054bj
Triton Data Center SmartOS >= any, < 20260709 20260709

References