---
id: CVE-2022-50249
title: 'memory: of: Fix refcount leak bug in of_get_ddr_timings()'
summary: |-
  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 increa…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    68c9c4e6495b825be3a8946df1a0148399555fe4
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    85a40bfb8e7a170abcf9dae2c0898a1983e48daa
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    2680690f9ce4e6abbb4f559e97271c15b7eeda97
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    62ccab6e3376f8a22167c3b81468ae4f3e7d25f1
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    1c6cac6fa4d08aea161f83d38117d733b3c3a000
  - >-
    Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 <
    05215fb32010d4afb68fbdbb4d237df6e2d4567b
  - Linux 3.7
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:07:51.653734Z'
published: '2025-09-15'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:10:31.119Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50249'
references:
  - url: 'https://git.kernel.org/stable/c/a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48'
  - url: 'https://git.kernel.org/stable/c/a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3'
  - url: 'https://git.kernel.org/stable/c/68c9c4e6495b825be3a8946df1a0148399555fe4'
  - url: 'https://git.kernel.org/stable/c/85a40bfb8e7a170abcf9dae2c0898a1983e48daa'
  - url: 'https://git.kernel.org/stable/c/daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9'
  - url: 'https://git.kernel.org/stable/c/2680690f9ce4e6abbb4f559e97271c15b7eeda97'
  - url: 'https://git.kernel.org/stable/c/62ccab6e3376f8a22167c3b81468ae4f3e7d25f1'
  - url: 'https://git.kernel.org/stable/c/1c6cac6fa4d08aea161f83d38117d733b3c3a000'
  - url: 'https://git.kernel.org/stable/c/05215fb32010d4afb68fbdbb4d237df6e2d4567b'
tags:
  - cve.org
epss: 0.00163
epssPercentile: 0.05554
ingestedAt: '2026-11-05T22:38:31.711Z'
---

## Overview

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

- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < 68c9c4e6495b825be3a8946df1a0148399555fe4`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < 85a40bfb8e7a170abcf9dae2c0898a1983e48daa`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < 2680690f9ce4e6abbb4f559e97271c15b7eeda97`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < 62ccab6e3376f8a22167c3b81468ae4f3e7d25f1`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < 1c6cac6fa4d08aea161f83d38117d733b3c3a000`
- `Linux >= e6b42eb6a66c188642aeb447312938c6f6ebee86 < 05215fb32010d4afb68fbdbb4d237df6e2d4567b`
- `Linux 3.7`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
