// For flags

CVE-2022-49713

usb: dwc2: Fix memory leak in dwc2_hcd_init

Time Line
Published
2024-03-19
Updated
2024-03-19
Firt exploit
2024-03-19
Overview
Descriptions (2)
MITRE, TN
CWE (0)
CAPEC (-)
Risk
CVSS Score
5.5 Medium
SSVC
-
KEV
-
EPSS
Affected Products (-)
Vendors (1)
linux
Products (1)
linux_kernel
Versions (8)
>= 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.15 < 5.15.49, >= 5.15 < 5.18.6, >= 5.15 < 5.19, 5.14.11
Intel Resources (-)
Advisories (-)
-
Exploits (-)
-
Plugins (-)
-
References (13)
General (6)
kernel
Exploits & POcs (-)
Patches (7)
kernel
Advisories (-)
Summary
Descriptions

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.

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.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2025-02-26 CVE Reserved
  • 2025-02-26 CVE Published
  • 2025-02-26 CVE Updated
  • ---------- EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
CAPEC
Threat Intelligence Resources (0)
Security Advisory details:

Select an advisory to view details here.

Select an exploit to view details here.

Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 4.14.250 < 4.14.285
Search vendor "Linux" for product "Linux Kernel" and version " >= 4.14.250 < 4.14.285"
en
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 4.19.210 < 4.19.249
Search vendor "Linux" for product "Linux Kernel" and version " >= 4.19.210 < 4.19.249"
en
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 5.4.152 < 5.4.200
Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4.152 < 5.4.200"
en
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 5.10.72 < 5.10.124
Search vendor "Linux" for product "Linux Kernel" and version " >= 5.10.72 < 5.10.124"
en
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 5.15 < 5.15.49
Search vendor "Linux" for product "Linux Kernel" and version " >= 5.15 < 5.15.49"
en
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 5.15 < 5.18.6
Search vendor "Linux" for product "Linux Kernel" and version " >= 5.15 < 5.18.6"
en
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
>= 5.15 < 5.19
Search vendor "Linux" for product "Linux Kernel" and version " >= 5.15 < 5.19"
en
Affected
Linux
Search vendor "Linux"
Linux Kernel
Search vendor "Linux" for product "Linux Kernel"
5.14.11
Search vendor "Linux" for product "Linux Kernel" and version "5.14.11"
en
Affected