CVE-2022-50887

Linux Kernel - Memory Leak via Unbalanced of_node_get()/of_node_put() in regulator_dev_lookup()

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0021
EPSS Percentile 10.9%

Details

Status published
Products (28)
linux/Kernel 3.3.0 - 4.9.337linux
linux/Kernel 4.10.0 - 4.14.303linux
linux/Kernel 4.15.0 - 4.19.270linux
linux/Kernel 4.20.0 - 5.4.229linux
linux/Kernel 5.11.0 - 5.15.86linux
linux/Kernel 5.16.0 - 6.0.16linux
linux/Kernel 5.5.0 - 5.10.163linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 3.3
Linux/Linux 3.3
... and 18 more
Published Dec 30, 2025
Tracked Since Feb 18, 2026