NFS: Potential NULL Dereference in nfs_get_client() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000848: NFS: Fix a potential NULL dereference in nfs_get_client(). Affects Kernel versions >= 31434f496abb9f3410b10f541462fe58613dd3ad, < a979e601000982a3ca693171a6d4dffc47f8ad00. 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 Kernel is a critical component of the Linux operating system that provides core functionality and acts as a bridge between hardware and software. It manages system resources, facilitates communication between different software components, and enables the execution of user programs. The NFS (Network File System) 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 vulnerability in question, identified as GSD-2021-1000848, affects the Kernel's NFS implementation. Specifically, it involves a potential NULL dereference in the nfs_get_client() function. This vulnerability could lead to a system crash or potentially be exploited by an attacker to execute arbitrary code or escalate privileges.

Vulnerability Detail

The vulnerability arises from a potential NULL dereference in the nfs_get_client() function within the Kernel's NFS implementation. A NULL dereference occurs when a program attempts to access or manipulate a memory location that has a NULL (invalid) pointer value. In this case, if the nfs_get_client() function encounters a NULL pointer, it may lead to a system crash or enable an attacker to exploit the vulnerability.

The impact and attack plausibility of this vulnerability have not been proven, but it is essential to address it to ensure the stability and security of the system.

The vulnerability was introduced in version v3.17 of the Linux Kernel by commit 31434f496abb9f3410b10f541462fe58613dd3ad. It has been fixed in version v4.9.273 by commit a979e601000982a3ca693171a6d4dffc47f8ad00.

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, if updating the Kernel is not immediately feasible, it is recommended to disable NFS functionality or restrict access to NFS services. This can be achieved by modifying the system configuration files to prevent the loading of NFS modules or by configuring firewall rules to block NFS-related network traffic.

Please note that applying workarounds may impact the availability or functionality of NFS services, and updating the Kernel remains the recommended long-term solution.

Conclusion

The vulnerability in the Kernel's NFS implementation, identified as GSD-2021-1000848, poses a potential risk of NULL dereference in the nfs_get_client() function. It is crucial to address this vulnerability by updating the Kernel to version v4.9.273 or later. Applying the recommended fix ensures system stability and security. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionality and acts as a bridge between hardware and software.

NFS (Network File System) is a distributed file system protocol that allows remote file access over a network.

A NULL dereference occurs when a program attempts to access or manipulate a memory location that has a NULL (invalid) pointer value.

The potential consequences of this vulnerability include system crashes, arbitrary code execution, or privilege escalation.

To fix this vulnerability, update the Linux Kernel to version v4.9.273 or later.

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