CVE-2022-50249

memory: of: Fix refcount leak bug in of_get_ddr_timings()

MEDIUM
5.5
CVSS Score
Published: September 15, 2025 at 02:02 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.7 ≤ v < 4.14.2963.7 ≤ v < 4.19.2623.7 ≤ v < 4.9.3313.7 ≤ v < 5.10.1503.7 ≤ v < 5.15.753.7 ≤ v < 5.19.173.7 ≤ v < 5.4.2203.7 ≤ v < 6.0.33.7 ≤ v < 6.14.10 ≤ v < 4.14.2964.15 ≤ v < 4.19.2624.20 ≤ v < 5.4.2205.11 ≤ v < 5.15.755.16 ≤ v < 5.19.175.5 ≤ v < 5.10.1506.0 ≤ v < 6.0.33.7e6b42eb6a66c188642aeb447312938c6f6ebee86
Vendor states this is fixed in 05215fb32010d4afb68fbdbb4d237df6e2d4567b (fixed)
Vendor states this is fixed in 1c6cac6fa4d08aea161f83d38117d733b3c3a000 (fixed)
Vendor states this is fixed in 2680690f9ce4e6abbb4f559e97271c15b7eeda97 (fixed)
Vendor states this is fixed in 62ccab6e3376f8a22167c3b81468ae4f3e7d25f1 (fixed)
Vendor states this is fixed in 68c9c4e6495b825be3a8946df1a0148399555fe4 (fixed)
Vendor states this is fixed in 85a40bfb8e7a170abcf9dae2c0898a1983e48daa (fixed)
Vendor states this is fixed in a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48 (fixed)
Vendor states this is fixed in a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3 (fixed)
Vendor states this is fixed in daaec4b3fe2297b022c6b2d6bf48b6e5265a60b9 (fixed)
Vendor states this is fixed in 3.7 (unaffected)
Vendor states this is fixed in 4.14.296 (unaffected)
Vendor states this is fixed in 4.19.262 (unaffected)
Vendor states this is fixed in 4.9.331 (unaffected)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 5.4.220 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/05215fb32010d4afb68fbdbb4d237df6e2d4567b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c6cac6fa4d08aea161f83d38117d733b3c3a000
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2680690f9ce4e6abbb4f559e97271c15b7eeda97
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/62ccab6e3376f8a22167c3b81468ae4f3e7d25f1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68c9c4e6495b825be3a8946df1a0148399555fe4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/85a40bfb8e7a170abcf9dae2c0898a1983e48daa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a4d0bd4388e1a39df47e8aaa044ef6a7ee626e48
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a4f7eb83852a65b6f8dea7dcc42b7c76d4d9b0a3

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card