Vulnerability in xprtrdma Package: Treat All Calls as Not a bcall When bc_serv is NULL

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002566: xprtrdma: treat all calls not a bcall when bc_serv is NULL. Affects Kernel versions < 91784f3d77b73885e1b2e6b59d3cbf0de0a1126a. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The xprtrdma package is a component of the Linux Kernel ecosystem. It provides support for the Remote Direct Memory Access (RDMA) protocol in the kernel's RPC (Remote Procedure Call) layer. RDMA allows for efficient data transfer between remote systems without involving the CPU. The xprtrdma package enables RDMA functionality for RPC calls in the kernel.

This vulnerability affects the xprtrdma package when the bc_serv (backchannel service) is NULL. The bc_serv is responsible for handling backchannel RPC calls, which are used for server-initiated communication. When bc_serv is NULL, all calls are incorrectly treated as not a backchannel call, potentially leading to security issues.

Vulnerability Detail

The vulnerability arises from the incorrect handling of RPC calls in the xprtrdma package when the bc_serv is NULL. This causes all calls to be treated as not a backchannel call, regardless of their actual nature. As a result, certain security measures and checks specific to backchannel calls may be bypassed, potentially leading to unauthorized access or other security breaches.

The impact and attack plausibility of this vulnerability have not been proven yet, but it is important to address it to ensure the integrity and security of systems utilizing the xprtrdma package.

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 apply the patch manually by identifying the affected code and modifying it accordingly. However, it is strongly advised to update to the latest version of the Linux Kernel to ensure comprehensive vulnerability mitigation.

Here is an example of the code modification that addresses the vulnerability:

// Original code
if (bc_serv == NULL) {
    // Treat all calls as not a bcall
}

// Modified code
if (bc_serv == NULL || !call->cl_bc_xprt) {
    // Treat all calls as not a bcall
}

Conclusion

The xprtrdma package in the Linux Kernel is vulnerable to a security issue where all calls are incorrectly treated as not a backchannel call when the bc_serv is NULL. This vulnerability could potentially lead to unauthorized access or other security breaches. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.18.4 or later. Alternatively, users can apply the provided workaround, but updating to the latest version is strongly advised. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The xprtrdma package is a component of the Linux Kernel ecosystem that enables support for the Remote Direct Memory Access (RDMA) protocol in the kernel's RPC layer.

The impact of this vulnerability is not yet proven, but it could potentially lead to unauthorized access or other security breaches if certain security measures and checks specific to backchannel calls are bypassed.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.4 or later, which includes the necessary patch to address the issue.

Yes, a workaround is available. Users can manually apply the patch by modifying the affected code. However, it is strongly advised to update to the latest version of the Linux Kernel for comprehensive vulnerability mitigation.

For more information about this vulnerability, you can refer to the vulnerability details in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002566.json

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