net/mlx5e: Fix handling of wrong devices during bond netevent
Summary
GSD-2022-1000207: net/mlx5e: Fix handling of wrong devices during bond netevent. Affects Kernel versions >= 7e51891a237f9ea319f53f9beb83afb0077d88e6, < a01ee1b8165f4161459b5ec4e728bc7130fe8cd4. 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 network devices that use the Mellanox ConnectX-4 or ConnectX-5 Ethernet adapters. These adapters provide high-performance networking capabilities for data centers and cloud environments. The package includes drivers and related functionality to enable the proper functioning of these devices within the Linux operating system.
Vulnerability Detail
The vulnerability in net/mlx5e involves the mishandling of wrong devices during bond netevent. This issue was introduced in version v5.8 of the Linux Kernel by commit 7e51891a237f9ea319f53f9beb83afb0077d88e6 and has been fixed in version v5.10.97 by commit a01ee1b8165f4161459b5ec4e728bc7130fe8cd4. When a bond netevent occurs, the code does not correctly handle cases where the event is triggered by the wrong device. This can lead to unexpected behavior and potential security vulnerabilities. The impact and attack plausibility of this vulnerability have not yet been proven.
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 mentioned for this vulnerability.
Conclusion
The net/mlx5e package in the Linux Kernel is vulnerable to mishandling of wrong devices during bond netevent. This vulnerability was introduced in version v5.8 and has been fixed in version v5.10.97. To mitigate the risk, it is recommended to update the Linux Kernel to the latest version. 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 provides drivers and functionality for managing Mellanox ConnectX-4 and ConnectX-5 Ethernet adapters.
A bond netevent is an event that occurs when there is a change in the status or configuration of a network bond, which is a method of aggregating multiple network interfaces into a single logical interface.
The impact of this vulnerability is currently unknown. It could potentially lead to security vulnerabilities and unexpected behavior in systems using the affected version of net/mlx5e.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you in real-time if any open-source vulnerabilities, including this one, are found.
You can find more information about this vulnerability in the GSD-2022-1000207 entry of the GSD Database maintained by the Cloud Security Alliance. The entry includes the vulnerability details, affected package information, and references to the relevant commits in the Linux Kernel repository.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.