
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47150 is a memory leak vulnerability in the Linux kernel's Freescale Ethernet Controller (FEC) driver. The issue was discovered in the fec_enet_init() function, where memory allocated for queues could potentially leak if the allocation of cbd_base fails. The vulnerability was publicly disclosed in March 2024 and affects various Linux kernel versions (CVE Details).
The vulnerability exists in the Linux kernel's FEC driver implementation, specifically in the fec_enet_init() function. The issue occurs when memory allocation for cbd_base fails, as the previously allocated memory for queues is not properly freed, resulting in a memory leak. Additionally, if the memory allocation for queues fails, the function should return an error directly. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Portal).
The vulnerability can lead to memory leaks in the Linux kernel when using the Freescale Ethernet Controller driver. While memory leaks don't typically allow for direct system compromise, they can cause system resource depletion over time, potentially affecting system stability and performance (Red Hat Portal).
The vulnerability requires local access to the system and high privileges to exploit, making it relatively difficult to take advantage of in practice. There are no known public exploits targeting this vulnerability (Red Hat Portal).
The vulnerability has been fixed in the Linux kernel through a patch that properly handles memory deallocation in error cases. The fix ensures that if memory allocation for cbd_base fails, the previously allocated queue memory is properly freed, and if queue allocation fails, an error is returned immediately. The patch has been backported to various maintained kernel versions (Kernel Commit).
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."