What’s Vulnerable › Vulnerabilities
CVE-2025-38429: bus: mhi: ep: Update read pointer only after buffer is written
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-25 · updated 2026-10-30
- Weakness: CWE-908
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
- Linux kernel: from 5.19 before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4 — fixed in 6.6.95, 6.12.35, 6.15.4
- Linux: 5.19 — fixed in 6.16
How to fix
Upgrade to a fixed version: Linux kernel 6.6.95, 6.12.35, 6.15.4; Linux 6.16. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0007ef098dab48f1ba58364c40b4809f1e21b130
- https://git.kernel.org/stable/c/44b9620e82bbec2b9a6ac77f63913636d84f96dc
- https://git.kernel.org/stable/c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a
- https://git.kernel.org/stable/c/e2176aa3ba4361e98d9f91178a762dca6cf21fe0
- https://git.kernel.org/stable/c/f704a80d9fa268e51a6cc5242714502c3c1fa605
Get alerted when CVE-2025-38429 or the next vulnerability affects your stack