Memory Leak in RDMA/mlx5 Subscribe Event Routine
Summary
GSD-2022-1002080: RDMA/mlx5: Fix memory leak in error flow for subscribe event routine. Affects Kernel versions >= 7597385371425febdaa8c6a1da3625d4ffff16f5, < c98d903ff9e79c210beddea4e6bc15ac38e25aa5. 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 RDMA/mlx5 package is a component of the Linux Kernel that provides support for Remote Direct Memory Access (RDMA) over Mellanox ConnectX-4 and ConnectX-5 Ethernet adapters. RDMA allows for high-speed, low-latency communication between remote systems. The mlx5 driver is responsible for managing the RDMA functionality on Mellanox adapters. This vulnerability affects versions of the Linux Kernel starting from v5.3 to v5.10.110.
Vulnerability Detail
The vulnerability identified as GSD-2022-1002080 in the Open Source Vulnerability format is a memory leak issue in the error flow for the subscribe event routine of RDMA/mlx5. When an error occurs during the event subscription process, memory allocated for the event subscription is not properly freed, resulting in a memory leak. This vulnerability can potentially lead to resource exhaustion and system instability if the error flow is triggered repeatedly. The impact and attack plausibility of this vulnerability have not been proven yet.
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. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
The memory leak vulnerability in the error flow for the subscribe event routine of RDMA/mlx5 has been addressed in the Linux Kernel version v5.10.110. It is important to update the Linux Kernel to the fixed version to mitigate the risk of resource exhaustion and system instability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
RDMA/mlx5 is a component of the Linux Kernel that provides support for Remote Direct Memory Access (RDMA) over Mellanox ConnectX-4 and ConnectX-5 Ethernet adapters.
The impact of this vulnerability is not yet proven. However, if triggered repeatedly, it can lead to resource exhaustion and system instability due to memory leaks.
To fix this vulnerability, update the Linux Kernel to version v5.10.110 or any subsequent version that includes commit c98d903ff9e79c210beddea4e6bc15ac38e25aa5.
No specific workaround is mentioned for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended approach.
For more details about this vulnerability, refer to the source link provided in the database_specific section of the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.