Race condition in Linux kernel v4.0-rc1 through v4.15-rc5
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11. The function get_net_ns_by_id() in net/core/net_namespace.c does not check for the net::count value after it has found a peer network in netns_ids idr, which could lead to double free and memory corruption. This vulnerability could allow an unprivileged local user to induce kernel memory corruption on the system, leading to a crash. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although it is thought to be unlikely.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Linux kernel v4.0-rc1 through v4.15-rc5 | Linux kernel v4.0-rc1 through v4.15-rc5 | — | No fix listed | CNA |
- Linux kernel v4.0-rc1 through v4.15-rc5 Vendor— Affected Linux kernel v4.0-rc1 through v4.15-rc5 Fixed in — No fix listed CNA
CPE configurations NVD · 30
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.0 to before 4.14.11 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc1:*:*:*:*:*:* | 4.15 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc2:*:*:*:*:*:* | 4.15 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc3:*:*:*:*:*:* | 4.15 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:4.15:rc4:*:*:*:*:*:* | 4.15 rc4 | Vulnerable | Linux |
| cpe:2.3:o:fedoraproject:fedora:27:*:*:*:*:*:*:* | 27 | Vulnerable | Fedoraproject |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* | 17.10 | Vulnerable | Canonical |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.0 to before 4.14.11 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc1:*:*:*:*:*:* Versions 4.15 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc2:*:*:*:*:*:* Versions 4.15 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc3:*:*:*:*:*:* Versions 4.15 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:4.15:rc4:*:*:*:*:*:* Versions 4.15 rc4 Vulnerable ·Linux
- cpe:2.3:o:fedoraproject:fedora:27:*:*:*:*:*:*:* Versions 27 Vulnerable ·Fedoraproject
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Show 20 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_compute_node_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_real_time:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv:7:*:*:*:*:*:*:* | 7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_scientific_computing:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:o:redhat:enterprise_linux_compute_node_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_real_time:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv:7:*:*:*:*:*:*:* Versions 7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_scientific_computing:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2019:1946 Released 2019-07-30 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.4) kernel-3.10.0-693.55.1.el7, kernel-abi-whitelists-3.10.0-693.55.1.el7, kernel-debug-3.10.0-693.55.1.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.4) kernel-tools-libs-devel-3.10.0-693.55.1.el7
- Red Hat Enterprise Linux Server EUS (v. 7.4) kernel-3.10.0-693.55.1.el7, kernel-abi-whitelists-3.10.0-693.55.1.el7, kernel-bootwrapper-3.10.0-693.55.1.el7 +11
- Red Hat Enterprise Linux Server Optional EUS (v. 7.4) kernel-debug-devel-3.10.0-693.55.1.el7, kernel-tools-libs-devel-3.10.0-693.55.1.el7
- RHSA-2018:1062 Released 2018-04-10 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) kernel-3.10.0-862.el7, kernel-abi-whitelists-3.10.0-862.el7, kernel-debug-3.10.0-862.el7 +8
- Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-862.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) kernel-3.10.0-862.el7, kernel-abi-whitelists-3.10.0-862.el7, kernel-debug-3.10.0-862.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-862.el7
- Red Hat Enterprise Linux Server (v. 7) kernel-3.10.0-862.el7, kernel-abi-whitelists-3.10.0-862.el7, kernel-bootwrapper-3.10.0-862.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-862.el7, kernel-tools-libs-devel-3.10.0-862.el7
- Red Hat Enterprise Linux Workstation (v. 7) kernel-3.10.0-862.el7, kernel-abi-whitelists-3.10.0-862.el7, kernel-debug-3.10.0-862.el7 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-862.el7
- RHSA-2018:0676 Released 2018-04-10 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat Enterprise Linux for Real Time (v. 7) kernel-rt-3.10.0-862.rt56.804.el7, kernel-rt-debug-3.10.0-862.rt56.804.el7, kernel-rt-debug-devel-3.10.0-862.rt56.804.el7 +4
- Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt-3.10.0-862.rt56.804.el7, kernel-rt-debug-3.10.0-862.rt56.804.el7, kernel-rt-debug-devel-3.10.0-862.rt56.804.el7 +7
Show 1 more Red Hat advisories
- RHSA-2018:0654 Released 2018-04-10 · Red Hat rating Importantkernel-alt security, bug fix, and enhancement update
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) kernel-4.14.0-49.el7a, kernel-abi-whitelists-4.14.0-49.el7a, kernel-alt-4.14.0-49.el7a +12
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debug-devel-4.14.0-49.el7a, kernel-doc-4.14.0-49.el7a, kernel-tools-libs-devel-4.14.0-49.el7a
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise MRG 2 | Affected | No fix yet |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.4) | Fixed | RHSA-2019:1946 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.4) | Fixed | RHSA-2019:1946 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2019:1946 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.4) | Fixed | RHSA-2019:1946 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:1062 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:0654 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:0654 |
| Red Hat Enterprise Linux for Real Time (v. 7) | Fixed | RHSA-2018:0676 |
| Red Hat Enterprise Linux for Real Time for NFV (v. 7) | Fixed | RHSA-2018:0676 |
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2017-15129
- 2026-10-03 Alias added: GHSA-9324-w9gg-mxf6
References
Patch 4
- https://marc.info/?l=linux-netdev&m=151370451121029&w=2
- https://bugzilla.redhat.com/show_bug.cgi?id=1531174
- https://github.com/torvalds/linux/commit/21b5944350052d2583e82dd59b19a9ba94a007f0
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=21b5944350052d2583e82dd59b19a9ba94a007f0
Advisory 13
Sources
- CVE-2017-15129 · CVE Program
- CVE-2017-15129 · NVD
- FIRST EPSS
- GHSA-9324-w9gg-mxf6 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-15129 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences