NFS: Use-after-free vulnerability in nfs4_init_client()

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

UVI-2021-1000865: NFS: Fix use-after-free in nfs4_init_client(). Affects Kernel versions >= 8dcbec6d20eb881ba368d0aebc3a8a678aebb1da, < c7eab9e2d7b4e983ce280276fb920af649955897. 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 package is a critical component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware, software, and processes. The NFS (Network File System) is a distributed file system protocol that allows remote file access over a network. The nfs4_init_client() function is responsible for initializing an NFSv4 client structure. This vulnerability affects the Linux Kernel and specifically impacts the nfs4_init_client() function.

Vulnerability Detail

The vulnerability identified as UVI-2021-1000865 is a use-after-free vulnerability in the nfs4_init_client() function of the Linux Kernel. This vulnerability occurs when the function attempts to access memory that has already been freed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v4.13 of the Linux Kernel and has been fixed in version v4.14.237.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The use-after-free vulnerability in the nfs4_init_client() function of the Linux Kernel can potentially lead to arbitrary code execution or denial-of-service. It is crucial to update the Kernel to version v4.14.237 or later to mitigate this vulnerability. For further support or assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition on a system running the affected version of the Linux Kernel.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the playground will provide real-time alerts for open-source vulnerabilities, including this one.

Yes, a patch has been released to fix this vulnerability. It is recommended to update the Linux Kernel to version v4.14.237 or later.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network.

There are no known instances of this vulnerability being exploited in the wild at the time of this report.

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