CVE-2022-49713: usb: dwc2: Fix memory leak in dwc2_hcd_init

Published Feb 26, 2025
·
Updated

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

9 affected components
Linux Linux kernel>=4.14.250<4.14.285
Linux Linux kernel>=4.19.210<4.19.249
Linux Linux kernel>=5.4.152<5.4.200
Linux Linux kernel>=5.10.72<5.10.124
Linux Linux kernel>=5.14.11<5.15.49
Linux Linux kernel>=5.16<5.18.6
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2
Linux Kernel

Event History

Feb 26, 2025
CVE Published
via MITRE·02:24 AM
Data Sourced
via MITRE·02:24 AM
Description
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

What systems are affected by CVE-2022-49713?

CVE-2022-49713 affects the Linux kernel with specific configurations using the dwc2 USB controller.

4

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.

5

When was CVE-2022-49713 discovered?

CVE-2022-49713 was resolved in the Linux kernel as part of updates related to USB subsystem improvements.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203