PT-2024-11315 · Linux+1 · Linux Kernel+1
Jianhong Yin
·
Published
2021-07-06
·
Updated
2024-12-24
·
CVE-2021-47316
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 20798dfe249a
Description
A NULL dereference vulnerability has been resolved in the Linux kernel. The issue occurs in the nfsd component, specifically in the nfs3svc encode getaclres function, where the dentry may be NULL in error cases. The encoder previously checked the dentry and d really is positive(dentry), but this was considered overkill, as a zero status should be enough to guarantee a positive dentry. This is not the first instance of an error-case NULL dereference hidden in the initialization of a local variable in an xdr encoder.
Recommendations
As a temporary workaround, consider disabling the
nfs3svc encode getaclres function until a patch is available.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel