Race Condition Vulnerability in nfsd Package

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002461: nfsd: Fix nsfd startup race (again). Affects Kernel versions >= 8677e99150b0830d29cc1318b4cc559e176940bb, < f5734b1714ca355703e9ea8fb61d04beff1790b9. 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 nfsd package is a component of the Linux Kernel that provides support for the Network File System (NFS) protocol. NFS allows remote file systems to be mounted and accessed over a network. The nfsd daemon is responsible for handling NFS requests and managing file sharing between clients and servers. It plays a critical role in enabling network file sharing in Linux systems.

Vulnerability Detail

The race condition vulnerability in the nfsd package can lead to a startup race during the initialization of the nfsd daemon. This vulnerability was introduced in version v5.4.102 of the Linux Kernel and was fixed in version v5.4.165. The race condition can occur when multiple threads or processes attempt to start the nfsd daemon simultaneously, leading to unpredictable behavior and potential security risks. Attackers may exploit this vulnerability to gain unauthorized access to sensitive data or disrupt the normal functioning of the NFS service.

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 temporary workaround, users can mitigate the risk of the race condition vulnerability by ensuring that only a single instance of the nfsd daemon is started during system initialization. This can be achieved by modifying the system startup scripts or configuration files to explicitly start only one instance of the nfsd daemon. However, this workaround may impact the performance and scalability of the NFS service, and it is strongly recommended to apply the official fix as soon as possible.

Conclusion

The race condition vulnerability in the nfsd package can pose significant security risks to Linux systems utilizing the NFS protocol. It is crucial to update the Linux Kernel to version v5.4.165 or later to address this vulnerability. Users can obtain the updated kernel from the official Linux Kernel repository or through their Linux distribution's package management system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nfsd package is a component of the Linux Kernel that provides support for the Network File System (NFS) protocol. It enables remote file systems to be mounted and accessed over a network.

A race condition vulnerability occurs when multiple threads or processes access shared resources in an unpredictable order, leading to unexpected behavior and potential security risks.

Attackers may exploit the race condition vulnerability in the nfsd package to gain unauthorized access to sensitive data or disrupt the normal functioning of the NFS service.

The vulnerability was introduced in version v5.4.102 of the Linux Kernel. Users of affected versions should update to version v5.4.165 or later to mitigate the risk.

Yes, users can temporarily mitigate the risk by ensuring that only a single instance of the nfsd daemon is started during system initialization. However, it is recommended to apply the official fix as soon as possible.

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