CVE-2022-50191Published Jun 18, 2025 · Jun 18Updated Nov 7
regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 40e20d68bb3fb1ce2704c886d597918988d3321d · < 11ecb4f8735b0230d54a82c18b21ea778b695d61| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's of_get_regulation_constraints() function fails to release a reference acquired by of_get_child_by_name(), causing a reference-count leak. The input does not describe an attacker action or specify whether access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.