You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Fix READDIR buffer overflow
If a client sends a READDIR count argument that is too small (say,
zero), then the buffer size calculation in the new init_dirlist
helper functions results in an underflow, allowing the XDR stream
functions to write beyond the actual buffer.
This calculation has always been suspect. NFSD has never sanity-
checked the READDIR count argument, but the old entry encoders
managed the problem correctly.
With the commits below, entry encoding changed, exposing the
underflow to the pointer arithmetic in xdr_reserve_space().
Modern NFS clients attempt to retrieve as much data as possible
for each READDIR request. Also, we have no unit tests that
exercise the behavior of READDIR at the lower bound of @count
values. Thus this case was missed during testing.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.13 up to (excluding) 5.15.12
*cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:5.16:rc5:*:*:*:*:*:*
*cpe:2.3:o:linux:linux_kernel:5.16:rc6:*:*:*:*:*:*
Changed
Reference Type
https://git.kernel.org/stable/c/53b1119a6e5028b125f431a0116ba73510d82a72 No Types Assigned
New CVE Received from kernel.org3/04/2024 2:15:18 PM
Action
Type
Old Value
New Value
Added
Description
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Fix READDIR buffer overflow
If a client sends a READDIR count argument that is too small (say,
zero), then the buffer size calculation in the new init_dirlist
helper functions results in an underflow, allowing the XDR stream
functions to write beyond the actual buffer.
This calculation has always been suspect. NFSD has never sanity-
checked the READDIR count argument, but the old entry encoders
managed the problem correctly.
With the commits below, entry encoding changed, exposing the
underflow to the pointer arithmetic in xdr_reserve_space().
Modern NFS clients attempt to retrieve as much data as possible
for each READDIR request. Also, we have no unit tests that
exercise the behavior of READDIR at the lower bound of @count
values. Thus this case was missed during testing.
Added
Reference
Linux https://git.kernel.org/stable/c/53b1119a6e5028b125f431a0116ba73510d82a72 [No types assigned]
Added
Reference
Linux https://git.kernel.org/stable/c/eabc0aab98e5218ceecd82069b0d6fdfff5ee885 [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2021-47107 NVD
Published Date: 03/04/2024 NVD
Last Modified: 02/14/2025
Source: kernel.org