CVE-2022-50121 Details
Description
In the Linux kernel, the following vulnerability has been resolved: remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init 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.
A refcount leak vulnerability has been identified in the Linux kernel's remoteproc component, specifically within the K3-R5 processor cluster initialization. The issue arises because the 'for_each_available_child_of_node()' function decreases the reference count of the previous node with each iteration. When the loop is exited early, the reference count of the child node is not properly restored, leading to a memory management flaw. This vulnerability affects several versions of the Linux kernel.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3f83c4cf1b78331c23876977aa7b9151aff2f9e1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/61cd8cd3b6b33c7eae3b45cf783b114f2ae53528 | kernel.org | Patch |
| https://git.kernel.org/stable/c/75358732af9b26acfe3e609943290bcba13330fc | kernel.org | Patch |
| https://git.kernel.org/stable/c/cf112a52d758092ca3d5ebdad51dd17bda5ba3e5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fa220c05d282e7479abe08b54e3bdffd06c25e97 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10, < 5.10.137 >= 5.11, < 5.15.61 >= 5.16, < 5.18.18 >= 5.19, < 5.19.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 18, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |