CVE-2021-47316

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
21/05/2024
Last modified:
24/12/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nfsd: fix NULL dereference in nfs3svc_encode_getaclres<br /> <br /> In error cases the dentry may be NULL.<br /> <br /> Before 20798dfe249a, the encoder also checked dentry and<br /> d_really_is_positive(dentry), but that looks like overkill to me--zero<br /> status should be enough to guarantee a positive dentry.<br /> <br /> This isn&amp;#39;t the first time we&amp;#39;ve seen an error-case NULL dereference<br /> hidden in the initialization of a local variable in an xdr encoder. But<br /> I went back through the other recent rewrites and didn&amp;#39;t spot any<br /> similar bugs.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.13 (including) 5.13.4 (excluding)