Double Free Issue in net: marvell: prestera
Summary
GSD-2021-1002534: net: marvell: prestera: fix double free issue on err path. Affects Kernel versions >= e1189d9a5fbec8153dbe03f3589bc2baa96694e2, < 03e5203d2161a00afe4d97d206d2293e40b2f253. 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: marvell: prestera package is a component of the Linux Kernel, which is responsible for managing network functionality. It includes drivers and protocols for various network devices. The prestera module specifically handles Marvell Prestera Ethernet switches. These switches are commonly used in data centers and enterprise networks to provide high-performance and reliable network connectivity.
Vulnerability Detail
The identified vulnerability in the net: marvell: prestera package is a double free issue that occurs on the error path. A double free vulnerability refers to a situation where a program attempts to free a memory block that has already been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.15.6.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.6 or later. This can be done by obtaining the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated package that includes the fix.
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 mentioned for this vulnerability. However, users can mitigate the risk by ensuring that their systems are running an updated version of the Linux Kernel. Additionally, implementing proper network security measures, such as access controls and monitoring, can help reduce the potential impact of any exploitation attempts.
Conclusion
The double free issue in the net: marvell: prestera package of the Linux Kernel can pose a security risk, potentially allowing attackers to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Linux Kernel to version v5.15.6 or later to address this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The net: marvell: prestera package is a component of the Linux Kernel that handles Marvell Prestera Ethernet switches.
A double free vulnerability occurs when a program attempts to free a memory block that has already been freed, potentially leading to memory corruption and security issues.
The double free issue in net: marvell: prestera can potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.6 or later.
There are no specific workarounds mentioned for this vulnerability. However, keeping the Linux Kernel up to date and implementing proper network security measures can help mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.