CVE-2021-47168NFS: fix an incorrect limit in filelayout_decode_layout()
- 9.8CriticalCVSS base score
- 0.77%Exploitation in 30 daysEPSS · top 44% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: NFS: fix an incorrect limit in filelayout_decode_layout() The "sizeof(struct nfs_fh)" is two bytes too large and could lead to memory corruption. It should be NFS_MAXFHSIZE because that's the size of the ->data[] buffer. I reversed the size of the arguments to put the variable on the left.
Timeline
ID reserved
By Linux
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.77% · top 44% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < 9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < f299522eda1566cbfbae4b15c82970fc41b03714
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < 945ebef997227ca8c20bad7f8a8358c8ee57a84a
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < e411df81cd862ef3d5b878120b2a2fef0ca9cdb1
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < 9b367fe770b1b80d7bf64ed0d177544a44405f6e
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < d34fb628f6ef522f996205a9e578216bbee09e84
- affected 16b374ca439fb406e46e071f75428f5b033056f8 – < 769b01ea68b6c49dc3cde6adf7e53927dacbd3a8
- affected 2.6.37
- unaffected < 2.6.37
- unaffected 4.4.271 – ≤ 4.4.*
- unaffected 4.9.271 – ≤ 4.9.*
- unaffected 4.14.235 – ≤ 4.14.*
- unaffected 4.19.193 – ≤ 4.19.*
- unaffected 5.4.124 – ≤ 5.4.*
- unaffected 5.10.42 – ≤ 5.10.*
- unaffected 5.12.9 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References8
- https://git.kernel.org/stable/c/9d280ab53df1d4a1043bd7a9e7c6a2f9cfbfe040 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b287521e9e94bb342ebe5fd8c3fd7db9aef4e6f1 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f299522eda1566cbfbae4b15c82970fc41b03714 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/945ebef997227ca8c20bad7f8a8358c8ee57a84a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/e411df81cd862ef3d5b878120b2a2fef0ca9cdb1 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/9b367fe770b1b80d7bf64ed0d177544a44405f6e (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/d34fb628f6ef522f996205a9e578216bbee09e84 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/769b01ea68b6c49dc3cde6adf7e53927dacbd3a8 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33816 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47168)Record last updated .