net/mlx5e: Fix handling of wrong devices during bond netevent

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000271: net/mlx5e: Fix handling of wrong devices during bond netevent. Affects Kernel versions >= 7e51891a237f9ea319f53f9beb83afb0077d88e6, < fe70126da6063c29ca161cdec7ad1dae9af836b3. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The net/mlx5e package is a component of the Linux Kernel, which is responsible for handling network devices that use the Mellanox ConnectX-4 or ConnectX-5 Ethernet adapters. These adapters provide high-speed 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 affects all subsequent versions until v5.15.20, where it was fixed by commit fe70126da6063c29ca161cdec7ad1dae9af836b3. When a bond netevent occurs, the affected code does not correctly handle cases where the event is triggered by the wrong network device. This can lead to unexpected behavior and potential security vulnerabilities. The impact and attack plausibility of this vulnerability have not been proven yet.

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.20 or later. This can be done by obtaining the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions. Alternatively, users can wait for their Linux distribution to release an updated package containing the fixed version of the Kernel.

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

In 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 fixed in version v5.15.20. To mitigate the risk, it is recommended to update the Linux Kernel to the fixed version or wait for an updated package from your Linux distribution. 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 provides drivers and functionality for 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, as the actual attack plausibility and consequences have not been proven.

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 and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

You can find more information about this vulnerability in the GSD-2022-1000271 entry of the GSD Database maintained by the Cloud Security Alliance. The source for this vulnerability information can be found on GitHub (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000271.json).

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.20 or later. This can be done by obtaining the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions. Alternatively, users can wait for their Linux distribution to release an updated package containing the fixed version of the Kernel.

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.