net/mlx5e: Fix null deref accessing lag dev
Summary
GSD-2021-1000554: net/mlx5e: Fix null deref accessing lag dev. Affects Kernel versions >= 7e51891a237f9ea319f53f9beb83afb0077d88e6, < bdfd3593a8248eea6ecfcbf7b47b56b86515672d. 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, 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 →
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.