Use After Free Vulnerability in RDMA/siw
Summary
GSD-2021-1000227: RDMA/siw: Fix a use after free in siw_alloc_mr. Affects Kernel versions >= 2251334dcac9eb337575d8767e2a6a7e81848f7f, < ad9ce7188432650469a6c7625bf479f5ed0b6155. 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/siw package is a component of the Linux Kernel that provides support for the Softiwarp RDMA driver. RDMA (Remote Direct Memory Access) is a technology that allows for high-speed data transfer between remote systems. The siw_alloc_mr function in RDMA/siw is responsible for allocating memory resources for RDMA operations. However, a use after free vulnerability has been discovered in this function, which could potentially lead to memory corruption and system instability.
Vulnerability Detail
The use after free vulnerability in siw_alloc_mr occurs when the function attempts to access memory that has already been freed. This can occur if a memory region is freed while it is still being used by the RDMA operations. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial of service by manipulating the freed memory. The vulnerability was introduced in version v5.3 of the Linux Kernel and has been fixed in version v5.12.4.
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 Linux Kernel to the fixed version.
Conclusion
The use after free vulnerability in RDMA/siw can lead to memory corruption and system instability. It is crucial to update the Linux Kernel to version v5.12.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
RDMA/siw is a component of the Linux Kernel that provides support for the Softiwarp RDMA driver. It enables high-speed data transfer between remote systems.
A use after free vulnerability occurs when a program attempts to access memory that has already been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.
An attacker could exploit this vulnerability by manipulating the freed memory to execute arbitrary code or cause a denial of service.
This vulnerability was introduced in version v5.3 of the Linux Kernel.
Yes, this vulnerability has been fixed in version v5.12.4 of the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.