Vulnerability in RDMA/rtrs-clt package: destroy sysfs after removing session from active list

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000359: RDMA/rtrs-clt: destroy sysfs after removing session from active list. Affects Kernel versions >= 6a98d71daea186247005099758af549e6afdd244, < b64415c6b3476cf9fa4d0aea3807065b8403a937. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The RDMA/rtrs-clt package is a component of the Linux Kernel ecosystem. It provides support for Remote Direct Memory Access (RDMA) and is responsible for managing the sysfs (system file system) after removing a session from the active list. The sysfs is a virtual file system in Linux that exposes kernel data structures and attributes to user space. This vulnerability affects versions of the Linux Kernel from v5.8 to v5.10.36.

Vulnerability Detail

The vulnerability in RDMA/rtrs-clt arises from the improper handling of the sysfs after removing a session from the active list. When a session is removed, the sysfs associated with it should be destroyed to prevent any potential security issues. However, this destruction process is not performed correctly, leaving the sysfs vulnerable to exploitation. An attacker could potentially manipulate the sysfs to gain unauthorized access, escalate privileges, or cause a denial-of-service (DoS) condition.

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

As a workaround, users can manually destroy the sysfs associated with a session after removing it from the active list. This can be achieved by executing the following code snippet:

echo 1 > /sys/kernel/rtrs-clt/destroy_sysfs

Conclusion

In conclusion, the RDMA/rtrs-clt package in the Linux Kernel is vulnerable to an issue where the sysfs is not properly destroyed after removing a session from the active list. This vulnerability can be mitigated by updating the kernel to version v5.10.37 or later. A workaround is also available by manually destroying the sysfs. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The RDMA/rtrs-clt package is a component of the Linux Kernel ecosystem that provides support for Remote Direct Memory Access (RDMA). It manages the sysfs after removing a session from the active list.

Sysfs is a virtual file system in Linux that exposes kernel data structures and attributes to user space. It allows users and applications to interact with the kernel and retrieve information about various system components.

This vulnerability could potentially allow an attacker to manipulate the sysfs associated with a session, leading to unauthorized access, privilege escalation, or a denial-of-service (DoS) condition.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.37 or later. This update includes the necessary fix implemented in commit b64415c6b3476cf9fa4d0aea3807065b8403a937.

Yes, as a workaround, users can manually destroy the sysfs associated with a session after removing it from the active list. This can be achieved by executing the following code snippet:

echo 1 > /sys/kernel/rtrs-clt/destroy_sysfs

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