{
  "id": "CVE-2025-38429",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38429",
  "published_at": "2025-07-25T14:16:48.698Z",
  "title": "bus: mhi: ep: Update read pointer only after buffer is written",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbus: mhi: ep: Update read pointer only after buffer is written\n\nInside mhi_ep_ring_add_element, the read pointer (rd_offset) is updated\nbefore the buffer is written, potentially causing race conditions where\nthe host sees an updated read pointer before the buffer is actually\nwritten. Updating rd_offset prematurely can lead to the host accessing\nan uninitialized or incomplete element, resulting in data corruption.\n\nInvoke the buffer write before updating rd_offset to ensure the element\nis fully written before signaling its availability.",
  "cwe": "CWE-908",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 10,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \u003c e2176aa3ba4361e98d9f91178a762dca6cf21fe0",
          "\u003e= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \u003c 44b9620e82bbec2b9a6ac77f63913636d84f96dc",
          "\u003e= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \u003c f704a80d9fa268e51a6cc5242714502c3c1fa605",
          "\u003e= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \u003c 0007ef098dab48f1ba58364c40b4809f1e21b130",
          "\u003e= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \u003c 6f18d174b73d0ceeaa341f46c0986436b3aefc9a"
        ],
        "fixed_in": [
          "e2176aa3ba4361e98d9f91178a762dca6cf21fe0",
          "44b9620e82bbec2b9a6ac77f63913636d84f96dc",
          "f704a80d9fa268e51a6cc5242714502c3c1fa605",
          "0007ef098dab48f1ba58364c40b4809f1e21b130",
          "6f18d174b73d0ceeaa341f46c0986436b3aefc9a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.19"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.95",
          "6.12.35",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e2176aa3ba4361e98d9f91178a762dca6cf21fe0 or 44b9620e82bbec2b9a6ac77f63913636d84f96dc or f704a80d9fa268e51a6cc5242714502c3c1fa605 or 0007ef098dab48f1ba58364c40b4809f1e21b130 or 6f18d174b73d0ceeaa341f46c0986436b3aefc9a or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.95 or 6.12.35 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
