Memory Leak Vulnerability in the Linux Kernel's Regulator Component
CVE-2022-50887
What is CVE-2022-50887?
A vulnerability exists due to improper handling of the reference count in the regulator system of the Linux kernel. When managing the regulator nodes, the refcount was not balanced, leading to potential memory leaks. Specifically, the function of_get_regulator() increments the refcount when a node is parsed, but a corresponding of_node_put() was not always called, resulting in unbalanced reference counts. This flaw can lead to memory not being released properly, which could affect system performance and stability over prolonged usage.
Affected Version(s)
Linux 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3 < 0e88505ac0a6ae97746bcdbd4b042ee9f20455ae
Linux 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3 < 4dfcf5087db9a34a300d6b99009232d4537c3e6a
Linux 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3 < 3ac888db0f67813d91373a9a61c840f815cd4ec9