CVE-2022-50857

published 30 Dec 2025 · updated 11 May 2026

rapidio: rio: fix possible name leak in rio_register_mport()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0a71344f99289250e4d5b8adbac76f444485c840, Kernel 117fede82e9d6ea3de30746d500eb5edc2eb8310, Kernel 1bbad5793f404cf218757e3beb600eca6080330f and 6 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.15, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <0a71344f99289250e4d5b8adbac76f444485c840, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <117fede82e9d6ea3de30746d500eb5edc2eb8310, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <1bbad5793f404cf218757e3beb600eca6080330f, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <4ddbeae5f224d924cf0b12460dda88c7480aa452, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <97d9eb45ffa67ffa112a6659953321b8f7db0065, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <9abba4aa60874c5216fc8de7dededadc791de696, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <a47de2fd3f88a7788be19f94ade72c2244a98045, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <a73a626c0510d203e369aeb26c4d6ec9c75af027, >=2aaf308b95b24649a6dcfed89cd956e972089b2a <e92a216d16bde65d21a3227e0fb2aa07945765250a71344f99289250e4d5b8adbac76f444485c840, 117fede82e9d6ea3de30746d500eb5edc2eb8310, 1bbad5793f404cf218757e3beb600eca6080330f, 4ddbeae5f224d924cf0b12460dda88c7480aa452, 97d9eb45ffa67ffa112a6659953321b8f7db0065, 9abba4aa60874c5216fc8de7dededadc791de696, a47de2fd3f88a7788be19f94ade72c2244a98045, a73a626c0510d203e369aeb26c4d6ec9c75af027, e92a216d16bde65d21a3227e0fb2aa0794576525

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50857 severity on Zeptric[![CVE-2022-50857](https://zeptric.io/badge/cve/CVE-2022-50857.svg)](https://zeptric.io/cve/CVE-2022-50857)