CVE-2022-50557
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
22/10/2025
Last modified:
22/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
pinctrl: thunderbay: fix possible memory leak in thunderbay_build_functions()<br />
<br />
The thunderbay_add_functions() will free memory of thunderbay_funcs<br />
when everything is ok, but thunderbay_funcs will not be freed when<br />
thunderbay_add_functions() fails, then there will be a memory leak,<br />
so we need to add kfree() when thunderbay_add_functions() fails to<br />
fix it.<br />
<br />
In addition, doing some cleaner works, moving kfree(funcs) from<br />
thunderbay_add_functions() to thunderbay_build_functions().



