CVE-2022-50887 Details
Description
In the Linux kernel, the following vulnerability has been resolved: regulator: core: fix unbalanced of node refcount in regulator_dev_lookup() I got the the following report: OF: ERROR: memory leak, expected refcount 1 instead of 2, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /i2c/pmic@62/regulators/exten In of_get_regulator(), the node is returned from of_parse_phandle() with refcount incremented, after using it, of_node_put() need be called.
A memory leak vulnerability has been identified in the Linux kernel's regulator core. The issue arises from an unbalanced reference count in the 'regulator_dev_lookup()' function, which can lead to a memory leak. The problem occurs when a node is retrieved using 'of_parse_phandle()' with an incremented reference count. If the corresponding 'of_node_put()' is not called after use, it creates a mismatch in the expected reference count, causing a memory leak. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References 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/0e88505ac0a6ae97746bcdbd4b042ee9f20455ae | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/2b93c58adddd98812ad928bbc2063038f3df1ffd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/2f98469c3141f8e42ba11075a273fb795bbad57f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/3ac888db0f67813d91373a9a61c840f815cd4ec9 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4dfcf5087db9a34a300d6b99009232d4537c3e6a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cda1895f3b7f324ece1614308a815a3994983b97 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/d39937f8de641c44a337cec4a2e5d3e8add20a7d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f2b41b748c19962b82709d9f23c6b2b0ce9d2f91 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f48c474efe05cf9ce5e535b5e0ddd710e963936c | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion