Use After Free Vulnerability in ethernet:enic
Summary
GSD-2021-1000330: ethernet:enic: Fix a use after free bug in enic_hard_start_xmit. Affects Kernel versions >= fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3, < 7afdd6aba95c8a526038e7abe283eeac3e4320f1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The ethernet:enic package is a component of the Linux Kernel that provides support for Cisco VIC Ethernet NICs. It allows for efficient network communication and is widely used in Linux-based systems. However, a vulnerability has been discovered in the package that could lead to a use after free bug.
Vulnerability Detail
The use after free bug in enic_hard_start_xmit function of the ethernet:enic package allows an attacker to exploit a freed memory region. This can result in a variety of consequences, including crashes, privilege escalation, or arbitrary code execution. The bug was introduced in version v4.16 of the Linux Kernel and has been fixed in version v5.10.38.
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
If updating the Linux Kernel is not immediately feasible, a possible workaround is to disable the affected functionality or module. However, this may impact the system's network capabilities and should only be considered as a temporary measure until the kernel can be updated.
Conclusion
The use after free vulnerability in ethernet:enic can have serious consequences, including crashes, privilege escalation, or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.10.38 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use after free bug in ethernet:enic can potentially lead to crashes, privilege escalation, or arbitrary code execution.
You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply provide the manifest file (e.g., package-lock.json) and it will analyze and alert you in real-time.
At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the recommended fix as soon as possible to mitigate any potential risks.
As mentioned earlier, a temporary workaround is to disable the affected functionality or module. However, this should only be considered as a temporary measure until the kernel can be updated.
You can refer to the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) for more details about the vulnerability and the specific fix implemented.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.