Linux Kernel up to 6.1.1 rapidio rio_mport_cdev.c kfifo_alloc use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in Linux Kernel up to 6.1.1. The affected element is the function kfifo_alloc of the file drivers/rapidio/devices/rio_mport_cdev.c of the component rapidio. Executing a manipulation can lead to use after free. This vulnerability is handled as CVE-2022-50245. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability classified as critical was found in Linux Kernel up to 6.1.1. This vulnerability affects the function kfifo_alloc of the file drivers/rapidio/devices/rio_mport_cdev.c of the component rapidio. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: rapidio: fix possible UAF when kfifo_alloc() fails If kfifo_alloc() fails in mport_cdev_open(), goto err_fifo and just free priv. But priv is still in the chdev->file_list, then list traversal may cause UAF. This fixes the following smatch warning: drivers/rapidio/devices/rio_mport_cdev.c:1930 mport_cdev_open() warn: '&priv->list' not removed from list

The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2022-50245 since 09/15/2025. The exploitation appears to be easy. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 01/10/2026).

The vulnerability scanner Nessus provides a plugin with the ID 265211 (Linux Distros Unpatched Vulnerability : CVE-2022-50245), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16 or 6.1.2 eliminates this vulnerability. Applying the patch 2a6c75adf8192f07ddcdd4a1a13488c890a73919/2dfd60724d271a6ab99f93f40f38f2ced1ddbb87/a253dde0403a153075ffb254f6f7b2635e49e97a/311b488405ac45af46756b1c8f1d27007b68b07e/5ee850645e42f541ce1ea8130c2b27cc495f965c/2f5cc7fd73fd6253cc71214f0dd499cc62feb469/2ba06e57f933f0eac242e8b389433da1cc00d4d5/cb87af2c19c0993f6e21f75b963a5599c5a73e76 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (265211) and CERT Bund (WID-SEC-2025-2053). Once again VulDB remains the best source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • IBM QRadar SIEM
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Dell Secure Connect Gateway
  • F5 F5OS

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 265211
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-50245

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 4.9.337/4.14.303/4.19.270/5.4.229/5.10.163/5.15.86/6.0.16/6.1.2
Patch: 2a6c75adf8192f07ddcdd4a1a13488c890a73919/2dfd60724d271a6ab99f93f40f38f2ced1ddbb87/a253dde0403a153075ffb254f6f7b2635e49e97a/311b488405ac45af46756b1c8f1d27007b68b07e/5ee850645e42f541ce1ea8130c2b27cc495f965c/2f5cc7fd73fd6253cc71214f0dd499cc62feb469/2ba06e57f933f0eac242e8b389433da1cc00d4d5/cb87af2c19c0993f6e21f75b963a5599c5a73e76

Timelineinfo

09/15/2025 Advisory disclosed
09/15/2025 +0 days CVE reserved
09/15/2025 +0 days VulDB entry created
01/10/2026 +117 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-50245 (🔒)
GCVE (CVE): GCVE-0-2022-50245
GCVE (VulDB): GCVE-100-323956
CERT Bund: WID-SEC-2025-2053 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 09/15/2025 16:44
Updated: 01/10/2026 07:42
Changes: 09/15/2025 16:44 (60), 09/16/2025 10:25 (7), 09/19/2025 21:44 (2), 11/24/2025 21:33 (11), 12/27/2025 20:44 (1), 01/10/2026 07:42 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!