rapidio: rio: fix possible name leak in rio_register_mport()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2aaf308b95b24649a6dcfed89cd956e972089b2a · < a47de2fd3f88a7788be19f94ade72c2244a98045| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s RapidIO port registration can leak an allocated device name if device_register() fails. The input does not establish how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with RapidIO support should check their vendor’s advisory for affected versions.