CVE-2025-38429

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

published July 25, 2025

CVSS
—
EPSS
0%
Percentile
36.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00433 · 36.6th percentile
Published
2025-07-25T14:16Z
EPSS history
Timeline
  • 25 JUL 14:16Z
    bus: mhi: ep: Update read pointer only after buffer is written
    cvelistv5