CVE-2022-50887
Unknown Unknown - Not Provided

Reference Count Imbalance in Linux Kernel Regulator Causes Memory Leak

Vulnerability report for CVE-2022-50887, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-07-06
AI Q&A
2025-12-30
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a memory leak in the Linux kernel's regulator core caused by an unbalanced reference count in the function regulator_dev_lookup(). Specifically, when a device tree node is obtained via of_parse_phandle(), its reference count is incremented, but the corresponding decrement (of_node_put()) was not properly called after use, leading to a memory leak.

Impact Analysis

The impact of this vulnerability is a memory leak in the kernel, which can lead to increased memory usage over time and potentially degrade system stability or performance if the leak accumulates.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50887. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart