# CVE-2022-49188: remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-02-26T01:55:36.582Z
- Modified: 2026-06-17T05:17:20.150Z
- Weaknesses: CWE-401
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 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.2

## References

- <https://git.kernel.org/stable/c/f7210ca29a783c94478da02368731e4c9cf7cdb7> (patch)
- <https://git.kernel.org/stable/c/bd4771ba2cf9e18473a42b5b70175e50d67a64bb> (patch)
- <https://git.kernel.org/stable/c/a7d988735e757e111f9722de7cf1b40a84a48b1f> (patch)
- <https://git.kernel.org/stable/c/b9df3007b3cda4936cc50f5a7d2d30505a652828> (patch)
- <https://git.kernel.org/stable/c/07a5dcc4bed9d7cae54adf5aa10ff9f037a3204b> (patch)

## Sources

- CVE List: [CVE-2022-49188](https://www.cve.org/CVERecord?id=CVE-2022-49188), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49188](https://nvd.nist.gov/vuln/detail/CVE-2022-49188), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49188 · Whole record: https://cve.day/CVE-2022-49188.json · Rebuilt by cve.day 2026-11-25T22:58:20.263Z
