CVE-2022-50887

regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()

N/A
Published: December 30, 2025 at 12:37 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.14.3033.3 ≤ v < 4.19.2703.3 ≤ v < 4.9.3373.3 ≤ v < 5.10.1633.3 ≤ v < 5.15.863.3 ≤ v < 5.4.2293.3 ≤ v < 6.0.163.3 ≤ v < 6.1.23.3 ≤ v < 6.23.369511a452e6dc6b74fe4f3671a51b1b44b9c57e3
Vendor states this is fixed in 0e88505ac0a6ae97746bcdbd4b042ee9f20455ae (fixed)
Vendor states this is fixed in 2b93c58adddd98812ad928bbc2063038f3df1ffd (fixed)
Vendor states this is fixed in 2f98469c3141f8e42ba11075a273fb795bbad57f (fixed)
Vendor states this is fixed in 3ac888db0f67813d91373a9a61c840f815cd4ec9 (fixed)
Vendor states this is fixed in 4dfcf5087db9a34a300d6b99009232d4537c3e6a (fixed)
Vendor states this is fixed in cda1895f3b7f324ece1614308a815a3994983b97 (fixed)
Vendor states this is fixed in d39937f8de641c44a337cec4a2e5d3e8add20a7d (fixed)
Vendor states this is fixed in f2b41b748c19962b82709d9f23c6b2b0ce9d2f91 (fixed)
Vendor states this is fixed in f48c474efe05cf9ce5e535b5e0ddd710e963936c (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card