
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a memory leak vulnerability (CVE-2022-50557) was identified in the thunderbaybuildfunctions() function of the pinctrl thunderbay driver. The vulnerability was published on October 22, 2025 (NVD).
The vulnerability occurs when thunderbayaddfunctions() fails, as it does not properly free the thunderbayfuncs memory allocation. While thunderbayaddfunctions() frees the memory when operations complete successfully, the memory is not freed in failure scenarios, resulting in a memory leak. The fix involves adding kfree() when thunderbayaddfunctions() fails and reorganizing the code to move kfree(funcs) from thunderbayaddfunctions() to thunderbaybuild_functions() (NVD).
The vulnerability results in a memory leak in the Linux kernel's pinctrl thunderbay driver, which could potentially lead to system resource exhaustion over time (NVD).
The vulnerability has been resolved through a patch that properly implements memory cleanup in failure scenarios and reorganizes the memory deallocation code (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."