CVE-2022-49713 Details
Description
In the Linux kernel, the following vulnerability has been resolved: usb: dwc2: Fix memory leak in dwc2_hcd_init usb_create_hcd will alloc memory for hcd, and we should call usb_put_hcd to free it when platform_get_resource() fails to prevent memory leak. goto error2 label instead error1 to fix this.
A memory leak vulnerability has been identified in the Linux kernel's DWC2 USB driver. The issue arises in the 'dwc2_hcd_init' function, where memory is allocated for the host controller driver (HCD). If 'platform_get_resource()' fails, the allocated memory is not properly freed, leading to a memory leak. The vulnerability has been addressed by modifying the error handling to ensure that the memory is released appropriately.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3755278f078460b021cd0384562977bf2039a57a | kernel.org | Patch |
| https://git.kernel.org/stable/c/52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd | kernel.org | Patch |
| https://git.kernel.org/stable/c/6506aff2dc2f7059aa3d45ee2e8639b25e87090f | kernel.org | Patch |
| https://git.kernel.org/stable/c/701d8ec01e0f229d4db6f43d3d64ee479120cbeb | kernel.org | Patch |
| https://git.kernel.org/stable/c/84e6d0af87e27bbc0db94f2e7323b34abe17b6e5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/981ee40649e5fd9550f82db1fbb3bfab037da346 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a44a8a762f7fe9ad3c065813d058e835a6180cb2 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.14.250, < 4.14.285 >= 4.19.210, < 4.19.249 >= 5.4.152, < 5.4.200 >= 5.10.72, < 5.10.124 >= 5.14.11, < 5.15.49 >= 5.16, < 5.18.6 5.19 rc1 5.19 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 11, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |