CVE-2022-49188
JSON

5.5medium

remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 051fb70fd4ea40fbc7139186a4890b2fe5cb1e76 before f7210ca29a783c94478da02368731e4c9cf7cdb7, from 051fb70fd4ea40fbc7139186a4890b2fe5cb1e76 before bd4771ba2cf9e18473a42b5b70175e50d67a64bb, from 051fb70fd4ea40fbc7139186a4890b2fe5cb1e76 before a7d988735e757e111f9722de7cf1b40a84a48b1f, from 051fb70fd4ea40fbc7139186a4890b2fe5cb1e76 before b9df3007b3cda4936cc50f5a7d2d30505a652828, from 051fb70fd4ea40fbc7139186a4890b2fe5cb1e76 before 07a5dcc4bed9d7cae54adf5aa10ff9f037a3204b, 4.8
Not affected: before 4.8, from 5.10.110 up to 5.10.*, from 5.15.33 up to 5.15.*, from 5.16.19 up to 5.16.*, from 5.17.2 up to 5.17.*, from 5.18 up to *
CVE List
linux linux_kernelfrom 4.8 before 5.10.110, from 5.11 before 5.15.33, from 5.16 before 5.16.19, from 5.17 before 5.17.2NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: remoteproc: qcom_q6v5_mss: Corrige algunas fugas en q6v5_alloc_memory_region El puntero device_node es devuelto por of_parse_phandle() o of_get_child_by_name() con refcount incrementado. Deberíamos usar of_node_put() en él cuando haya terminado. Esta función solo llama a of_node_put(node) cuando of_address_to_resource tiene éxito, omitiendo los casos de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49188 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49188 changed 2026-06-17Public domain