
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49280 is a vulnerability discovered in the Linux kernel's NFSD (Network File System Daemon) component. The issue was identified in the nfssvc_decode_writeargs() function where there was no lower bound check on 'args->len', potentially leading to an underflow condition. The vulnerability was reported by Dan Carpenter and was resolved by changing the variable type from signed integer to unsigned to prevent underflow issues (Kernel Git).
The vulnerability exists in the fs/nfsd/nfsxdr.c file at line 341 within the nfssvc_decode_writeargs() function. The issue was detected by the Smatch static analysis tool, which identified that the 'args->len' parameter had no lower bound check. The fix involved changing the type of the len field in the nfsd_writeargs structure from 'int' to '__u32' to prevent potential underflow conditions. This modification was accompanied by updating the format string in debug messages from '%d' to '%u' to match the new unsigned type (Kernel Git).
The vulnerability could potentially lead to an underflow condition in the NFSD component of the Linux kernel. This could affect systems running the Network File System server functionality, though the exact impact of exploitation is not explicitly detailed in the available sources (NVD).
The vulnerability has been patched in the Linux kernel by changing the variable type from signed to unsigned. The fix was implemented through a commit by Dan Carpenter and signed off by Chuck Lever. The patch has been backported to multiple stable kernel versions to ensure widespread protection (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."