CVE-2021-47316nfsd: fix NULL dereference in nfs3svc_encode_getaclres
- 7.5HighCVSS base score
- 0.62%Exploitation in 30 daysEPSS · top 49% 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: nfsd: fix NULL dereference in nfs3svc_encode_getaclres In error cases the dentry may be NULL. Before 20798dfe249a, the encoder also checked dentry and d_really_is_positive(dentry), but that looks like overkill to me--zero status should be enough to guarantee a positive dentry. This isn't the first time we've seen an error-case NULL dereference hidden in the initialization of a local variable in an xdr encoder. But I went back through the other recent rewrites and didn't spot any similar bugs.
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 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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.62% · top 49% of all CVEs (19 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: High 7.5.
Affected products
- affected d505e66191072748620fc0af038cea4e4da0e3cd – < e79057d15d96ef19de4de6d7e479bae3d58a2a8d
- affected 20798dfe249a01ad1b12eec7dbc572db5003244a – < 650e6f383a6eb40f7c0a010982a74ab4b6893870
- affected 20798dfe249a01ad1b12eec7dbc572db5003244a – < ab1016d39cc052064e32f25ad18ef8767a0ee3b8
- affected 5.13
- unaffected < 5.13
- unaffected 5.13.4 – ≤ 5.13.*
- unaffected 5.14 – ≤ *
References
References5
- https://git.kernel.org/stable/c/e79057d15d96ef19de4de6d7e479bae3d58a2a8d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/650e6f383a6eb40f7c0a010982a74ab4b6893870 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ab1016d39cc052064e32f25ad18ef8767a0ee3b8 (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html (opens in a new tab)
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-34321 (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-47316)Record last updated .