remoteproc: qcom: Fix leak when custom dump_segments addition fails
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8ed8485c4f056d488d17a2b56581c86aeb42955d · < e5b1aaa74118e91f0c0f18b22b6f853199873db4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: qcom: Fix leak when custom dump_segments addition fails
Free allocated minidump_region 'name' in qcom_add_minidump_segments() when failing before adding the region to 'dump_segments'. Otherwise, the 'name' is not tracked and is never freed by qcom_minidump_cleanup().
Return error when adding to 'dump_segments' fails.
From the CVE record · Linux
The Linux kernel can leak an allocated minidump region name if adding custom dump segments fails before the region is tracked. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with Qualcomm remoteproc minidump support should check their deployments; affected versions are not specified.