Use-after-free vulnerability in net/mlx5e package
Summary
GSD-2021-1001059: net/mlx5e: Fix use-after-free of encap entry in neigh update handler. Affects Kernel versions >= 2a1f1768fa17805ca2e937e2e034a7c3433d3bdc, < b6447b72aca571632e71bb73a797118d5ce46a93. 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 net/mlx5e package is a component of the Linux Kernel that provides support for Mellanox Ethernet devices. It includes drivers and functionality for managing network interfaces and handling network traffic. The package is widely used in Linux-based systems for networking purposes.
Vulnerability Detail
The vulnerability identified in the net/mlx5e package is a use-after-free issue that occurs in the neigh update handler. This vulnerability allows an attacker to exploit a freed encap entry, leading to potential memory corruption or arbitrary code execution. The issue was introduced in version v5.4 of the Linux Kernel and was fixed in version v5.12.13. The impact and attack plausibility of this vulnerability have not been proven yet.
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
There is no specific workaround available for this vulnerability. However, users can mitigate the risk by ensuring they have the latest version of the Linux Kernel installed and regularly updating their systems to receive security patches.
Conclusion
The use-after-free vulnerability in the net/mlx5e package of the Linux Kernel can be mitigated by updating to version v5.12.13 or later. It is important to regularly update systems to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The net/mlx5e package is a component of the Linux Kernel that provides support for Mellanox Ethernet devices and handles network interfaces and traffic.
A use-after-free vulnerability occurs when a program continues to use a memory area after it has been freed, potentially leading to memory corruption or arbitrary code execution.
This vulnerability can be exploited by an attacker to manipulate a freed encap entry, potentially causing memory corruption or executing arbitrary code.
This vulnerability was introduced in version v5.4 of the Linux Kernel.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.12.13 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.