NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes in Kernel

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000486: NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes. Affects Kernel versions < aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that provides core functionality 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 Network File System (NFS) is a protocol that allows remote file access over a network. The NFS server daemon (NFSD) is responsible for handling NFS requests on the server side. This vulnerability specifically affects the handling of large file sizes in NFSv3 SETATTR/CREATE operations.

Vulnerability Detail

The vulnerability in NFSD's handling of large file sizes in NFSv3 SETATTR/CREATE operations can lead to potential security risks. Attackers may exploit this vulnerability to manipulate or corrupt files, cause denial of service, or execute arbitrary code. The issue arises due to improper handling of file size values, potentially resulting in integer overflow or memory corruption. This vulnerability has been assigned the ID GSD-2022-1000486 and is fixed in Linux Kernel version v5.16.10 by commit aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0.

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

If updating the Kernel is not immediately feasible, a possible workaround is to disable NFSv3 SETATTR/CREATE operations or limit their usage. This can be achieved by modifying the NFS server configuration to restrict the affected operations. However, it is important to note that this workaround may impact the functionality and performance of NFS services.

Conclusion

The vulnerability in NFSD's handling of large file sizes in NFSv3 SETATTR/CREATE operations poses potential security risks. It is crucial to update the Linux Kernel to version v5.16.10 or later to mitigate this vulnerability. Regularly updating the Kernel is essential to ensure the system is protected against known vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially be exploited by attackers to manipulate or corrupt files, cause denial of service, or execute arbitrary code.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.

Yes, the vulnerability is fixed in Linux Kernel version v5.16.10 by commit aa9051ddb4b378bd22e72a67bc77b9fc1482c5f0. It is recommended to update the Kernel to this version or later.

NFSD stands for Network File System Daemon. It is responsible for handling NFS requests on the server side.

A possible workaround is to disable or limit the usage of NFSv3 SETATTR/CREATE operations. However, this may impact the functionality and performance of NFS services.

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