5.8medium
TOCTOU double copyin in illumos dld ioctl handling causes kernel heap corruption
- Severity
- 5.8medium CVSS:4.0 by illumos
- Exploit likelihood
- 0.08% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- illumos
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| illumos illumos-gate | from eae72b5b807baa9116e64502cbb278edf15f3146 before 6959feb5b430411a4809b06c53dcdb42fb525eac | CVE List |
| OmniOS OmniOS | from any before r151054, from r151058 before r151058j, from r151056 before r151056aj, from r151054 before r151054bj | CVE List |
| Triton Data Center SmartOS | from any before 202060709 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15449 changed 2026-07-17 | CVE Terms of Use |
| NVD | CVE-2026-15449 changed 2026-07-17 | Public domain |