CVE-2022-50120
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50120 is a reference count (refcount) leak vulnerability in the Linux kernel's remoteproc subsystem, specifically within the imx_rproc_addr_init function of the i.MX remote processor driver. The flaw arises because of_parse_phandle() returns a node pointer with an incremented reference count, but two code paths in imx_rproc_addr_init fail to call of_node_put() to release the reference when it is no longer needed. Affected kernel versions include 4.14–5.15.60, 5.16–5.18.17, and 5.19–5.19.1. The CVE was published on June 18, 2025, with patches available in the Linux kernel stable repositories. It carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly).

Technical details

The root cause is improper resource management (CWE-401: Missing Release of Memory after Effective Lifetime) in the imx_rproc_addr_init function within drivers/remoteproc/imx_rproc.c. When of_parse_phandle() is called to obtain a device tree node pointer, it increments the node's reference count; however, two error or early-exit paths in the function omit the corresponding of_node_put() call, causing the reference count to never reach zero and the associated memory to never be freed. This is a local, low-complexity issue requiring low privileges and no user interaction to trigger. No public proof-of-concept exploit code has been identified (Feedly, Kernel Patch 1).

Impact

Successful exploitation of this vulnerability by a local, low-privileged user could cause resource exhaustion in the kernel's device tree node reference tracking, leading to a denial of service condition. The availability impact is rated High, as repeated triggering could destabilize the system or render it unresponsive. There is no confidentiality or integrity impact associated with this vulnerability (Feedly).

Exploitability

There is no known public proof-of-concept exploit for CVE-2022-50120, and no evidence of in-the-wild exploitation has been reported. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified (Feedly).

Mitigation and workarounds

Update the Linux kernel to a patched stable version: 5.15.61 or later (for the 5.15.x branch), 5.18.18 or later (for the 5.18.x branch), or 5.19.2 or later (for the 5.19.x branch). Patches have been committed to the Linux kernel stable repositories and can be applied directly. As a secondary measure, restrict local user access to systems using i.MX-based remote processor hardware to reduce exposure. Monitoring for unusual kernel memory or resource consumption patterns may help detect anomalous behavior (Feedly, Kernel Patch 1, Kernel Patch 2).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management