ghsa-p8hf-2q7f-w7h9
Vulnerability from github
Published
2025-07-25 15:30
Modified
2025-07-25 15:30
Details

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().

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2025-38380"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-07-25T13:15:27Z",
    "severity": null
  },
  "details": "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().",
  "id": "GHSA-p8hf-2q7f-w7h9",
  "modified": "2025-07-25T15:30:51Z",
  "published": "2025-07-25T15:30:51Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-38380"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d30048958e0d43425f6d4e76565e6249fa71050"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/475f89e1f9bde45fc948589e7cde1f5d899ae412"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4c37963d67fb945a59faf53bebe048ca201e44df"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b622e672e49e50c33fc64cd06b05ce76e1de460"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6358cb9c2a31e23b6b51bfcd7fe2b7becaf6b149"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9b5b600e751fae92ba571b015eaf02c9c58e2083"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


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…

Loading…