Critical Vulnerability in Linux Kernel: SUNRPC RDMA Segment Overflow

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49356: In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Trap RDMA segment overflows Prevent svc_rdma_build_writes() from walking off the end of a Write chunk's segment array. Affects linux versions < 5.18.5-1. Fixed in 5.18.5-1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for all other parts of the system. It manages hardware resources and enables communication between software and hardware. The kernel is crucial for system stability and performance, and vulnerabilities within it can lead to severe security risks. This specific vulnerability affects the SUNRPC subsystem, which is responsible for remote procedure calls in networked environments, particularly those using RDMA (Remote Direct Memory Access).

Vulnerability Detail

The vulnerability identified as CVE-2022-49356 is a critical issue within the Linux kernel's SUNRPC subsystem. It arises from improper handling of Write chunk's segment arrays in the svc_rdma_build_writes() function, which can lead to a trap due to RDMA segment overflows. This flaw was detected using KASAN (Kernel Address Sanitizer) and poses a risk of memory corruption, potentially allowing an attacker to exploit the overflow to execute arbitrary code or crash the system. The test that was replaced by the fix was deemed invalid and may have originated from earlier prototypes of the PCL work.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, no specific workarounds have been provided for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux kernel.

Conclusion

CVE-2022-49356 is a significant vulnerability in the Linux kernel that requires immediate attention. Users are advised to update their systems to the patched version to protect against potential exploits. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49356 is a vulnerability in the Linux kernel's SUNRPC subsystem that can lead to RDMA segment overflows, potentially allowing for memory corruption and system crashes.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check if your application is affected by this vulnerability.

The risks include potential memory corruption, system crashes, and the possibility of arbitrary code execution by attackers, which can compromise system integrity and security.

Yes, a patch is available. Users should update their Linux kernel package to version 5.18.5-1 or later to mitigate the vulnerability.

You can update your Linux kernel by running the command 'sudo apt-get update && sudo apt-get install linux' in your terminal.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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