Skip to main content
← All vulnerabilities
CVE-2025-38429

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

Published
Last modified
published
Not listed in CISA KEV
Unclear
Fix
Fixed in 6.6.95, 6.12.35, 6.15.4
None on Exploit-DB, Metasploit or GitHub

Summary

The Linux kernel's Modem Host Interface (MHI) endpoint driver, which handles communication between a host and an endpoint device, is affected. The flaw could let the host read a ring buffer entry before it has been fully written, potentially causing data corruption.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    5.19

  • KernelLinux

    From 5.19.0 · fixed in 6.6.95; From 6.7.0 · fixed in 6.12.35; From 6.13.0 · fixed in 6.15.4

References 5

git.kernel.org