{"id":"CVE-2025-38429","summary":"bus: mhi: ep: Update read pointer only after buffer is written","details":"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.","aliases":["ECHO-ba32-29e7-da16"],"modified":"2026-04-21T02:27:36.521713385Z","published":"2025-07-25T14:16:48.698Z","related":["SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38429.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0007ef098dab48f1ba58364c40b4809f1e21b130"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44b9620e82bbec2b9a6ac77f63913636d84f96dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f704a80d9fa268e51a6cc5242714502c3c1fa605"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38429.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38429"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34"},{"fixed":"44b9620e82bbec2b9a6ac77f63913636d84f96dc"},{"fixed":"f704a80d9fa268e51a6cc5242714502c3c1fa605"},{"fixed":"0007ef098dab48f1ba58364c40b4809f1e21b130"},{"fixed":"6f18d174b73d0ceeaa341f46c0986436b3aefc9a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38429.json"}}],"schema_version":"1.7.5"}