NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000107: NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds. Affects Kernel versions >= 9954bf92c0cddd50a2a470be302e1c1ffdf21d42, < 2f3380121d49e829fb73ba86240c181bc32ad897. 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 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 Kernel is a critical component of the Linux operating system that provides core functionality and acts as an interface between hardware and software. It manages system resources, facilitates communication between different components, and enables the execution of user programs. The Network File System (NFS) is a distributed file system protocol that allows remote file access over a network. It is commonly used in Linux environments to share files and directories between systems. The NFS implementation in the Kernel includes a fs_context module responsible for managing file system contexts. This vulnerability affects the UDP retrans functionality within the fs_context module.

Vulnerability Detail

The vulnerability in the NFS fs_context module allows for a shift out-of-bounds issue when validating UDP retrans. An attacker could exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges. The issue was introduced in version v5.6 of the Linux Kernel and was fixed in version v5.11.20. The vulnerability has not been proven to have a specific attack vector or impact, but it is important to address it to ensure the security and stability of systems running the affected Kernel versions.

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 this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is strongly advised to update to the fixed version to ensure the security of the system.

Conclusion

The NFS fs_context vulnerability in the Kernel poses a risk of denial-of-service or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.11.20 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

The impact of this vulnerability could range from a denial-of-service condition to potential arbitrary code execution with elevated privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

No, only versions starting from v5.6 up to v5.11.19 are affected. The vulnerability has been fixed in version v5.11.20.

The specific attack vector for this vulnerability has not been proven. However, it is always recommended to address security vulnerabilities promptly to mitigate potential risks.

At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to update to the fixed version to prevent any potential exploitation.

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