NetSight
medium5.5

CVE-2022-49713

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 w…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 4.14.250 before 4.14.285
from 4.19.210 before 4.19.249
from 5.4.152 before 5.4.200
from 5.10.72 before 5.10.124
from 5.14.11 before 5.15.49
from 5.16 before 5.18.6

Weakness classification

References