{"id":"CVE-2025-38429","published":"2025-07-25T14:16:48Z","modified":"2026-10-30T12:21:58Z","title":"bus: mhi: ep: Update read pointer only after buffer is written","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00465,"percentile":0.40295,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e2176aa3ba4361e98d9f91178a762dca6cf21fe0","tags":[]},{"url":"https://git.kernel.org/stable/c/44b9620e82bbec2b9a6ac77f63913636d84f96dc","tags":[]},{"url":"https://git.kernel.org/stable/c/f704a80d9fa268e51a6cc5242714502c3c1fa605","tags":[]},{"url":"https://git.kernel.org/stable/c/0007ef098dab48f1ba58364c40b4809f1e21b130","tags":[]},{"url":"https://git.kernel.org/stable/c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a","tags":[]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":8.06},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < e2176aa3ba4361e98d9f91178a762dca6cf21fe0",">= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < 44b9620e82bbec2b9a6ac77f63913636d84f96dc",">= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < f704a80d9fa268e51a6cc5242714502c3c1fa605",">= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < 0007ef098dab48f1ba58364c40b4809f1e21b130",">= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < 6f18d174b73d0ceeaa341f46c0986436b3aefc9a"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"euvd":{"id":"EUVD-2025-22656","exploited":false,"provenance":"source"}}