net/mlx5e: Fix page reclaim for dead peer hairpin in Kernel
Summary
GSD-2021-1000918: net/mlx5e: Fix page reclaim for dead peer hairpin. Affects Kernel versions >= 4d8fcf216c90bc25e34ae2200aa8985ee3158898, < 4b16118665e94c90a3e84a5190486fd0e4eedd74. 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 Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, including memory, processes, and input/output operations. The net/mlx5e module is responsible for handling network traffic for Mellanox ConnectX-4 and ConnectX-5 Ethernet adapters. It enables high-performance networking capabilities for these devices. However, a vulnerability has been discovered in the net/mlx5e module that affects the page reclaim process for dead peer hairpin connections.
Vulnerability Detail
The vulnerability in the net/mlx5e module allows an attacker to exploit dead peer hairpin connections, potentially leading to memory corruption or denial of service. When a peer hairpin connection becomes inactive or dead, the page reclaim process fails to properly release associated resources, resulting in memory leaks and potential system instability. This vulnerability could be exploited by an attacker with network access to the affected system, allowing them to exhaust system resources or execute arbitrary code.
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 known workaround for this vulnerability. It is essential to apply the provided fix by updating the Linux Kernel to the recommended version.
Conclusion
The net/mlx5e module in the Linux Kernel is vulnerable to a page reclaim issue for dead peer hairpin connections. This vulnerability could result in memory corruption or denial of service. It is recommended to update the Linux Kernel to version v5.4.128 or later to address this issue. No known workaround exists, and it is essential to apply the provided fix to ensure system security. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could potentially lead to memory corruption or denial of service. An attacker could exploit dead peer hairpin connections to exhaust system resources or execute arbitrary code.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
No, this vulnerability was introduced in version v4.19 of the Linux Kernel. Versions prior to v4.19 are not affected.
Yes, an attacker with network access to the affected system can exploit this vulnerability remotely.
There is no evidence of active exploits at the time of this report. However, it is crucial to apply the recommended fix to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.