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

Critical 10.0 Published Updated

A race condition in the Linux kernel MHI endpoint driver allows hosts to access uninitialized memory, leading to data corruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38429?

CVE-2025-38429 is a critical vulnerability in Linux kernel, published on 25 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-908

Which versions are affected by CVE-2025-38429?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38429?

Apply the vendor's patch.

Is CVE-2025-38429 being exploited?

There is no known exploitation of CVE-2025-38429 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38429, DEBIAN-CVE-2025-38429, GHSA-f5fc-m65h-gr9j, ROOT-OS-DEBIAN-12-CVE-2025-38429, ROOT-OS-UBUNTU-2404-CVE-2025-38429, UBUNTU-CVE-2025-38429.

Is CVE-2025-38429 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free