CVE-2021-47150
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical 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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64564NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesAug 04, 2026
CVE-2026-64563NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesAug 04, 2026
CVE-2026-64562NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-5.15
NoYesAug 04, 2026
CVE-2026-64561NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.17
NoYesAug 04, 2026
CVE-2022-4994NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules
NoYesJul 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management