usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init of_icc_get() alloc resources for path handle, we should release it when not need anymore. Like the release in dwc3_qcom_interconnect_exit() function. Add icc_put() in error handling to fix this.
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init of_icc_get() alloc resources for path handle, we should release it when not need anymore. Like the release in dwc3_qcom_interconnect_exit() function. Add icc_put() in error handling to fix this.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/2f3b51189f7a7be5d822fb8c537d778c57eb9821
- https://git.kernel.org/stable/c/56f6de394f0f57928cd401255a5c7866b68a77e3
- https://git.kernel.org/stable/c/8c39c8d23ff9fb1beb6e16cf0ae929c764538625
- https://git.kernel.org/stable/c/97a48da1619ba6bd42a0e5da0a03aa490a9496b1
- https://git.kernel.org/stable/c/f9089b95548f0272e02a89989c511e235561d051
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50633.json
- https://nvd.nist.gov/vuln/detail/CVE-2022-50633