Use After Free Vulnerability in RDMA/siw

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback