CVE-2022-50857

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

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
14.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00242 · 14.5th percentile
Published
2025-12-30T12:15Z
EPSS history
Timeline
  • 30 DEC 12:15Z
    rapidio: rio: fix possible name leak in rio_register_mport()
    cvelistv5