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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-07-25T14:16:48.698Z
- **Modified:** 2026-10-30T13:18:05.043Z

## Who should check

- Anyone running Linux \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< e2176aa3ba4361e98d9f91178a762dca6cf21fe0; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 44b9620e82bbec2b9a6ac77f63913636d84f96dc; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< f704a80d9fa268e51a6cc5242714502c3c1fa605; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 0007ef098dab48f1ba58364c40b4809f1e21b130; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 6f18d174b73d0ceeaa341f46c0986436b3aefc9a
- Anyone running Linux 5.19

## 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 and fixed versions

- Linux: \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< e2176aa3ba4361e98d9f91178a762dca6cf21fe0; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 44b9620e82bbec2b9a6ac77f63913636d84f96dc; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< f704a80d9fa268e51a6cc5242714502c3c1fa605; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 0007ef098dab48f1ba58364c40b4809f1e21b130; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 6f18d174b73d0ceeaa341f46c0986436b3aefc9a (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 6f18d174b73d0ceeaa341f46c0986436b3aefc9a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38429. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38429.md
Affected: Linux >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < e2176aa3ba4361e98d9f91178a762dca6cf21fe0; >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < 44b9620e82bbec2b9a6ac77f63913636d84f96dc; >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < f704a80d9fa268e51a6cc5242714502c3c1fa605; >= bbdcba57a1a26a4439a4f4e…
Fixed in: Linux 44b9620e82bbec2b9a6ac77f63913636d84f96dc, Linux 0007ef098dab48f1ba58364c40b4809f1e21b130, Linux 6f18d174b73d0ceeaa341f46c0986436b3aefc9a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38429 being exploited?

There is no confirmed exploitation: CVE-2025-38429 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38429?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-38429?

Linux \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< e2176aa3ba4361e98d9f91178a762dca6cf21fe0; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 44b9620e82bbec2b9a6ac77f63913636d84f96dc; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< f704a80d9fa268e51a6cc5242714502c3c1fa605; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 0007ef098dab48f1ba58364c40b4809f1e21b130; \>= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, \< 6f18d174b73d0ceeaa341f46c0986436b3aefc9a; Linux 5.19.

### Is there a fix for CVE-2025-38429?

Yes. Fixed in Linux 44b9620e82bbec2b9a6ac77f63913636d84f96dc, Linux 0007ef098dab48f1ba58364c40b4809f1e21b130, Linux 6f18d174b73d0ceeaa341f46c0986436b3aefc9a. Upgrade Linux to 6f18d174b73d0ceeaa341f46c0986436b3aefc9a or later.

### How do I check if I'm affected by CVE-2025-38429?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/e2176aa3ba4361e98d9f91178a762dca6cf21fe0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38429>

HTML: <https://flawdb.com/CVE-2025-38429> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38429>
