CVE-2022-50120

remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:02 AM UTC
Updated: June 17, 2026 at 05:22 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: remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not needed anymore. This function has two paths missing of_node_put().

Affected

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

4.14 ≤ v < 5.15.614.14 ≤ v < 5.18.184.14 ≤ v < 5.19.24.14 ≤ v < 6.05.16 ≤ v < 5.18.185.19 ≤ v < 5.19.24.14a0ff4aa6f010801b2a61c203c6e09d01b110fddf
Vendor states this is fixed in 0dc1663e3fc22c72e1ab33be7701a0d51cca84ef (fixed)
Vendor states this is fixed in 16da9f84e26f89e58cac194ff19fefd9de27d975 (fixed)
Vendor states this is fixed in 61afafe8b938bc74841cf4b1a73dd08b9d287c5a (fixed)
Vendor states this is fixed in d8ac68927856c3a6d197a95be73c92ec0bd4b012 (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0dc1663e3fc22c72e1ab33be7701a0d51cca84ef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/16da9f84e26f89e58cac194ff19fefd9de27d975
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/61afafe8b938bc74841cf4b1a73dd08b9d287c5a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d8ac68927856c3a6d197a95be73c92ec0bd4b012

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