CVE-2025-38429

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

MEDIUM
5.5
CVSS Score
Published: July 25, 2025 at 02:16 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.5%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.19 ≤ v < 6.12.355.19 ≤ v < 6.15.45.19 ≤ v < 6.165.19 ≤ v < 6.6.956.13 ≤ v < 6.15.46.7 ≤ v < 6.12.355.19bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34
Vendor states this is fixed in 0007ef098dab48f1ba58364c40b4809f1e21b130 (fixed)
Vendor states this is fixed in 44b9620e82bbec2b9a6ac77f63913636d84f96dc (fixed)
Vendor states this is fixed in 6f18d174b73d0ceeaa341f46c0986436b3aefc9a (fixed)
Vendor states this is fixed in f704a80d9fa268e51a6cc5242714502c3c1fa605 (fixed)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.12.35 (unaffected)
Vendor states this is fixed in 6.15.4 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.95 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0007ef098dab48f1ba58364c40b4809f1e21b130
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44b9620e82bbec2b9a6ac77f63913636d84f96dc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f704a80d9fa268e51a6cc5242714502c3c1fa605

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card