Skip to content
CVE PROGRAM SOURCE RECORD10.0 Critical

CVE-2025-38429

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

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to < e2176aa3ba4361e98d9f91178a762dca6cf21fe0affected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to < 44b9620e82bbec2b9a6ac77f63913636d84f96dcaffected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to < f704a80d9fa268e51a6cc5242714502c3c1fa605affected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to < 0007ef098dab48f1ba58364c40b4809f1e21b130affected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to < 6f18d174b73d0ceeaa341f46c0986436b3aefc9aaffected

Linux Linux

Default version status: affected

  • 5.19affected
  • 0 to < 5.19unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.95 to ≤ 6.6.*unaffected
  • 6.12.35 to ≤ 6.12.*unaffected
  • 6.15.4 to ≤ 6.15.*unaffected
  • 6.16 to ≤ *unaffected

References