usb: dwc3: core: Prevent USB core invalid event buffer address access (Linux Linux)

CVE-2024-46675
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.28 % · centile 20 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 9f8a67b65a49d0e35c6ca782136c84541d948a64 < eca3f543f817da87c00d1a5697b473efb548204f ; affected 9f8a67b65a49d0e35c6ca782136c84541d948a64 < d2afc2bffec77316b90d530b07695e3f534df914 ; affected 9f8a67b65a49d0e35c6ca782136c84541d948a64 < b72da4d89b97da71e056cc4d1429b2bc426a9c2f ; affected 9f8a67b65a49d0e35c6ca782136c84541d948a64 < 111277b881def3153335acfe0d1f43e6cd83ac93 ; affected 9f8a67b65a49d0e35c6ca782136c84541d948a64 < 2189fd13c577d7881f94affc09c950a795064c4b ; affected 9f8a67b65a49d0e35c6ca782136c84541d948a64 < 7bb11a75dd4d3612378b90e2a4aa49bdccea28ab
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 4.19.321 ≤ 4.19.* ; unaffected 5.4.283 ≤ 5.4.* ; unaffected 5.10.225 ≤ 5.10.* ; unaffected 5.15.166 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD