CVE-2018-5873
Linux Kernel Use After Free Vulnerability in nsfs Module
Description
An issue was discovered in the __ns_get_path function in fs/nsfs.c in the Linux kernel before 4.11. Due to a race condition when accessing files, a Use After Free condition can occur. This also affects all Android releases from CAF using the Linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before security patch level 2018-07-05.
INFO
Published Date :
July 6, 2018, 7:29 p.m.
Last Modified :
Nov. 21, 2024, 4:09 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2018-5873 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2018-5873
.
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).
None
Makefile C Assembly Shell Perl C++ Awk sed Python GDB
Samsung security patch description
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-5873
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-5873
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073c516ff73557a8f7315066856c04b50383ac34 Added Reference https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34 Added Reference https://source.android.com/security/bulletin/2018-07-01 Added Reference https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=34742aaf7cb16c95edba4a7afed6d2c4fa7e434b Added Reference https://www.codeaurora.org/security-bulletin/2018/07/02/july-2018-code-aurora-security-bulletin -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 19, 2023
Action Type Old Value New Value Removed CVSS V3 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.19 up to (excluding) 4.1.50 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.4.116 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.82 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.11 -
Initial Analysis by [email protected]
Aug. 29, 2018
Action Type Old Value New Value Added CVSS V2 (AV:L/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34 No Types Assigned https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34 Patch, Third Party Advisory Changed Reference Type https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=34742aaf7cb16c95edba4a7afed6d2c4fa7e434b No Types Assigned https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=34742aaf7cb16c95edba4a7afed6d2c4fa7e434b Third Party Advisory Changed Reference Type http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073c516ff73557a8f7315066856c04b50383ac34 No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073c516ff73557a8f7315066856c04b50383ac34 Patch, Third Party Advisory Changed Reference Type https://source.android.com/security/bulletin/2018-07-01 No Types Assigned https://source.android.com/security/bulletin/2018-07-01 Vendor Advisory Changed Reference Type https://www.codeaurora.org/security-bulletin/2018/07/02/july-2018-code-aurora-security-bulletin No Types Assigned https://www.codeaurora.org/security-bulletin/2018/07/02/july-2018-code-aurora-security-bulletin Third Party Advisory Added CWE CWE-416 Added CWE CWE-362 Added CPE Configuration OR *cpe:2.3:o:google:android:-:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 08, 2018
Action Type Old Value New Value Changed Description Due to a race condition when accessing files in all Android releases from CAF using the Linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before security patch level 2018-07-05, a Use After Free condition in the kernel can occur. An issue was discovered in the __ns_get_path function in fs/nsfs.c in the Linux kernel before 4.11. Due to a race condition when accessing files, a Use After Free condition can occur. This also affects all Android releases from CAF using the Linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before security patch level 2018-07-05. Added Reference https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34 [No Types Assigned] Added Reference http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073c516ff73557a8f7315066856c04b50383ac34 [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-2018-5873
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-2018-5873
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.02%
score
0.24725
percentile