kernel: use-after-free in __ns_get_path()
Published Jul 6, 2018
7.0
HIGHCVSS 3.1
EPSS 0.50%
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.
Affected products
-
- Version All Android releases from CAF using the Linux kernelStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Qualcomm, Inc. | Android for MSM, Firefox OS for MSM, QRD Android | n/a |
|
Configuration 2
- ≥ 3.19 · < 4.1.50
- ≥ 4.2 · < 4.4.116
- ≥ 4.5 · < 4.9.82
- ≥ 4.10 · < 4.11
No data.
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise MRG 2
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
AV:L/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.50% (0.00504) | 40.84th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.50% (0.00504) | 42.11th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.06% (0.00062) | 27.18th | v3 (v2023.03.01) |
| Jun 14, 2024 | 0.06% (0.00062) | 26.68th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.06% (0.00062) | 24.67th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00045) | 12.06th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.52% (0.00517) | 11.07th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.52% (0.00517) | 0.00th | v1 |
References (9)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073c516ff73557a8f7315066856c04b50383ac34 x_refsource_CONFIRMPatchThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-5873 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1600268 Issue Tracking
- https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34 x_refsource_CONFIRMPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-5873
- https://source.android.com/security/bulletin/2018-07-01 x_refsource_CONFIRMVendor Advisory
- https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=34742aaf7cb16c95edba4a7afed6d2c4fa7e434b x_refsource_CONFIRMThird Party Advisory
- https://www.codeaurora.org/security-bulletin/2018/07/02/july-2018-code-aurora-security-bulletin x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-5873
| Link | Providers | Tags |
|---|---|---|
| http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073c516ff73557a8f7315066856c04b50383ac34 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-5873 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1600268 | Issue Tracking | |
| https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-5873 | ||
| https://source.android.com/security/bulletin/2018-07-01 | x_refsource_CONFIRMVendor Advisory | |
| https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=34742aaf7cb16c95edba4a7afed6d2c4fa7e434b | x_refsource_CONFIRMThird Party Advisory | |
| https://www.codeaurora.org/security-bulletin/2018/07/02/july-2018-code-aurora-security-bulletin | x_refsource_CONFIRMThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-5873 |
Change history (0)
No recorded changes yet.