CVE-2025-38429

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

19 Nov 2025, 18:59

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-908
References () https://git.kernel.org/stable/c/0007ef098dab48f1ba58364c40b4809f1e21b130 - () https://git.kernel.org/stable/c/0007ef098dab48f1ba58364c40b4809f1e21b130 - Patch
References () https://git.kernel.org/stable/c/44b9620e82bbec2b9a6ac77f63913636d84f96dc - () https://git.kernel.org/stable/c/44b9620e82bbec2b9a6ac77f63913636d84f96dc - Patch
References () https://git.kernel.org/stable/c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a - () https://git.kernel.org/stable/c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a - Patch
References () https://git.kernel.org/stable/c/f704a80d9fa268e51a6cc5242714502c3c1fa605 - () https://git.kernel.org/stable/c/f704a80d9fa268e51a6cc5242714502c3c1fa605 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
Summary
  • (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.

25 Jul 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-25 15:15

Updated : 2025-11-19 18:59


NVD link : CVE-2025-38429

Mitre link : CVE-2025-38429

CVE.ORG link : CVE-2025-38429


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-908

Use of Uninitialized Resource