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-05-07
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-05
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 Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart