CVE-2022-50429Published Oct 1, 2025 · Oct 1Updated Nov 7
memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
memory: of: Fix refcount leak bug in of_lpddr3_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
The Linux kernel has a reference-count leak in of_lpddr3_get_ddr_timings() when it breaks out of a child-node loop without releasing the node reference. The input does not specify an attacker action, access requirements, or whether user interaction is needed.
Engineers running the Linux kernel should check whether their version includes the fix; affected versions are not specified.