RDMA/ucma: Protect mc during concurrent multicast leaves in Kernel
Summary
GSD-2022-1000225: RDMA/ucma: Protect mc during concurrent multicast leaves. Affects Kernel versions >= 95fe51096b7adf1d1e7315c49c75e2f75f162584, < 75c610212b9f1756b9384911d3a2c347eee8031c. 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 fundamental component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. It is a critical part of the system and any vulnerabilities in the Kernel can have severe consequences. RDMA/ucma is a subsystem within the Kernel that provides support for Remote Direct Memory Access (RDMA) and User-mode Communication APIs (ucma). RDMA allows for high-speed data transfer between remote systems without involving the CPU, while ucma provides a user-space interface for managing RDMA connections. This vulnerability in RDMA/ucma can potentially be exploited to cause a denial-of-service condition or execute arbitrary code.
Vulnerability Detail
The vulnerability in RDMA/ucma arises from a lack of proper protection for multicast (mc) during concurrent multicast leaves. This can lead to a race condition where multiple threads attempt to leave a multicast group simultaneously, resulting in memory corruption or other undefined behavior. An attacker who can trigger this race condition may be able to crash the system or execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.10.99.
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 necessary to update the Kernel to the fixed version.
Conclusion
The vulnerability in RDMA/ucma in the Linux Kernel can have serious consequences, including denial-of-service and arbitrary code execution. It is crucial to update the Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially be exploited to cause a denial-of-service condition or execute arbitrary code with elevated privileges.
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 it will analyze the dependencies for any known vulnerabilities.
Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network.
There are no known instances of this vulnerability being exploited in the wild at the time of this report.
For more details on this vulnerability, you can refer to the source information provided by the Cloud Security Alliance's GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000225.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.