CVE-2025-38380 (GCVE-0-2025-38380)
Vulnerability from cvelistv5
Published
2025-07-25 12:53
Modified
2025-07-28 04:20
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: i2c/designware: Fix an initialization issue The i2c_dw_xfer_init() function requires msgs and msg_write_idx from the dev context to be initialized. amd_i2c_dw_xfer_quirk() inits msgs and msgs_num, but not msg_write_idx. This could allow an out of bounds access (of msgs). Initialize msg_write_idx before calling i2c_dw_xfer_init().
Impacted products
Vendor Product Version
Linux Linux Version: 17631e8ca2d3421090e54b39d9a1402091019ba1
Version: 17631e8ca2d3421090e54b39d9a1402091019ba1
Version: 17631e8ca2d3421090e54b39d9a1402091019ba1
Version: 17631e8ca2d3421090e54b39d9a1402091019ba1
Version: 17631e8ca2d3421090e54b39d9a1402091019ba1
Version: 17631e8ca2d3421090e54b39d9a1402091019ba1
Create a notification for this product.
   Linux Linux Version: 5.13
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/i2c/busses/i2c-designware-master.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "475f89e1f9bde45fc948589e7cde1f5d899ae412",
              "status": "affected",
              "version": "17631e8ca2d3421090e54b39d9a1402091019ba1",
              "versionType": "git"
            },
            {
              "lessThan": "5b622e672e49e50c33fc64cd06b05ce76e1de460",
              "status": "affected",
              "version": "17631e8ca2d3421090e54b39d9a1402091019ba1",
              "versionType": "git"
            },
            {
              "lessThan": "6358cb9c2a31e23b6b51bfcd7fe2b7becaf6b149",
              "status": "affected",
              "version": "17631e8ca2d3421090e54b39d9a1402091019ba1",
              "versionType": "git"
            },
            {
              "lessThan": "4c37963d67fb945a59faf53bebe048ca201e44df",
              "status": "affected",
              "version": "17631e8ca2d3421090e54b39d9a1402091019ba1",
              "versionType": "git"
            },
            {
              "lessThan": "9b5b600e751fae92ba571b015eaf02c9c58e2083",
              "status": "affected",
              "version": "17631e8ca2d3421090e54b39d9a1402091019ba1",
              "versionType": "git"
            },
            {
              "lessThan": "3d30048958e0d43425f6d4e76565e6249fa71050",
              "status": "affected",
              "version": "17631e8ca2d3421090e54b39d9a1402091019ba1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/i2c/busses/i2c-designware-master.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.187",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.144",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.37",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.15.*",
              "status": "unaffected",
              "version": "6.15.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.16",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.187",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.144",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.97",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.37",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15.6",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.16",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c/designware: Fix an initialization issue\n\nThe i2c_dw_xfer_init() function requires msgs and msg_write_idx from the\ndev context to be initialized.\n\namd_i2c_dw_xfer_quirk() inits msgs and msgs_num, but not msg_write_idx.\n\nThis could allow an out of bounds access (of msgs).\n\nInitialize msg_write_idx before calling i2c_dw_xfer_init()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-07-28T04:20:33.229Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/475f89e1f9bde45fc948589e7cde1f5d899ae412"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b622e672e49e50c33fc64cd06b05ce76e1de460"
        },
        {
          "url": "https://git.kernel.org/stable/c/6358cb9c2a31e23b6b51bfcd7fe2b7becaf6b149"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c37963d67fb945a59faf53bebe048ca201e44df"
        },
        {
          "url": "https://git.kernel.org/stable/c/9b5b600e751fae92ba571b015eaf02c9c58e2083"
        },
        {
          "url": "https://git.kernel.org/stable/c/3d30048958e0d43425f6d4e76565e6249fa71050"
        }
      ],
      "title": "i2c/designware: Fix an initialization issue",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-38380",
    "datePublished": "2025-07-25T12:53:21.913Z",
    "dateReserved": "2025-04-16T04:51:24.010Z",
    "dateUpdated": "2025-07-28T04:20:33.229Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-38380\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-07-25T13:15:27.157\",\"lastModified\":\"2025-07-25T15:29:19.837\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ni2c/designware: Fix an initialization issue\\n\\nThe i2c_dw_xfer_init() function requires msgs and msg_write_idx from the\\ndev context to be initialized.\\n\\namd_i2c_dw_xfer_quirk() inits msgs and msgs_num, but not msg_write_idx.\\n\\nThis could allow an out of bounds access (of msgs).\\n\\nInitialize msg_write_idx before calling i2c_dw_xfer_init().\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i2c/designware: Se solucion\u00f3 un problema de inicializaci\u00f3n. La funci\u00f3n i2c_dw_xfer_init() requiere que se inicialicen msgs y msg_write_idx del contexto de desarrollo. amd_i2c_dw_xfer_quirk() inicializa msgs y msgs_num, pero no msg_write_idx. Esto podr\u00eda permitir un acceso fuera de los l\u00edmites de msgs. Inicialice msg_write_idx antes de llamar a i2c_dw_xfer_init().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3d30048958e0d43425f6d4e76565e6249fa71050\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/475f89e1f9bde45fc948589e7cde1f5d899ae412\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4c37963d67fb945a59faf53bebe048ca201e44df\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5b622e672e49e50c33fc64cd06b05ce76e1de460\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6358cb9c2a31e23b6b51bfcd7fe2b7becaf6b149\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9b5b600e751fae92ba571b015eaf02c9c58e2083\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…