Memory Leak Vulnerability in net: fec

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

UVI-2021-1000546: net: fec: fix the potential memory leak in fec_enet_init(). Affects Kernel versions >= 59d0f746564495c7f54526674deabfcf101236a1, < 32a1777fd113335c3f70dc445dffee0ad1c6870f. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The net: fec package is a component of the Linux Kernel that provides support for the Freescale Fast Ethernet Controller (FEC). It enables network communication over Ethernet connections. The fec_enet_init() function is responsible for initializing the FEC driver. However, a potential memory leak has been identified in this function.

Vulnerability Detail

The memory leak vulnerability in fec_enet_init() can lead to the gradual depletion of system memory resources. When the function is called, memory may be allocated but not properly deallocated, resulting in a memory leak. Over time, this can cause system instability, performance degradation, and potentially denial-of-service conditions. The vulnerability was introduced in version v3.18 of the Linux Kernel and has been fixed in version v5.12.9.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can avoid the memory leak by not using the fec_enet_init() function or the net: fec package. However, this may not be feasible for systems that rely on the functionality provided by the package. It is strongly recommended to apply the fix by updating the Linux Kernel.

Conclusion

The memory leak vulnerability in net: fec's fec_enet_init() function can lead to memory depletion and system instability. It is crucial to update the Linux Kernel to version v5.12.9 or later to fix this vulnerability. Applying the fix will ensure proper memory deallocation and prevent potential memory leaks. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory leaks, which can gradually deplete system memory resources. This can result in system instability, performance degradation, and potentially denial-of-service conditions.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to prevent any potential exploitation.

While updating the Kernel is the recommended solution, you can mitigate the risk by avoiding the use of the fec_enet_init() function or the net: fec package. However, this may not be a feasible workaround for systems that rely on the package's functionality.

You can refer to the Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ for more information about the fix. The vulnerability details can be found in the Open Source Vulnerability database maintained by the Cloud Security Alliance at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/UVI-2021-1000546.json.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback