# CVE-2022-50357: usb: dwc3: core: fix some leaks in probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-09-17T14:56:09.991Z
- Modified: 2026-06-17T05:23:19.083Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6f0764b5adea18d70c3fab32d5f940678bcbd865 before 79c3afb55942368921237d7b5355d48c52bdde20; from 6f0764b5adea18d70c3fab32d5f940678bcbd865 before 3a213503f483173e7eea76f2e7e3bdd6df7fd6f8; from 6f0764b5adea18d70c3fab32d5f940678bcbd865 before 2a735e4b5580a2a6bbd6572109b4c4f163c57462; 5.13 (not affected: before 5.13; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.13 before 5.19.17; from 6.0 before 6.0.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/79c3afb55942368921237d7b5355d48c52bdde20> (patch)
- <https://git.kernel.org/stable/c/3a213503f483173e7eea76f2e7e3bdd6df7fd6f8> (patch)
- <https://git.kernel.org/stable/c/2a735e4b5580a2a6bbd6572109b4c4f163c57462> (patch)

## Sources

- CVE List: [CVE-2022-50357](https://www.cve.org/CVERecord?id=CVE-2022-50357), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50357](https://nvd.nist.gov/vuln/detail/CVE-2022-50357), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50357 · Whole record: https://cve.day/CVE-2022-50357.json · Rebuilt by cve.day 2026-11-25T22:58:21.179Z
