CVE-2022-50480 Details
Description
In the Linux kernel, the following vulnerability has been resolved: memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() The break of for_each_available_child_of_node() needs a corresponding of_node_put() when the reference 'child' is not used anymore. Here we do not need to call of_node_put() in fail path as '!match' means no break. While the of_platform_device_create() will created a new reference by 'child' but it has considered the refcounting.
A refcount leak vulnerability has been identified in the Linux kernel's PL353 static memory controller driver. This issue arises in the 'pl353_smc_probe()' function, where the 'child' node reference is not properly released after use. The vulnerability affects the Linux kernel stable tree, specifically in versions prior to the latest commit that addresses this issue. The problem occurs because the 'of_node_put()' function, which is responsible for decrementing the reference count of the 'child' node, is not called in the failure path of the 'for_each_available_child_of_node()' iteration. Although 'of_platform_device_create()' creates a new reference for 'child', it does not account for the necessary refcount management, leading to a memory leak.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.
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/44db35ceb94756ba513dcf6b69bf9e949b28469c | kernel.org | Patch |
| https://git.kernel.org/stable/c/49605dc25e7fb33bf8b671279d4468531da90f89 | kernel.org | Patch |
| https://git.kernel.org/stable/c/566b143aa5112a0c2784e20603778518bb799537 | kernel.org | Patch |
| https://git.kernel.org/stable/c/61b3c876c1cbdb1efd1f52a1f348580e6e14efb6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b37f4a711e5d4bf3608ccbc6de82b52e92b441a0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fde46754d5483bc398018bbec3c8ef5c55219e67 | 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.0, < 5.4.220 >= 5.5, < 5.10.150 >= 5.11, < 5.15.75 >= 5.16, < 5.19.17 >= 6.0, < 6.0.3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 23, 2026 | Initial Analysis | [email protected] |
| Oct 4, 2025 | New CVE Received | kernel.org |