CVE-2018-5873: Use After Free
An issue was discovered in the nsgetpath 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 4.4.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-lts-xenialto a version that resolves this vulnerability.Fixed in 4.4.0-121.145~14.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 4.4.0-121.145 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 4.4.0-1055.64 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 4.13.0-1002.5 - Upgrade
Upgrade
ubuntu/linux-hweto a version that resolves this vulnerability.Fixed in 4.13.0-32.35~16.04.1 - Upgrade
Upgrade
ubuntu/linux-kvmto a version that resolves this vulnerability.Fixed in 4.4.0-1021.26 - Upgrade
Upgrade
ubuntu/linux-raspi2to a version that resolves this vulnerability.Fixed in 4.4.0-1087.95 - Upgrade
Upgrade
ubuntu/linux-snapdragonto a version that resolves this vulnerability.Fixed in 4.4.0-1090.95 - Upgrade
Upgrade
ubuntu/linux-fipsto a version that resolves this vulnerability.Fixed in 4.4.0-1008.10
Event History
Frequently Asked Questions
What is the severity of CVE-2018-5873?
CVE-2018-5873 has a severity rating that indicates it can lead to a Use After Free condition, potentially allowing for arbitrary code execution.
How do I fix CVE-2018-5873?
To fix CVE-2018-5873, you should update your Linux kernel to version 4.11 or later.
Which versions of the Linux kernel are affected by CVE-2018-5873?
CVE-2018-5873 affects Linux kernel versions below 4.11, specifically versions 4.10 and earlier.
Does CVE-2018-5873 affect Android devices?
Yes, CVE-2018-5873 affects all Android releases from CAF that use the Linux kernel prior to version 4.11.
What type of vulnerability is CVE-2018-5873?
CVE-2018-5873 is classified as a Use After Free vulnerability caused by a race condition in file access.