net/mlx5e: Fix null deref accessing lag dev

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000554: net/mlx5e: Fix null deref accessing lag dev. Affects Kernel versions >= 7e51891a237f9ea319f53f9beb83afb0077d88e6, < bdfd3593a8248eea6ecfcbf7b47b56b86515672d. 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, which is responsible for managing the Mellanox Ethernet network adapter. It provides the necessary drivers and functionality for the adapter to communicate with the operating system. The package plays a crucial role in enabling network connectivity and performance for systems utilizing Mellanox Ethernet adapters.

Vulnerability Detail

The vulnerability in net/mlx5e involves a null dereference issue when accessing the lag dev (Link Aggregation Group device). This vulnerability was introduced in version v5.8 of the Linux Kernel by commit 7e51891a237f9ea319f53f9beb83afb0077d88e6 and was fixed in version v5.12.9 by commit bdfd3593a8248eea6ecfcbf7b47b56b86515672d. A null dereference occurs when a program attempts to access or dereference a null pointer, leading to a crash or potential code execution. In this case, the vulnerability could be triggered when interacting with the lag dev, potentially resulting in a system crash or other unexpected behavior.

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

No specific workaround has been provided for this vulnerability.

Conclusion

In conclusion, the net/mlx5e package in the Linux Kernel is vulnerable to a null dereference issue when accessing the lag dev. This vulnerability can potentially lead to system crashes or other unexpected behavior. It is recommended to update the Linux Kernel to version v5.12.9 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

net/mlx5e is a package in the Linux Kernel that manages the Mellanox Ethernet network adapter.

A null dereference occurs when a program attempts to access or dereference a null pointer.

A lag dev refers to a Link Aggregation Group device, which combines multiple network connections into a single logical interface.

The vulnerability could lead to a system crash or other unexpected behavior when interacting with the lag dev.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected without requiring access to the code or installation.

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