CVE-2024-46675: usb: dwc3: core: Prevent USB core invalid event buffer address access
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 dwc3gadgetsuspend, 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 dwc3coreexit, 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46675?
CVE-2024-46675 has a moderate severity level due to potential undesired access to invalid memory during USB core operations.
Which versions of the Linux kernel are affected by CVE-2024-46675?
CVE-2024-46675 affects various versions of the Linux kernel ranging from 4.20 to 6.11-rc5.
How do I fix CVE-2024-46675?
To fix CVE-2024-46675, upgrade to Linux kernel versions 5.10.226-1 or higher, or any version listed as a remedy.
Can CVE-2024-46675 lead to system crashes?
Yes, CVE-2024-46675 can potentially lead to system crashes by causing access to invalid memory addresses.
What types of systems are impacted by CVE-2024-46675?
CVE-2024-46675 impacts any systems running the affected versions of the Linux kernel that utilize USB functionalities.