CVE-2022-49713

usb: dwc2: Fix memory leak in dwc2_hcd_init

Medium · published February 26, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
20.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00285 · 20.0th percentile
Published
2025-02-26T02:24Z
EPSS history
Timeline
  • 26 FEB 02:24Z
    usb: dwc2: Fix memory leak in dwc2_hcd_init
    cvelistv5