CVE-2022-50245
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2022-50245 is a vulnerability in the Linux kernel affecting the RapidIO subsystem. The issue was discovered in the mportcdevopen() function where if kfifoalloc() fails, it leads to a potential Use-After-Free (UAF) condition. The vulnerability was identified when priv remains in the chdev->filelist after a failure condition, which could cause list traversal issues (Ubuntu Security).

Technical details

The vulnerability occurs in the drivers/rapidio/devices/riomportcdev.c file at line 1930 in the mportcdevopen() function. When kfifoalloc() fails, the code goes to errfifo and frees priv, but priv is still present in the chdev->file_list, which can lead to a Use-After-Free condition during list traversal (Ubuntu Security).

Impact

The vulnerability could potentially lead to system instability or crashes due to the Use-After-Free condition in the RapidIO subsystem. This affects various Linux distributions including Ubuntu and Red Hat Enterprise Linux versions (Ubuntu Security, Red Hat Portal).

Mitigation and workarounds

The vulnerability has been fixed in multiple Linux kernel versions across different distributions. Ubuntu has released patches for various versions including 22.04 LTS (5.15.0-69.76), 20.04 LTS (5.4.0-144.161), and 18.04 LTS (4.15.0-208.220). The fix is also available for other kernel variants such as linux-aws, linux-azure, and linux-gcp (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59030HIGH7.5
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-59029MEDIUM5.3
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
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