{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-15449","assignerOrgId":"0ca53633-f0b5-4853-ba72-e0a2e62000d0","state":"PUBLISHED","assignerShortName":"illumos","dateReserved":"2026-07-10T19:23:40.195Z","datePublished":"2026-07-16T19:27:16.036Z","dateUpdated":"2026-07-17T12:42:57.781Z"},"containers":{"cna":{"providerMetadata":{"orgId":"0ca53633-f0b5-4853-ba72-e0a2e62000d0","shortName":"illumos","dateUpdated":"2026-07-16T19:27:16.036Z"},"title":"TOCTOU double copyin in illumos dld ioctl handling causes kernel heap corruption","datePublic":"2026-07-08T19:00:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]},{"descriptions":[{"lang":"en","cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","type":"CWE"}]}],"affected":[{"vendor":"illumos","product":"illumos-gate","repo":"https://github.com/illumos/illumos-gate","modules":["kernel","dld"],"programFiles":["usr/src/uts/common/io/dld/dld_drv.c","usr/src/uts/common/sys/dld.h"],"versions":[{"status":"affected","version":"eae72b5b807baa9116e64502cbb278edf15f3146","lessThan":"6959feb5b430411a4809b06c53dcdb42fb525eac","changes":[{"at":"6959feb5b430411a4809b06c53dcdb42fb525eac","status":"unaffected"}],"versionType":"git"}],"defaultStatus":"affected"},{"vendor":"OmniOS","product":"OmniOS","versions":[{"status":"affected","version":"any","lessThan":"r151054","versionType":"custom"},{"status":"affected","version":"r151058","lessThan":"r151058j","changes":[{"at":"r151058j","status":"unaffected"}],"versionType":"custom"},{"status":"affected","version":"r151056","lessThan":"r151056aj","changes":[{"at":"r151056aj","status":"unaffected"}],"versionType":"custom"},{"status":"affected","version":"r151054","lessThan":"r151054bj","changes":[{"at":"r151054bj","status":"unaffected"}],"versionType":"custom"}],"defaultStatus":"affected"},{"vendor":"Triton Data Center","product":"SmartOS","versions":[{"status":"affected","version":"any","lessThan":"202060709","changes":[{"at":"20260709","status":"unaffected"}],"versionType":"custom"}],"defaultStatus":"affected"}],"descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<pre>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.</pre>"}]}],"references":[{"url":"https://illumos.topicbox.com/groups/developer/T923147fae854a738-M03c29e1be33dac2a5e3d9535/18020-double-copyin-of-dldioc-consumers","tags":["mailing-list"]},{"url":"https://illumos.org/issues/18020","tags":["issue-tracking"]},{"url":"https://github.com/illumos/illumos-gate/commit/6959feb5b430411a4809b06c53dcdb42fb525eac","tags":["patch"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.8,"vectorString":"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"}}],"workarounds":[{"lang":"en","value":"No mitigation is available. The referenced notification includes a DTrace script that detects exploitation attempts.","supportingMedia":[{"type":"text/html","base64":false,"value":"No mitigation is available. The referenced notification includes a DTrace script that detects exploitation attempts."}]}],"solutions":[{"lang":"en","value":"Update your illumos distribution to one that includes the fix for issue 18020.","supportingMedia":[{"type":"text/html","base64":false,"value":"Update your illumos distribution to one that includes the fix for issue 18020."}]}],"timeline":[{"time":"2026-07-08T19:00:00.000Z","lang":"en","value":"Disclosed"}],"impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]},{"capecId":"CAPEC-30","descriptions":[{"lang":"en","value":"CAPEC-30 Hijacking a Privileged Thread of Execution"}]}],"credits":[{"lang":"en","value":"Nick Wilkens of Edgecast Cloud","type":"finder"},{"lang":"en","value":"Dan McDonald","type":"remediation developer"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-17T12:42:46.397037Z","id":"CVE-2026-15449","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-17T12:42:57.781Z"}}]}}