CVE-2026-15449 (GCVE-0-2026-15449)

Vulnerability from cvelistv5 – Published: 2026-07-16 19:27 – Updated: 2026-07-16 19:27
VLAI
Title
TOCTOU double copyin in illumos dld ioctl handling causes kernel heap corruption
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.
CWE
  • CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition
  • CWE-122 - Heap-based Buffer Overflow
Assigner
Impacted products
Vendor Product Version
illumos illumos-gate Affected: eae72b5b807baa9116e64502cbb278edf15f3146 , < 6959feb5b430411a4809b06c53dcdb42fb525eac (git)
Create a notification for this product.
OmniOS OmniOS Affected: any , < r151054 (custom)
Affected: r151058 , < r151058j (custom)
Affected: r151056 , < r151056aj (custom)
Affected: r151054 , < r151054bj (custom)
Create a notification for this product.
Triton Data Center SmartOS Affected: any , < 202060709 (custom)
Create a notification for this product.
Date Public
2026-07-08 19:00
Credits
Nick Wilkens of Edgecast Cloud Dan McDonald
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "affected",
          "modules": [
            "kernel",
            "dld"
          ],
          "product": "illumos-gate",
          "programFiles": [
            "usr/src/uts/common/io/dld/dld_drv.c",
            "usr/src/uts/common/sys/dld.h"
          ],
          "repo": "https://github.com/illumos/illumos-gate",
          "vendor": "illumos",
          "versions": [
            {
              "changes": [
                {
                  "at": "6959feb5b430411a4809b06c53dcdb42fb525eac",
                  "status": "unaffected"
                }
              ],
              "lessThan": "6959feb5b430411a4809b06c53dcdb42fb525eac",
              "status": "affected",
              "version": "eae72b5b807baa9116e64502cbb278edf15f3146",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "OmniOS",
          "vendor": "OmniOS",
          "versions": [
            {
              "lessThan": "r151054",
              "status": "affected",
              "version": "any",
              "versionType": "custom"
            },
            {
              "changes": [
                {
                  "at": "r151058j",
                  "status": "unaffected"
                }
              ],
              "lessThan": "r151058j",
              "status": "affected",
              "version": "r151058",
              "versionType": "custom"
            },
            {
              "changes": [
                {
                  "at": "r151056aj",
                  "status": "unaffected"
                }
              ],
              "lessThan": "r151056aj",
              "status": "affected",
              "version": "r151056",
              "versionType": "custom"
            },
            {
              "changes": [
                {
                  "at": "r151054bj",
                  "status": "unaffected"
                }
              ],
              "lessThan": "r151054bj",
              "status": "affected",
              "version": "r151054",
              "versionType": "custom"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "SmartOS",
          "vendor": "Triton Data Center",
          "versions": [
            {
              "changes": [
                {
                  "at": "20260709",
                  "status": "unaffected"
                }
              ],
              "lessThan": "202060709",
              "status": "affected",
              "version": "any",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Nick Wilkens of Edgecast Cloud"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Dan McDonald"
        }
      ],
      "datePublic": "2026-07-08T19:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cpre\u003eA 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.\u003c/pre\u003e"
            }
          ],
          "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."
        }
      ],
      "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"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 5.8,
            "baseSeverity": "MEDIUM",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-367",
              "description": "CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-122",
              "description": "CWE-122 Heap-based Buffer Overflow",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-16T19:27:16.036Z",
        "orgId": "0ca53633-f0b5-4853-ba72-e0a2e62000d0",
        "shortName": "illumos"
      },
      "references": [
        {
          "tags": [
            "mailing-list"
          ],
          "url": "https://illumos.topicbox.com/groups/developer/T923147fae854a738-M03c29e1be33dac2a5e3d9535/18020-double-copyin-of-dldioc-consumers"
        },
        {
          "tags": [
            "issue-tracking"
          ],
          "url": "https://illumos.org/issues/18020"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/illumos/illumos-gate/commit/6959feb5b430411a4809b06c53dcdb42fb525eac"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Update your illumos distribution to one that includes the fix for issue 18020."
            }
          ],
          "value": "Update your illumos distribution to one that includes the fix for issue 18020."
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "timeline": [
        {
          "lang": "en",
          "time": "2026-07-08T19:00:00.000Z",
          "value": "Disclosed"
        }
      ],
      "title": "TOCTOU double copyin in illumos dld ioctl handling causes kernel heap corruption",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "No mitigation is available. The referenced notification includes a DTrace script that detects exploitation attempts."
            }
          ],
          "value": "No mitigation is available. The referenced notification includes a DTrace script that detects exploitation attempts."
        }
      ],
      "x_generator": {
        "engine": "Vulnogram 1.0.2"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "0ca53633-f0b5-4853-ba72-e0a2e62000d0",
    "assignerShortName": "illumos",
    "cveId": "CVE-2026-15449",
    "datePublished": "2026-07-16T19:27:16.036Z",
    "dateReserved": "2026-07-10T19:23:40.195Z",
    "dateUpdated": "2026-07-16T19:27:16.036Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-15449\",\"sourceIdentifier\":\"0ca53633-f0b5-4853-ba72-e0a2e62000d0\",\"published\":\"2026-07-16T20:16:44.373\",\"lastModified\":\"2026-07-16T20:16:44.373\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"0ca53633-f0b5-4853-ba72-e0a2e62000d0\",\"affectedData\":[{\"vendor\":\"illumos\",\"product\":\"illumos-gate\",\"defaultStatus\":\"affected\",\"modules\":[\"kernel\",\"dld\"],\"programFiles\":[\"usr/src/uts/common/io/dld/dld_drv.c\",\"usr/src/uts/common/sys/dld.h\"],\"repo\":\"https://github.com/illumos/illumos-gate\",\"versions\":[{\"version\":\"eae72b5b807baa9116e64502cbb278edf15f3146\",\"lessThan\":\"6959feb5b430411a4809b06c53dcdb42fb525eac\",\"versionType\":\"git\",\"status\":\"affected\",\"changes\":[{\"at\":\"6959feb5b430411a4809b06c53dcdb42fb525eac\",\"status\":\"unaffected\"}]}]},{\"vendor\":\"OmniOS\",\"product\":\"OmniOS\",\"defaultStatus\":\"affected\",\"versions\":[{\"version\":\"any\",\"lessThan\":\"r151054\",\"versionType\":\"custom\",\"status\":\"affected\"},{\"version\":\"r151058\",\"lessThan\":\"r151058j\",\"versionType\":\"custom\",\"status\":\"affected\",\"changes\":[{\"at\":\"r151058j\",\"status\":\"unaffected\"}]},{\"version\":\"r151056\",\"lessThan\":\"r151056aj\",\"versionType\":\"custom\",\"status\":\"affected\",\"changes\":[{\"at\":\"r151056aj\",\"status\":\"unaffected\"}]},{\"version\":\"r151054\",\"lessThan\":\"r151054bj\",\"versionType\":\"custom\",\"status\":\"affected\",\"changes\":[{\"at\":\"r151054bj\",\"status\":\"unaffected\"}]}]},{\"vendor\":\"Triton Data Center\",\"product\":\"SmartOS\",\"defaultStatus\":\"affected\",\"versions\":[{\"version\":\"any\",\"lessThan\":\"202060709\",\"versionType\":\"custom\",\"status\":\"affected\",\"changes\":[{\"at\":\"20260709\",\"status\":\"unaffected\"}]}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"0ca53633-f0b5-4853-ba72-e0a2e62000d0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":5.8,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"PRESENT\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"NONE\",\"vulnIntegrityImpact\":\"HIGH\",\"vulnAvailabilityImpact\":\"HIGH\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}]},\"weaknesses\":[{\"source\":\"0ca53633-f0b5-4853-ba72-e0a2e62000d0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-122\"},{\"lang\":\"en\",\"value\":\"CWE-367\"}]}],\"references\":[{\"url\":\"https://github.com/illumos/illumos-gate/commit/6959feb5b430411a4809b06c53dcdb42fb525eac\",\"source\":\"0ca53633-f0b5-4853-ba72-e0a2e62000d0\"},{\"url\":\"https://illumos.org/issues/18020\",\"source\":\"0ca53633-f0b5-4853-ba72-e0a2e62000d0\"},{\"url\":\"https://illumos.topicbox.com/groups/developer/T923147fae854a738-M03c29e1be33dac2a5e3d9535/18020-double-copyin-of-dldioc-consumers\",\"source\":\"0ca53633-f0b5-4853-ba72-e0a2e62000d0\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…