CVE-2025-38429
JSON

10.0critical

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

Severity
10.0critical CVSS:3.1 by Linux
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before e2176aa3ba4361e98d9f91178a762dca6cf21fe0, from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 44b9620e82bbec2b9a6ac77f63913636d84f96dc, from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before f704a80d9fa268e51a6cc5242714502c3c1fa605, from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 0007ef098dab48f1ba58364c40b4809f1e21b130, from bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 6f18d174b73d0ceeaa341f46c0986436b3aefc9a, 5.19
Not affected: before 5.19, from 6.1.191 up to 6.1.*, from 6.6.95 up to 6.6.*, from 6.12.35 up to 6.12.*, from 6.15.4 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 5.19 before 6.6.95, from 6.7 before 6.12.35, from 6.13 before 6.15.4NVD

All scores

Linux10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bus: mhi: ep: Actualizar el puntero de lectura solo después de escribir en el búfer. Dentro de mhi_ep_ring_add_element, el puntero de lectura (rd_offset) se actualiza antes de escribir en el búfer, lo que podría causar condiciones de ejecución donde el host ve un puntero de lectura actualizado antes de que se escriba en el búfer. Actualizar rd_offset prematuramente puede provocar que el host acceda a un elemento no inicializado o incompleto, lo que resulta en corrupción de datos. Invoque la escritura en el búfer antes de actualizar rd_offset para garantizar que el elemento esté completamente escrito antes de indicar su disponibilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38429 changed 2026-10-30CVE Terms of Use
NVDCVE-2025-38429 changed 2026-10-30Public domain