CVE-2024-46675
JSON

5.5medium

usb: dwc3: core: Prevent USB core invalid event buffer address access

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

Description

In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: core: Prevent USB core invalid event buffer address access This commit addresses an issue where the USB core could access an invalid event buffer address during runtime suspend, potentially causing SMMU faults and other memory issues in Exynos platforms. The problem arises from the following sequence. 1. In dwc3_gadget_suspend, there is a chance of a timeout when moving the USB core to the halt state after clearing the run/stop bit by software. 2. In dwc3_core_exit, the event buffer is cleared regardless of the USB core's status, which may lead to an SMMU faults and other memory issues. if the USB core tries to access the event buffer address. To prevent this hardware quirk on Exynos platforms, this commit ensures that the event buffer address is not cleared by software when the USB core is active during runtime suspend by checking its status before clearing the buffer address.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9f8a67b65a49d0e35c6ca782136c84541d948a64 before eca3f543f817da87c00d1a5697b473efb548204f, from 9f8a67b65a49d0e35c6ca782136c84541d948a64 before d2afc2bffec77316b90d530b07695e3f534df914, from 9f8a67b65a49d0e35c6ca782136c84541d948a64 before b72da4d89b97da71e056cc4d1429b2bc426a9c2f, from 9f8a67b65a49d0e35c6ca782136c84541d948a64 before 111277b881def3153335acfe0d1f43e6cd83ac93, from 9f8a67b65a49d0e35c6ca782136c84541d948a64 before 2189fd13c577d7881f94affc09c950a795064c4b, from 9f8a67b65a49d0e35c6ca782136c84541d948a64 before 7bb11a75dd4d3612378b90e2a4aa49bdccea28ab, from 9f8a67b65a49d0e35c6ca782136c84541d948a64 before e23f6ad8d110bf632f7471482e10b43dc174fb72, from 9f8a67b65a49d0e35c6ca782136c84541d948a64 before 14e497183df28c006603cc67fd3797a537eef7b9 and 1 more
Not affected: before 4.8, from 4.19.321 up to 4.19.*, from 5.4.283 up to 5.4.*, from 5.10.225 up to 5.10.*, from 5.15.166 up to 5.15.*, from 6.1.108 up to 6.1.*
CVE List
linux linux_kernelbefore 4.19.321, from 4.20 before 5.4.283, from 5.5 before 5.10.225, from 5.11 before 5.15.166, from 5.16 before 6.1.108, from 6.2 before 6.6.49, from 6.7 before 6.10.8, 6.11NVD

Classification

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: usb: dwc3: core: Prevent USB core invalid event buffer address access This commit addresses an issue where the USB core could access an invalid event buffer address during runtime suspend, potentially causing SMMU faults and other memory issues in Exynos platforms. The problem arises from the following sequence. 1. In dwc3_gadget_suspend, there is a chance of a timeout when moving the USB core to the halt state after clearing the run/stop bit by software. 2. In dwc3_core_exit, the event buffer is cleared regardless of the USB core's status, which may lead to an SMMU faults and other memory issues. if the USB core tries to access the event buffer address. To prevent this hardware quirk on Exynos platforms, this commit ensures that the event buffer address is not cleared by software when the USB core is active during runtime suspend by checking its status before clearing the buffer address.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: dwc3: core: Impedir el acceso a una dirección de búfer de eventos no válida del núcleo USB Esta confirmación soluciona un problema en el que el núcleo USB podría acceder a una dirección de búfer de eventos no válida durante la suspensión en tiempo de ejecución, lo que podría provocar fallos de SMMU y otros problemas de memoria en las plataformas Exynos. El problema surge de la siguiente secuencia. 1. En dwc3_gadget_suspend, existe la posibilidad de que se agote el tiempo de espera al mover el núcleo USB al estado de detención después de borrar el bit de ejecución/detención por software. 2. En dwc3_core_exit, el búfer de eventos se borra independientemente del estado del núcleo USB, lo que puede provocar fallos de SMMU y otros problemas de memoria si el núcleo USB intenta acceder a la dirección del búfer de eventos. Para evitar esta peculiaridad del hardware en las plataformas Exynos, esta confirmación garantiza que el software no borre la dirección del búfer de eventos cuando el núcleo USB esté activo durante la suspensión en tiempo de ejecución comprobando su estado antes de borrar la dirección del búfer.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46675 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-46675 changed 2026-06-17Public domain