CVE-2022-50857: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50857 is a memory/resource leak vulnerability in the Linux kernel's RapidIO subsystem, specifically in the rio_register_mport() function. When device_register() returns an error, the name allocated by dev_set_name() is not properly freed, resulting in a name leak; additionally, the port is not removed from the rio_mports list in the error path. The vulnerability affects Linux kernel versions from commit 2aaf308b95b2 up to the respective fix commits across multiple stable branches. It was published on December 30, 2025, and carries an estimated CVSS severity of Medium with an EPSS score of approximately 0.033% (Feedly, EUVD).

Technical details

The root cause is improper error handling in the rio_register_mport() function within the Linux kernel's RapidIO driver (drivers/rapidio/rio.c), classified as a missing resource release on error path (CWE-401: Missing Release of Memory after Effective Lifetime). When device_register() fails, the code does not call put_device() to release the reference, which would normally trigger kobject_cleanup() to free the name string set by dev_set_name(). Furthermore, the port entry is not removed from the rio_mports list via list_del(), leaving a dangling reference. The fix replaces direct error-path cleanup with a put_device() call and adds the missing list_del() (Feedly, EUVD).

Impact

The primary impact is a kernel memory leak — specifically, the device name string allocated during RapidIO master port registration is not freed on registration failure, and the port remains incorrectly listed in rio_mports. Over time or under repeated error conditions, this could contribute to kernel memory exhaustion, potentially degrading system stability or availability. The vulnerability does not directly enable code execution, privilege escalation, or data exfiltration, making its confidentiality and integrity impact negligible (Feedly).

Exploitability

There is no known public exploit code, active in-the-wild exploitation, or threat actor attribution associated with CVE-2022-50857. The vulnerability requires local kernel-level conditions related to RapidIO hardware initialization failures, making it difficult to trigger in typical environments. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and its EPSS score is approximately 0.033%, reflecting very low exploitation probability (Feedly, Tenable).

Mitigation and workarounds

The Linux kernel maintainers have released fixes across multiple stable branches. Patched versions include: 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2. Users should update to the appropriate patched kernel version for their distribution. No configuration-based workaround is available; upgrading the kernel is the recommended remediation (Feedly, EUVD).

Additional resources


Source: This 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-99082HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-kvm
NoYesOct 23, 2026
CVE-2026-99087NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesOct 23, 2026
CVE-2026-99086NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesOct 23, 2026
CVE-2026-99085NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-fips
NoYesOct 23, 2026
CVE-2026-99084NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-bos
NoYesOct 23, 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

Additional Wiz resources

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