{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-38478",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38478",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-28T11:21:44.210Z",
    "updatedAt": "2026-10-15T21:52:17.239Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "comedi: Fix initialization of data for instructions that write to subdevice",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: Fix initialization of data for instructions that write to subdevice\n\nSome Comedi subdevice instruction handlers are known to access\ninstruction data elements beyond the first `insn->n` elements in some\ncases.  The `do_insn_ioctl()` and `do_insnlist_ioctl()` functions\nallocate at least `MIN_SAMPLES` (16) data elements to deal with this,\nbut they do not initialize all of that.  For Comedi instruction codes\nthat write to the subdevice, the first `insn->n` data elements are\ncopied from user-space, but the remaining elements are left\nuninitialized.  That could be a problem if the subdevice instruction\nhandler reads the uninitialized data.  Ensure that the first\n`MIN_SAMPLES` elements are initialized before calling these instruction\nhandlers, filling the uncopied elements with 0.  For\n`do_insnlist_ioctl()`, the same data buffer elements are used for\nhandling a list of instructions, so ensure the first `MIN_SAMPLES`\nelements are initialized for each instruction that writes to the\nsubdevice.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6f38c6380c3b38a05032b8881e41137385a6ce02"
            },
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "13e4d9038a1e869445a996a3f604a84ef52fe8f4"
            },
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "020eed5681d0f9bced73970368078a92d6cfaa9c"
            },
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d3436638738ace8f101af7bdee2eae1bc38e9b29"
            },
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "673ee92bd2d31055bca98a1d96b653f5284289c4"
            },
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c42116dc70af6664526f7aa82cf937824ab42649"
            },
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fe8713fb4e4e82a4f91910d9a41bf0613e69a0b9"
            },
            {
              "version": "ed9eccbe8970f6eedc1b978c157caf1251a896d4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "46d8c744136ce2454aa4c35c138cc06817f92b8e"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.29",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.29"
            },
            {
              "version": "5.4.297",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.190",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.147",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.100",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.40",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}