Use-after-free vulnerability in net/mlx5e package

Kernel Updated 02 Oct 2025

Summary

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

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 ↓

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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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