NFSD: Underflow Vulnerability in nfssvc_decode_writeargs()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001624: NFSD: prevent underflow in nfssvc_decode_writeargs(). Affects Kernel versions < 2764af8ce0bf03cc43ee4a11897cab96bde6caae. 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 (Network File System Daemon) is a component of the Linux Kernel that provides support for the NFS (Network File System) protocol. It allows remote clients to access files and directories on a server over a network. The nfssvc_decode_writeargs() function is responsible for decoding write arguments in NFS requests. However, a vulnerability has been discovered in this function that could lead to an underflow condition.

Vulnerability Detail

The vulnerability in nfssvc_decode_writeargs() arises due to a lack of proper bounds checking. An attacker could exploit this flaw by sending a specially crafted NFS request, causing an underflow and potentially leading to memory corruption or arbitrary code execution. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.16.19 by commit 2764af8ce0bf03cc43ee4a11897cab96bde6caae.

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. However, it is strongly advised to update the kernel as soon as possible to mitigate the risk of exploitation.

Conclusion

The NFSD vulnerability in nfssvc_decode_writeargs() can be mitigated by updating the Linux Kernel to version v5.16.19 or later. It is crucial to promptly apply the necessary patches to prevent potential memory corruption or arbitrary code execution. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

NFSD (Network File System Daemon) is a component of the Linux Kernel that provides support for the NFS (Network File System) protocol. It allows remote clients to access files and directories on a server over a network.

nfssvc_decode_writeargs() is a function in the NFSD that is responsible for decoding write arguments in NFS requests.

The impact of this vulnerability is not yet proven. However, if successfully exploited, it could lead to memory corruption or arbitrary code execution.

To fix this vulnerability, update the Linux Kernel to version v5.16.19 or later by fetching the latest kernel source code from the official Linux Kernel repository and applying the necessary patches.

There is no specific workaround available for this vulnerability. It is recommended to update the kernel to the latest version.

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