remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
The device_node pointer is returned by of_parse_phandle() or of_get_child_by_name() with refcount incremented. We should use of_node_put() on it when done.
This function only call of_node_put(node) when of_address_to_resource succeeds, missing error cases.
From the CVE record · Linux
The Linux kernel's qcom_q6v5_mss driver can leak a device-node reference when q6v5_alloc_memory_region encounters certain error cases. The input does not establish how an attacker could trigger this, whether access or user interaction is needed, or what impact the leak could have.
Engineers running Linux kernels that include the qcom_q6v5_mss driver should check their kernel version; affected versions are not specified.