← CVE Intelligence

CVE-2022-50191

regulator: of: Fix refcount leak bug in of_get_regulation_constraints() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: regulator: of: Fix refcount leak bug in of_get_regulation_constraints() We should call the of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 40e20d68bb3fb1ce2704c886d597918988d3321d before a23098cc32860272dc6c3200ff20c34c65b7b694; affected 40e20d68bb3fb1ce2704c886d597918988d3321d before b9ca8585c766616563cf3c062c6878f61f83cf00; affected 40e20d68bb3fb1ce2704c886d597918988d3321d before 35f9e861d9b9434903a8ede37a3561f78985826d; affected 40e20d68bb3fb1ce2704c886d597918988d3321d before 332e555dca074c4eb2084898021c3676423814c3; affected 40e20d68bb3fb1ce2704c886d597918988d3321d before c9df8ff290097aabd5c9200f7f729b0813d37b19; affected 40e20d68bb3fb1ce2704c886d597918988d3321d before 11ecb4f8735b0230d54a82c18b21ea778b695d61; affected 40e20d68bb3fb1ce2704c886d597918988d3321d before fc7b19f547bc9e622060a0a9a39da2330aa21c53; affected 40e20d68bb3fb1ce2704c886d597918988d3321d before 66efb665cd5ad69b27dca8571bf89fc6b9c628a4
Linux / Linuxaffected 3.19; unaffected 0 before 3.19; unaffected 4.14.291 through 4.14.*; unaffected 4.19.256 through 4.19.*; unaffected 5.4.211 through 5.4.*; unaffected 5.10.137 through 5.10.*; unaffected 5.15.61 through 5.15.*; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References