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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Qualcomm | Android for MSM, Firefox OS for MSM, QRD Android | All Android releases from CAF using the Linux kernel | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.11.6-1 | — |
| Debian 13 | linux | 4.11.6-1 | — |
| Debian 12 | linux | 4.11.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | linux-vmware | No fix yet | — |
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-azure-edge | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux | 4.4.0-121.145 | — |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1055.64 | — |
| Ubuntu 16.04 LTS | linux-gcp | 4.13.0-1002.5 | — |
| Ubuntu 16.04 LTS | linux-hwe | 4.13.0-32.35~16.04.1 | — |
| Ubuntu 16.04 LTS | linux-kvm | 4.4.0-1021.26 | — |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1087.95 | — |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1090.95 | — |
| Ubuntu 14.04 LTS | linux-aws | 4.4.0-1017.17 | — |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-121.145~14.04.1 | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1008.10 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | kernel-uek +5 | 4.1.12-124.19.5.el7uek | ELSA-2018-4227 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Trinadh465/linux-4.1.15_CVE-2018-5873 ★ 0 · Aug 16, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- WID-SEC-2026-4000 Google Android: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 15, 2026
- ELSA-2018-4227 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 26, 2018
References
- https://www.codeaurora.org/security-bulletin/2018/07/02/july-2018-code-aurora-security-bulletin
- https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=34742aaf7cb16c95edba4a7afed6d2c4fa7e434b
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073c516ff73557a8f7315066856c04b50383ac34
- https://source.android.com/security/bulletin/2018-07-01
- https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34