CVE-2022-49713: usb: dwc2: Fix memory leak in dwc2_hcd_init
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc2: Fix memory leak in dwc2hcdinit
usbcreatehcd will alloc memory for hcd, and we should call usbputhcd to free it when platformgetresource() fails to prevent memory leak. goto error2 label instead error1 to fix this.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49713?
CVE-2022-49713 has been classified as a low-severity vulnerability due to its nature involving a memory leak.
How do I fix CVE-2022-49713?
To fix CVE-2022-49713, ensure you are running an updated version of the Linux kernel that addresses this vulnerability.
What systems are affected by CVE-2022-49713?
CVE-2022-49713 affects the Linux kernel with specific configurations using the dwc2 USB controller.
What is the impact of CVE-2022-49713?
The impact of CVE-2022-49713 is limited to a memory leak that could potentially lead to increased resource consumption.
When was CVE-2022-49713 discovered?
CVE-2022-49713 was resolved in the Linux kernel as part of updates related to USB subsystem improvements.