Memory corruption via oversized NFS file handle
Published Mar 25, 2024 · Updated Aug 5, 2026
Out-of-bounds write in the Linux kernel NFS file-layout decoder since 2.6.37 allows remote attackers to corrupt memory via a layout response. filelayout_decode_layout() gives nfs_fh_from_wire() sizeof(struct nfs_fh) as the limit for a smaller NFS_MAXFHSIZE data buffer, permitting a two-byte overwrite. Reachability requires a Linux NFS client to process pNFS files-layout metadata; the published record establishes memory corruption but not code execution.
Summary
What happened
Out-of-bounds write in the Linux kernel NFS file-layout decoder since 2.6.37 allows remote attackers to corrupt memory via a layout response. filelayout_decode_layout() gives nfs_fh_from_wire() sizeof(struct nfs_fh) as the limit for a smaller NFS_MAXFHSIZE data buffer, permitting a two-byte overwrite. Reachability requires a Linux NFS client to process pNFS files-layout metadata; the published record establishes memory corruption but not code execution.
The record
- CVE
- CVE-2021-47168
- Published
- Mar 25, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 25, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <769b01ea68b6c49dc3cde6adf7e53927dacbd3a8
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <945ebef997227ca8c20bad7f8a8358c8ee57a84a
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <9b367fe770b1b80d7bf64ed0d177544a44405f6e
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <d34fb628f6ef522f996205a9e578216bbee09e84
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <e411df81cd862ef3d5b878120b2a2fef0ca9cdb1
- Affected versionversion=16b374ca439fb406e46e071f75428f5b033056f8 <f299522eda1566cbfbae4b15c82970fc41b03714
- Affected versionversion=2.6.37
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo