CVE-2022-50557
In the Linux kernel, the following vulnerability has been resolved: pinctrl: thunderbay: fix possible memory leak in thunderbay_build_functions() The thunderbay_add_functions() will free memory of thunderbay_funcs when everything is ok, but thunderbay_funcs will not be freed when thunderbay_add_functions() fails, then there will be a memory leak, so we need to add kfree() when thunderbay_add_functions() fails to fix it. In addition, doing some cleaner works, moving kfree(funcs) from thunderbay_add_functions() to thunderbay_build_functions().
Affected versions
Linux kernel versions
5.17
and later are affected. Fixed in
6.0.16,
6.1.2,
6.2
and their respective stable series.
References
The following references provide additional information about CVE-2022-50557 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/3650943bab29d03ef147290451237713ed1942cd
-
PatchKernel patch commithttps://git.kernel.org/stable/c/83e1bcaf8cef26edaaf2a6098ef760f563683483
-
PatchKernel patch commithttps://git.kernel.org/stable/c/aae4846e8e49044cb51d0276bec2a3fc2d5cd8da
Frequently asked questions
-
What is CVE-2022-50557?
CVE-2022-50557 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.17 onward and has been patched in 6.0.16, 6.1.2 and 6.2. CVE-2022-50557 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50557?
Yes — CVE-2022-50557 has been patched. Fixed versions include 6.0.16, 6.1.2 and 6.2. If you are running Linux kernel 5.17 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50557 actively exploited?
No — CVE-2022-50557 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.