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
3 totalFrequently 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.