CVE-2022-50120
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was identified in the Linux kernel's remoteproc imxrproc component, tracked as CVE-2022-50120. The issue involves a refcount leak in the imxrprocaddrinit function, where ofparsephandle() returns a node pointer with refcount incremented, but two paths in the function are missing the required ofnodeput() call to properly manage the reference count (NVD, Wiz).

Technical details

The vulnerability stems from improper reference counting in the imxrprocaddrinit function of the Linux kernel's remoteproc subsystem. When ofparsephandle() is called, it returns a node pointer with an incremented reference count. The function has two execution paths that fail to call ofnode_put() to decrement this reference count when the node is no longer needed, resulting in a memory leak (Wiz).

Impact

The primary impact of this vulnerability is a memory leak in the Linux kernel due to improper reference counting. While this may not lead to immediate system compromise, it could result in resource exhaustion over time if the affected code path is repeatedly executed (Wiz).

Mitigation and workarounds

The vulnerability has been resolved through a patch that adds the missing ofnodeput() calls in the two affected execution paths within the imxrprocaddr_init function. Users should update their Linux kernel to a version that includes this fix. For Debian systems, the fix is available in versions 6.1.137-1 and later (Debian Tracker).

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-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

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