CVE-2022-50857
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.
Affected versions
Linux kernel versions
3.15
and later are affected. Fixed in
4.9.337,
4.14.303,
4.19.270,
5.4.229,
5.10.163,
5.15.86,
6.0.16,
6.1.2,
6.2
and their respective stable series.
References
The following references provide additional information about CVE-2022-50857 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0a71344f99289250e4d5b8adbac76f444485c840
-
PatchKernel patch commithttps://git.kernel.org/stable/c/117fede82e9d6ea3de30746d500eb5edc2eb8310
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1bbad5793f404cf218757e3beb600eca6080330f
Frequently asked questions
-
What is CVE-2022-50857?
CVE-2022-50857 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 3.15 onward and has been patched in 4.9.337, 4.14.303, 4.19.270 and others. CVE-2022-50857 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50857?
Yes — CVE-2022-50857 has been patched. Fixed versions include 4.9.337, 4.14.303, 4.19.270 and others. If you are running Linux kernel 3.15 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50857 actively exploited?
No — CVE-2022-50857 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.