{"id":"CVE-2021-47316","published":"2024-05-21T14:35:32Z","modified":"2026-10-14T12:12:28Z","title":"nfsd: fix NULL dereference in nfs3svc_encode_getaclres","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix NULL dereference in nfs3svc_encode_getaclres\n\nIn error cases the dentry may be NULL.\n\nBefore 20798dfe249a, the encoder also checked dentry and\nd_really_is_positive(dentry), but that looks like overkill to me--zero\nstatus should be enough to guarantee a positive dentry.\n\nThis isn't the first time we've seen an error-case NULL dereference\nhidden in the initialization of a local variable in an xdr encoder.  But\nI went back through the other recent rewrites and didn't spot any\nsimilar bugs.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00833,"percentile":0.54829,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e79057d15d96ef19de4de6d7e479bae3d58a2a8d","tags":[]},{"url":"https://git.kernel.org/stable/c/650e6f383a6eb40f7c0a010982a74ab4b6893870","tags":[]},{"url":"https://git.kernel.org/stable/c/ab1016d39cc052064e32f25ad18ef8767a0ee3b8","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.97},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d505e66191072748620fc0af038cea4e4da0e3cd, < e79057d15d96ef19de4de6d7e479bae3d58a2a8d",">= 20798dfe249a01ad1b12eec7dbc572db5003244a, < 650e6f383a6eb40f7c0a010982a74ab4b6893870",">= 20798dfe249a01ad1b12eec7dbc572db5003244a, < ab1016d39cc052064e32f25ad18ef8767a0ee3b8"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T18:45:04.809482Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34321","exploited":false,"provenance":"source"}}