Bug 2426010 (CVE-2022-50857) - CVE-2022-50857 kernel: rapidio: rio: fix possible name leak in rio_register_mport()
Summary: CVE-2022-50857 kernel: rapidio: rio: fix possible name leak in rio_register_m...
Keywords:
Status: NEW
Alias: CVE-2022-50857
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:01 UTC by OSIDB Bzimport
Modified: 2026-06-29 20:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:01:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.