Bug 2383450 (CVE-2025-38429) - CVE-2025-38429 kernel: bus: mhi: ep: Update read pointer only after buffer is written
Summary: CVE-2025-38429 kernel: bus: mhi: ep: Update read pointer only after buffer is...
Keywords:
Status: NEW
Alias: CVE-2025-38429
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-25 15:01 UTC by OSIDB Bzimport
Modified: 2025-07-25 18:08 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-25 15:01:24 UTC
In the Linux kernel, the following vulnerability has been resolved:

bus: mhi: ep: Update read pointer only after buffer is written

Inside mhi_ep_ring_add_element, the read pointer (rd_offset) is updated
before the buffer is written, potentially causing race conditions where
the host sees an updated read pointer before the buffer is actually
written. Updating rd_offset prematurely can lead to the host accessing
an uninitialized or incomplete element, resulting in data corruption.

Invoke the buffer write before updating rd_offset to ensure the element
is fully written before signaling its availability.


Note You need to log in before you can comment on or make changes to this bug.