What’s Vulnerable › Vulnerabilities
CVE-2022-50249: memory: of: Fix refcount leak bug in of_get_ddr_timings()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-15 · updated 2026-06-17
Description
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.
Affected products
- Linux kernel: from 3.7 before 4.9.331; from 4.10 before 4.14.296; from 4.15 before 4.19.262; from 4.20 before 5.4.220; from 5.5 before 5.10.150; from 5.11 before 5.15.75 — fixed in 4.14.296, 4.19.262, 4.9.331, 5.10.150, 5.15.75, 5.19.17
How to fix
Upgrade to a fixed version: Linux kernel 4.14.296, 4.19.262, 4.9.331, 5.10.150. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/05215fb32010d4afb68fbdbb4d237df6e2d4567b
- https://git.kernel.org/stable/c/1c6cac6fa4d08aea161f83d38117d733b3c3a000
- https://git.kernel.org/stable/c/2680690f9ce4e6abbb4f559e97271c15b7eeda97
- https://git.kernel.org/stable/c/62ccab6e3376f8a22167c3b81468ae4f3e7d25f1
- https://git.kernel.org/stable/c/68c9c4e6495b825be3a8946df1a0148399555fe4
- https://git.kernel.org/stable/c/85a40bfb8e7a170abcf9dae2c0898a1983e48daa
- https://git.kernel.org/stable/c/a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48
- https://git.kernel.org/stable/c/a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3
- https://git.kernel.org/stable/c/daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9
Get alerted when CVE-2022-50249 or the next vulnerability affects your stack