CVE-2022-50194
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 05589b30b21ac0273970b61edd50c07d2ba156af < bc73c72a856c26df7410ddf15f42257cb4960fe9 | affected |
| Linux | Linux | 05589b30b21ac0273970b61edd50c07d2ba156af < 97713ed9b6cc4abaa2dcc8357113c56520dc6d7f | affected |
| Linux | Linux | 05589b30b21ac0273970b61edd50c07d2ba156af < 053543ac1d095132fcfd1263805d6e25afbdc6a8 | affected |
| Linux | Linux | 05589b30b21ac0273970b61edd50c07d2ba156af < ca83c61a6ccf3934cf8d01d5ade30a5034993a86 | affected |
| Linux | Linux | 05589b30b21ac0273970b61edd50c07d2ba156af < 591f0697ccbac33760d3bb1ad96a5ba2b76ae9f0 | affected |
| Linux | Linux | 05589b30b21ac0273970b61edd50c07d2ba156af < e6e0951414a314e7db3e9e24fd924b3e15515288 | affected |
| Linux | Linux | 5.4 | affected |
| Linux | Linux | 0 < 5.4 | unaffected |
| Linux | Linux | 5.4.211 <= 5.4.* | unaffected |
| Linux | Linux | 5.10.137 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.61 <= 5.15.* | unaffected |
| Linux | Linux | 5.18.18 <= 5.18.* | unaffected |
| Linux | Linux | 5.19.2 <= 5.19.* | unaffected |
| Linux | Linux | 6.0 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/bc73c72a856c26df7410ddf15f42257cb4960fe9
- https://git.kernel.org/stable/c/97713ed9b6cc4abaa2dcc8357113c56520dc6d7f
- https://git.kernel.org/stable/c/053543ac1d095132fcfd1263805d6e25afbdc6a8
- https://git.kernel.org/stable/c/ca83c61a6ccf3934cf8d01d5ade30a5034993a86
- https://git.kernel.org/stable/c/591f0697ccbac33760d3bb1ad96a5ba2b76ae9f0
- https://git.kernel.org/stable/c/e6e0951414a314e7db3e9e24fd924b3e15515288
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.