CVE-2022-50857
Unknown Unknown - Not Provided
Reference Leak in Linux rapidio rio_register_mport() Function

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: rapidio: rio: fix possible name leak in rio_register_mport() If device_register() returns error, the name allocated by dev_set_name() need be freed. It should use put_device() to give up the reference in the error path, so that the name can be freed in kobject_cleanup(), and list_del() is called to delete the port from rio_mports.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-06-16
AI Q&A
2025-12-30
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel *
linux kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel's rapidio subsystem involves a possible name leak in the rio_register_mport() function. Specifically, if device_register() returns an error, the name allocated by dev_set_name() is not properly freed. The fix involves using put_device() to release the reference in the error path, allowing the name to be freed during kobject_cleanup(), and ensuring the port is properly removed from rio_mports.

Impact Analysis

The vulnerability could lead to resource leaks in the kernel, such as memory or name leaks, which might degrade system stability or performance over time. However, there is no indication of direct security impact like privilege escalation or data exposure.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50857. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart