# CVE-2025-38429: bus: mhi: ep: Update read pointer only after buffer is written

- Severity: Critical 10.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-07-25T14:16:48.698Z
- Modified: 2026-10-30T13:18:05.043Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before e2176aa3ba4361e98d9f91178a762dca6cf21fe0; from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 44b9620e82bbec2b9a6ac77f63913636d84f96dc; from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before f704a80d9fa268e51a6cc5242714502c3c1fa605; from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 0007ef098dab48f1ba58364c40b4809f1e21b130; from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 6f18d174b73d0ceeaa341f46c0986436b3aefc9a; 5.19 (not affected: before 5.19; from 6.1.191 up to 6.1.*; from 6.6.95 up to 6.6.*; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.19 before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4

## Every score

- Linux: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e2176aa3ba4361e98d9f91178a762dca6cf21fe0>
- <https://git.kernel.org/stable/c/44b9620e82bbec2b9a6ac77f63913636d84f96dc> (patch)
- <https://git.kernel.org/stable/c/f704a80d9fa268e51a6cc5242714502c3c1fa605> (patch)
- <https://git.kernel.org/stable/c/0007ef098dab48f1ba58364c40b4809f1e21b130> (patch)
- <https://git.kernel.org/stable/c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a> (patch)

## Sources

- CVE List: [CVE-2025-38429](https://www.cve.org/CVERecord?id=CVE-2025-38429), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-38429](https://nvd.nist.gov/vuln/detail/CVE-2025-38429), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-38429 · Whole record: https://cve.day/CVE-2025-38429.json · Rebuilt by cve.day 2026-11-25T22:59:01.709Z
