CVE-2023-52494
JSON

7.8high

bus: mhi: host: Add alignment check for event ring read pointer

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bus: mhi: host: Add alignment check for event ring read pointer Though we do check the event ring read pointer by "is_valid_ring_ptr" to make sure it is in the buffer range, but there is another risk the pointer may be not aligned. Since we are expecting event ring elements are 128 bits(struct mhi_ring_element) aligned, an unaligned read pointer could lead to multiple issues like DoS or ring buffer memory corruption. So add a alignment check for event ring read pointer.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a1d2bd164c1c78f87968b7883964175ec41c32ae before 76ed0c6f6418cec6efe6f65a0b91f84be80b72eb, from ec32332df7645e0ba463a08d483fe97665167071 before 94991728c84f8df54fd9eec9b85855ef9057ea08, from ec32332df7645e0ba463a08d483fe97665167071 before 2df39ac8f813860f79782807c3f7acff40b3c551, from ec32332df7645e0ba463a08d483fe97665167071 before a9ebfc405fe1be145f414eafadcbf09506082010, from ec32332df7645e0ba463a08d483fe97665167071 before ecf8320111822a1ae5d5fc512953eab46d543d0b, from ec32332df7645e0ba463a08d483fe97665167071 before eff9704f5332a13b08fbdbe0f84059c9e7051d5f, fd5f40fc887485a8b9a6806a640a0d8e0ef1afb6, 76879a980cd5ede4cb9a638999fb80d37bc09db5 and 4 more
Not affected: before 5.13, from 5.10.261 up to 5.10.*, from 5.15.149 up to 5.15.*, from 6.1.76 up to 6.1.*, from 6.6.15 up to 6.6.*, from 6.7.3 up to 6.7.*
CVE List
linux linux_kernelfrom 5.13 before 5.15.149, from 5.16 before 6.1.76, from 6.2 before 6.6.15, from 6.7 before 6.7.3NVD

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: bus: mhi: host: Add alignment check for event ring read pointer Though we do check the event ring read pointer by "is_valid_ring_ptr" to make sure it is in the buffer range, but there is another risk the pointer may be not aligned. Since we are expecting event ring elements are 128 bits(struct mhi_ring_element) aligned, an unaligned read pointer could lead to multiple issues like DoS or ring buffer memory corruption. So add a alignment check for event ring read pointer.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bus: mhi: host: agregar verificación de alineación para el puntero de lectura del anillo de eventos. Aunque verificamos el puntero de lectura del anillo de eventos mediante "is_valid_ring_ptr" para asegurarnos de que esté en el rango del búfer, pero existe otro riesgo de que el puntero no esté alineado. Dado que esperamos que los elementos del anillo de eventos estén alineados con 128 bits (struct mhi_ring_element), un puntero de lectura no alineado podría provocar múltiples problemas como DoS o corrupción de la memoria del búfer del anillo. Por lo tanto, agregue una verificación de alineación para el puntero de lectura del anillo de eventos.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52494 changed 2026-07-24CVE Terms of Use
NVDCVE-2023-52494 changed 2026-07-24Public domain