CVE-2022-50119
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2022-50119) was identified related to a possible refcount leak in the rpmsg_register_device_override() function. The issue was discovered when the driver_set_override fails, where the function needs to call put_device to free vch. The vulnerability was disclosed on June 18, 2025 (NVD, Wiz).

Technical details

The vulnerability exists in the rpmsg (Remote Processor Messaging) subsystem of the Linux kernel. Specifically, the issue occurs in the rpmsg_register_device_override() function where there is a failure to properly manage device reference counts when driver_set_override fails. The fix involves adding a put_device() call to the error path to prevent the reference count leak (NVD, Wiz).

Impact

A refcount leak in the kernel can lead to resource exhaustion over time, potentially affecting system stability and performance (Wiz).

Mitigation and workarounds

The vulnerability has been fixed by adding a put_device() call to the error path in the rpmsg_register_device_override() function. Users should update their Linux kernel to a version that includes this fix (Wiz).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 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