{"id":"CVE-2022-50887","published":"2025-12-30T12:37:05Z","modified":"2026-05-11T19:27:03Z","title":"regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: core: fix unbalanced of node refcount in regulator_dev_lookup()\n\nI got the the following report:\n\n  OF: ERROR: memory leak, expected refcount 1 instead of 2,\n  of_node_get()/of_node_put() unbalanced - destroy cset entry:\n  attach overlay node /i2c/pmic@62/regulators/exten\n\nIn of_get_regulator(), the node is returned from of_parse_phandle()\nwith refcount incremented, after using it, of_node_put() need be called.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.003,"percentile":0.15167,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0e88505ac0a6ae97746bcdbd4b042ee9f20455ae","tags":[]},{"url":"https://git.kernel.org/stable/c/4dfcf5087db9a34a300d6b99009232d4537c3e6a","tags":[]},{"url":"https://git.kernel.org/stable/c/3ac888db0f67813d91373a9a61c840f815cd4ec9","tags":[]},{"url":"https://git.kernel.org/stable/c/d39937f8de641c44a337cec4a2e5d3e8add20a7d","tags":[]},{"url":"https://git.kernel.org/stable/c/f48c474efe05cf9ce5e535b5e0ddd710e963936c","tags":[]},{"url":"https://git.kernel.org/stable/c/cda1895f3b7f324ece1614308a815a3994983b97","tags":[]},{"url":"https://git.kernel.org/stable/c/2b93c58adddd98812ad928bbc2063038f3df1ffd","tags":[]},{"url":"https://git.kernel.org/stable/c/2f98469c3141f8e42ba11075a273fb795bbad57f","tags":[]},{"url":"https://git.kernel.org/stable/c/f2b41b748c19962b82709d9f23c6b2b0ce9d2f91","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":3.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < 0e88505ac0a6ae97746bcdbd4b042ee9f20455ae",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < 4dfcf5087db9a34a300d6b99009232d4537c3e6a",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < 3ac888db0f67813d91373a9a61c840f815cd4ec9",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < d39937f8de641c44a337cec4a2e5d3e8add20a7d",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < f48c474efe05cf9ce5e535b5e0ddd710e963936c",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < cda1895f3b7f324ece1614308a815a3994983b97",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < 2b93c58adddd98812ad928bbc2063038f3df1ffd",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < 2f98469c3141f8e42ba11075a273fb795bbad57f",">= 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3, < f2b41b748c19962b82709d9f23c6b2b0ce9d2f91"]},{"vendor":"Linux","product":"Linux","versions":["3.3"]}],"euvd":{"id":"EUVD-2022-55909","exploited":false,"provenance":"source"}}