CVE-2022-49713

usb: dwc2: Fix memory leak in dwc2_hcd_init

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:24 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.14.114.14.250 ≤ v < 4.14.2854.19.210 ≤ v < 4.19.2495.10.72 ≤ v < 5.10.1245.14.11 ≤ v < 5.155.14.11 ≤ v < 5.15.495.15 ≤ v < 5.15.495.15 ≤ v < 5.18.65.15 ≤ v < 5.195.16 ≤ v < 5.18.65.4.152 ≤ v < 5.4.2002754fa3b73df7d0ae042f3ed6cfd9df9042f6262337f00a0bc62d7cb7d10ec0b872c79009a1641df4.14.2504.19.2104b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b5.10.725.14.115.19 rc15.19 rc25.4.152856e6e8e0f9300befa87dde09edb578555c99a828b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7a7182993dd8e09f96839ddc3ac54f9b37370d282
Vendor states this is fixed in 3755278f078460b021cd0384562977bf2039a57a (fixed)
Vendor states this is fixed in 52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd (fixed)
Vendor states this is fixed in 6506aff2dc2f7059aa3d45ee2e8639b25e87090f (fixed)
Vendor states this is fixed in 701d8ec01e0f229d4db6f43d3d64ee479120cbeb (fixed)
Vendor states this is fixed in 84e6d0af87e27bbc0db94f2e7323b34abe17b6e5 (fixed)
Vendor states this is fixed in 981ee40649e5fd9550f82db1fbb3bfab037da346 (fixed)
Vendor states this is fixed in a44a8a762f7fe9ad3c065813d058e835a6180cb2 (fixed)
Vendor states this is fixed in 4.14.285 (unaffected)
Vendor states this is fixed in 4.19.249 (unaffected)
Vendor states this is fixed in 5.10.124 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.49 (unaffected)
Vendor states this is fixed in 5.18.6 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.200 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3755278f078460b021cd0384562977bf2039a57a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/52bfcedbfd5bf962dbdcb6e761f4d0dd3ba26dfd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6506aff2dc2f7059aa3d45ee2e8639b25e87090f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/701d8ec01e0f229d4db6f43d3d64ee479120cbeb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/84e6d0af87e27bbc0db94f2e7323b34abe17b6e5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/981ee40649e5fd9550f82db1fbb3bfab037da346
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a44a8a762f7fe9ad3c065813d058e835a6180cb2

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card