CVE-2022-50857
rapidio: rio: fix possible name leak in rio_register_mport()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.15
References 9
git.kernel.org
- stable/c/0a71344f99289250e4d5b8adbac76f444485c840
- stable/c/117fede82e9d6ea3de30746d500eb5edc2eb8310
- stable/c/a73a626c0510d203e369aeb26c4d6ec9c75af027
- stable/c/1bbad5793f404cf218757e3beb600eca6080330f
- stable/c/97d9eb45ffa67ffa112a6659953321b8f7db0065
- stable/c/a47de2fd3f88a7788be19f94ade72c2244a98045
- stable/c/4ddbeae5f224d924cf0b12460dda88c7480aa452
- stable/c/9abba4aa60874c5216fc8de7dededadc791de696
- stable/c/e92a216d16bde65d21a3227e0fb2aa0794576525