CVE-2022-50357 usb: dwc3: core: fix some leaks in probe
A memory leak in the Linux kernel's DWC3 USB driver probe function can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50357?
CVE-2022-50357 is a medium-severity denial of service vulnerability in Linux kernel, published on 17 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: core: fix some leaks in probe
The dwc3_get_properties() function calls:
dwc->usb_psy = power_supply_get_by_name(usb_psy_name);
so there is some additional clean up required on these error paths.
Weakness: CWE-401
Which versions are affected by CVE-2022-50357?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50357?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-50357 being exploited?
There is no known exploitation of CVE-2022-50357 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-71842, DEBIAN-CVE-2022-50357, GHSA-ff49-cc6c-4vwm, ROOT-OS-UBUNTU-2204-CVE-2022-50357, UBUNTU-CVE-2022-50357.