# CVE-2022-50194: soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register

- 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-06-18T11:03:38.954Z
- Modified: 2026-06-17T05:22:56.993Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register

Every iteration of for_each_available_child_of_node() decrements
the reference count of the previous node.
When breaking early from a for_each_available_child_of_node() loop,
we need to explicitly call of_node_put() on the child node.
Add missing of_node_put() to avoid refcount leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 05589b30b21ac0273970b61edd50c07d2ba156af before bc73c72a856c26df7410ddf15f42257cb4960fe9; from 05589b30b21ac0273970b61edd50c07d2ba156af before 97713ed9b6cc4abaa2dcc8357113c56520dc6d7f; from 05589b30b21ac0273970b61edd50c07d2ba156af before 053543ac1d095132fcfd1263805d6e25afbdc6a8; from 05589b30b21ac0273970b61edd50c07d2ba156af before ca83c61a6ccf3934cf8d01d5ade30a5034993a86; from 05589b30b21ac0273970b61edd50c07d2ba156af before 591f0697ccbac33760d3bb1ad96a5ba2b76ae9f0; from 05589b30b21ac0273970b61edd50c07d2ba156af before e6e0951414a314e7db3e9e24fd924b3e15515288; 5.4 (not affected: before 5.4; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.4 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/bc73c72a856c26df7410ddf15f42257cb4960fe9> (patch)
- <https://git.kernel.org/stable/c/97713ed9b6cc4abaa2dcc8357113c56520dc6d7f> (patch)
- <https://git.kernel.org/stable/c/053543ac1d095132fcfd1263805d6e25afbdc6a8> (patch)
- <https://git.kernel.org/stable/c/ca83c61a6ccf3934cf8d01d5ade30a5034993a86> (patch)
- <https://git.kernel.org/stable/c/591f0697ccbac33760d3bb1ad96a5ba2b76ae9f0> (patch)
- <https://git.kernel.org/stable/c/e6e0951414a314e7db3e9e24fd924b3e15515288> (patch)

## Sources

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

---

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