Double Free Issue in net: marvell: prestera

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

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 ↓

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: 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 →

Share this vulnerability

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.

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 →

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.