CVE-2022-50357: usb: dwc3: core: fix some leaks in probe
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: core: fix some leaks in probe
The dwc3getproperties() function calls:
dwc->usbpsy = powersupplygetbyname(usbpsyname);
so there is some additional clean up required on these error paths.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.3-1
Event History
Frequently Asked Questions
What is the severity of CVE-2022-50357?
CVE-2022-50357 is classified as a moderate severity vulnerability that could lead to resource leaks in the Linux kernel.
How do I fix CVE-2022-50357?
To fix CVE-2022-50357, it is recommended to update the Linux kernel to the latest version that addresses the vulnerability.
Which versions of the Linux kernel are affected by CVE-2022-50357?
CVE-2022-50357 affects Linux kernel versions between 5.13 and 5.19.17, as well as those between 6.0 and 6.0.3.
What type of vulnerabilities does CVE-2022-50357 address?
CVE-2022-50357 addresses resource leaks that could occur in the dwc3 USB controller implementation in the Linux kernel.
Is CVE-2022-50357 present in Microsoft cbl2 kernel?
Yes, CVE-2022-50357 is also present in the Microsoft cbl2 kernel version 5.15.186.1-1.