usb: dwc3: qcom: Fix potential memory leak
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2bc02355f8ba2c1f108ec8b16a673b467a17228c · < 097fb3ee710d4de83b8d4f5589e8ee13e0f0541e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
usb: dwc3: qcom: Fix potential memory leak
Function dwc3_qcom_probe() allocates memory for resource structure which is pointed by parent_res pointer. This memory is not freed. This leads to memory leak. Use stack memory to prevent memory leak.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel’s dwc3_qcom_probe() function allocates memory for a resource structure but does not free it, causing a potential memory leak. The input does not describe how an attacker could trigger the leak or specify network, authentication, or user-interaction requirements.
Engineers running Linux kernels with the USB dwc3 Qualcomm driver should check their versions; affected versions are not specified.