CVE-2022-50557 Details
Description
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().
A memory leak vulnerability has been identified in the Intel Thunder Bay pinctrl driver of the Linux kernel. The issue arises in the 'thunderbay_add_functions()' function, which fails to free the 'thunderbay_funcs' memory when an error occurs, leading to a memory leak. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the 'thunderbay_add_functions()' function to include a memory free operation when an error occurs. Users can apply the latest patches available in the Linux kernel stable tree to remediate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3650943bab29d03ef147290451237713ed1942cd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/83e1bcaf8cef26edaaf2a6098ef760f563683483 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/aae4846e8e49044cb51d0276bec2a3fc2d5cd8da | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Intel Thunder Bay | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 22, 2025 | New CVE Received | kernel.org |
Volerion