CVE-2021-47179
"NFSv4 Linux Kernel Null Pointer Dereference Vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return() Commit de144ff4234f changes _pnfs_return_layout() to call pnfs_mark_matching_lsegs_return() passing NULL as the struct pnfs_layout_range argument. Unfortunately, pnfs_mark_matching_lsegs_return() doesn't check if we have a value here before dereferencing it, causing an oops. I'm able to hit this crash consistently when running connectathon basic tests on NFS v4.1/v4.2 against Ontap.
INFO
Published Date :
March 25, 2024, 10:15 a.m.
Last Modified :
May 16, 2024, 9:20 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-47179
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-47179
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47179
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 17, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
May. 16, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/39785761feadf261bc5101372b0b0bbaf6a94494 No Types Assigned https://git.kernel.org/stable/c/39785761feadf261bc5101372b0b0bbaf6a94494 Patch Changed Reference Type https://git.kernel.org/stable/c/42637ca25c7d7b5a92804a679af5192e8c1a9f48 No Types Assigned https://git.kernel.org/stable/c/42637ca25c7d7b5a92804a679af5192e8c1a9f48 Patch Changed Reference Type https://git.kernel.org/stable/c/4e1ba532dbc1a0e19fc2458d74ab8d98680c4e42 No Types Assigned https://git.kernel.org/stable/c/4e1ba532dbc1a0e19fc2458d74ab8d98680c4e42 Patch Changed Reference Type https://git.kernel.org/stable/c/a421d218603ffa822a0b8045055c03eae394a7eb No Types Assigned https://git.kernel.org/stable/c/a421d218603ffa822a0b8045055c03eae394a7eb Patch Changed Reference Type https://git.kernel.org/stable/c/aba3c7795f51717ae316f3566442dee7cc3eeccb No Types Assigned https://git.kernel.org/stable/c/aba3c7795f51717ae316f3566442dee7cc3eeccb Patch Changed Reference Type https://git.kernel.org/stable/c/b090d110e66636bca473fd8b98d5c97b555a965a No Types Assigned https://git.kernel.org/stable/c/b090d110e66636bca473fd8b98d5c97b555a965a Patch Changed Reference Type https://git.kernel.org/stable/c/f9890652185b72b8de9ebeb4406037640b6e1b53 No Types Assigned https://git.kernel.org/stable/c/f9890652185b72b8de9ebeb4406037640b6e1b53 Patch Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.9.269 up to (excluding) 4.9.271 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.14.233 up to (excluding) 4.14.235 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19.191 up to (excluding) 4.19.193 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.118 up to (excluding) 5.4.124 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.36 up to (excluding) 5.10.42 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12.3 up to (excluding) 5.12.9 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 04, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/a421d218603ffa822a0b8045055c03eae394a7eb [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 25, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return() Commit de144ff4234f changes _pnfs_return_layout() to call pnfs_mark_matching_lsegs_return() passing NULL as the struct pnfs_layout_range argument. Unfortunately, pnfs_mark_matching_lsegs_return() doesn't check if we have a value here before dereferencing it, causing an oops. I'm able to hit this crash consistently when running connectathon basic tests on NFS v4.1/v4.2 against Ontap. Added Reference kernel.org https://git.kernel.org/stable/c/4e1ba532dbc1a0e19fc2458d74ab8d98680c4e42 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/42637ca25c7d7b5a92804a679af5192e8c1a9f48 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/39785761feadf261bc5101372b0b0bbaf6a94494 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aba3c7795f51717ae316f3566442dee7cc3eeccb [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f9890652185b72b8de9ebeb4406037640b6e1b53 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b090d110e66636bca473fd8b98d5c97b555a965a [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-47179
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-47179
weaknesses.