CVE-2025-38429

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

State
Published
Severity
10.0 Critical
Published
Jul 25, 2025
Updated
Oct 30, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to before e2176aa3ba4361e98d9f91178a762dca6cf21fe0Affected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to before 44b9620e82bbec2b9a6ac77f63913636d84f96dcAffected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to before f704a80d9fa268e51a6cc5242714502c3c1fa605Affected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to before 0007ef098dab48f1ba58364c40b4809f1e21b130Affected
  • bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 to before 6f18d174b73d0ceeaa341f46c0986436b3aefc9aAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.95 through 6.6.*Not affected
  • 6.12.35 through 6.12.*Not affected
  • 6.15.4 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.