NFSv4: Initialisation Vulnerability in Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

UVI-2021-1001197: NFSv4: Initialise connection to the server in nfs4_alloc_client(). Affects Kernel versions >= 5c6e5b60aae4347223f176966455010a5715b863, < b0bfac939030181177373f549398ba94c384713d. 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 Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and enables the execution of user programs. The Kernel is responsible for handling various tasks, including file system management.

NFSv4 (Network File System version 4) is a protocol used for remote file access and sharing in Linux systems. It allows clients to access files over a network as if they were local. The nfs4_alloc_client() function in the Kernel is responsible for initializing the connection to the NFSv4 server.

However, a vulnerability has been discovered in the nfs4_alloc_client() function, which could potentially be exploited by attackers to compromise the security and integrity of the system.

Vulnerability Detail

The vulnerability (UVI-2021-1001197) originates from a flaw in the nfs4_alloc_client() function within the Kernel. It was introduced in version v4.8 and affects all subsequent versions until v5.13.4. The vulnerability allows an attacker to execute arbitrary code or perform unauthorized actions on the system by exploiting the insecure initialization of the connection to the NFSv4 server.

The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to address it to prevent potential security breaches and unauthorized access to sensitive data.

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 consider disabling the NFSv4 protocol or blocking access to NFSv4 services from untrusted networks. This can be achieved by modifying the system's firewall rules or network configuration. However, it is important to note that disabling NFSv4 or blocking access may impact the functionality of certain applications or services that rely on NFSv4 for remote file access and sharing.

Conclusion

The NFSv4 initialisation vulnerability in the Kernel poses a potential risk to the security and integrity of Linux systems. It is crucial to update the Kernel to the fixed version (v5.13.4 or later) to mitigate this vulnerability. Additionally, considering workarounds such as disabling NFSv4 or blocking access from untrusted networks can provide temporary protection. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can vary depending on the attacker's intentions and the system's configuration. However, potential consequences include unauthorized access to sensitive data, execution of arbitrary code, and compromise of system integrity.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert provides real-time monitoring and alerts for open-source vulnerabilities, allowing you to assess the security of your software without requiring access to the code or installation.

As of now, there are no known exploits for this vulnerability. However, it is crucial to address it promptly by updating the Kernel to the fixed version to prevent potential exploitation.

As a temporary measure, you can consider disabling the NFSv4 protocol or blocking access to NFSv4 services from untrusted networks. However, it is recommended to update the Kernel to the fixed version as soon as possible to fully address the vulnerability.

You can refer to the vulnerability database maintained by the Cloud Security Alliance (CSA) for more details about this vulnerability. The specific vulnerability entry can be found at: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/UVI-2021-1001197.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