NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes in Kernel
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.