net/mlx5: Delete FTE when no rules are attached
Summary
GSD-2022-1003768: net/mlx5: fs, delete the FTE when there are no rules attached to it. Affects Kernel versions < 430af81135d5ae53d04f1a20a9c79fd6c8ecfb4c. 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/mlx5 package is a component of the Linux Kernel that provides support for Mellanox network adapters. It includes drivers and utilities for managing and configuring these adapters. The package is responsible for handling network traffic and implementing various networking features.
Vulnerability Detail
The vulnerability in net/mlx5 involves the failure to delete a Forwarding Table Entry (FTE) when there are no rules attached to it. This can lead to a resource leak, where unused FTEs are not properly freed, potentially causing memory exhaustion and impacting system performance. An attacker could potentially exploit this vulnerability to exhaust system resources and cause a denial-of-service (DoS) condition.
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.4.198 or later. This fix is implemented in commit 430af81135d5ae53d04f1a20a9c79fd6c8ecfb4c. Updating the Kernel ensures that the FTEs are properly deleted when no rules are attached, preventing resource leaks and potential DoS attacks.
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/mlx5 package in the Linux Kernel is vulnerable to a resource leak when FTEs are not properly deleted. This can lead to memory exhaustion and impact system performance. It is recommended to update the Kernel to the latest version to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
net/mlx5 is a package in the Linux Kernel that provides support for Mellanox network adapters.
An FTE (Forwarding Table Entry) is a data structure used in net/mlx5 to store forwarding rules for network traffic.
The vulnerability can lead to a resource leak, potentially causing memory exhaustion and impacting system performance.
The vulnerability can potentially be exploited remotely to exhaust system resources and cause a denial-of-service (DoS) condition.
To fix this vulnerability, update the Linux Kernel to version v5.4.198 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.