CVE-2022-50249Published Sep 15, 2025 · Sep 15Updated Nov 7
memory: of: Fix refcount leak bug in of_get_ddr_timings()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e6b42eb6a66c188642aeb447312938c6f6ebee86 · < 2680690f9ce4e6abbb4f559e97271c15b7eeda97| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
memory: of: Fix refcount leak bug in of_get_ddr_timings()
We should add the of_node_put() when breaking out of for_each_child_of_node() as it will automatically increase and decrease the refcount.
From the CVE record · Linux
A reference-count leak can occur in the Linux kernel's of_get_ddr_timings() when it breaks out of a child-node loop without releasing the node. The input does not describe how an attacker could trigger or exploit the leak, or specify network, authentication, or user-interaction conditions.
Engineers running the Linux kernel should check their systems; affected versions are not specified.