CVE-2022-50857

Linux Kernel - Memory Leak in RapidIO rio_register_mport() Error Path

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0021
EPSS Percentile 11.6%

Details

Status published
Products (28)
linux/Kernel 3.15.0 - 4.9.337linux
linux/Kernel 4.10.0 - 4.14.303linux
linux/Kernel 4.15.0 - 4.19.270linux
linux/Kernel 4.20.0 - 5.4.229linux
linux/Kernel 5.11.0 - 5.15.86linux
linux/Kernel 5.16.0 - 6.0.16linux
linux/Kernel 5.5.0 - 5.10.163linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 3.15
Linux/Linux 2aaf308b95b24649a6dcfed89cd956e972089b2a - 0a71344f99289250e4d5b8adbac76f444485c840
... and 18 more
Published Dec 30, 2025
Tracked Since Feb 18, 2026