Skip to main content
← All vulnerabilities
CVE-2022-49713

usb: dwc2: Fix memory leak in dwc2_hcd_init

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.14.285, 4.19.249, 5.4.200, 5.10.124, 5.15
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 4.14.250 · fixed in 4.14.285; From 4.19.210 · fixed in 4.19.249; From 5.4.152 · fixed in 5.4.200; From 5.10.72 · fixed in 5.10.124; From 5.14.11 · fixed in 5.15

  • Linux Linux

    5.15

References 7

git.kernel.org