Linux Kernel: Race Condition (CVE-2017-15129)
Published Sources: CVE.org
What is affected, what to do
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.
The available sources name no fixed version. Check the vendor guidance in the references below.
- Affected
- Linux kernel v4.0-rc1 through v4.15-rc5
eq Linux kernel v4.0-rc1 through v4.15-rc5..Linux kernel v4.0-rc1 through v4.15-rc5
- Linux kernel v4.0-rc1 through v4.15-rc5
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
4.7
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
4.7
CVSS v3
Severity Medium on the scale from 0 to 10.
Source: CVE.org
0.4 %
EPSS score
Low — model estimates < 1% exploitation likelihood.
Source: FIRST EPSS, percentile 29.3
Show all metrics
- Severity
- Medium
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 30.33 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 4.7 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 4.7
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 0.4 %
- Low — model estimates < 1% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 29.3
- Elevated — this CVE ranks above at least 10% of all CVEs scored today.
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-362
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
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.
Source: NVD (NIST), cvelistv5
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| — | Linux kernel v4.0-rc1 through v4.15-rc5 |
|
|
Vendors and products
- Canonical Canonical Ubuntu Linux
- Fedora Project Infrastructure Fedora
- Linux Linux Kernel
- Red Hat Redhat Enterprise Linux
- Red Hat Red Hat Enterprise Linux Compute Node Extended Update Support (EUS)
- Red Hat Redhat Enterprise Linux Desktop
- Red Hat Red Hat Enterprise Linux Extended Update Support (EUS)
- Red Hat Red Hat Enterprise Linux For IBM Z Systems
- Red Hat Red Hat Enterprise Linux For IBM z Systems Extended Update Support (EUS) 7.1 s390x
- Red Hat Red Hat Enterprise Linux For Power, Big Endian
- Red Hat Red Hat Enterprise Linux For Power Big Endian Extended Update Support (EUS) 7.1 ppc64
- Red Hat Red Hat Enterprise Linux For Power, Little Endian Extended Update Support (EUS)
Affected operating systems
| Linux | redhat | enterprise_linux | 7.0 |
| Linux | redhat | enterprise_linux_compute_node_eus | 7.4 |
| Linux | redhat | enterprise_linux_desktop | 7.0 |
| Linux | redhat | enterprise_linux_eus | 7.4 |
| Linux | redhat | enterprise_linux_eus | 7.6 |
| Linux | redhat | enterprise_linux_eus | 7.7 |
| Linux | redhat | enterprise_linux_for_ibm_z_systems | 7.0 |
| Linux | redhat | enterprise_linux_for_ibm_z_systems_eus | 7.4 |
| Linux | redhat | enterprise_linux_for_power_big_endian | 7.0 |
| Linux | redhat | enterprise_linux_for_power_big_endian_eus | 7.4 |
| Linux | redhat | enterprise_linux_for_power_little_endian_eus | 7.4 |
| Linux | redhat | enterprise_linux_for_real_time | 7.0 |
| Linux | redhat | enterprise_linux_for_real_time_for_nfv | 7 |
| Linux | redhat | enterprise_linux_for_scientific_computing | 7.0 |
| Linux | redhat | enterprise_linux_server | 7.0 |
| Linux | redhat | enterprise_linux_server_aus | 7.4 |
| Linux | redhat | enterprise_linux_server_tus | 7.4 |
| Linux | redhat | enterprise_linux_server_tus | 7.6 |
| Linux | redhat | enterprise_linux_server_tus | 7.7 |
| Linux | redhat | enterprise_linux_server_update_services_for_sap_solutions | 7.4 |
| Linux | redhat | enterprise_linux_workstation | 7.0 |
| Linux | linux | linux_kernel | 4.15 |
| Linux | linux | linux_kernel | — |
| Linux | canonical | ubuntu_linux | 14.04 |
Weakness classes (CWE)
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Class
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Entry at MITRE CWE-362
References & sources
- usn.ubuntu.comUSN-3617-1Vendor advisory, x_refsource_UBUNTU, Third-party advisory
- usn.ubuntu.comUSN-3619-2Vendor advisory, x_refsource_UBUNTU, Third-party advisory
- usn.ubuntu.comUSN-3617-3Vendor advisory, x_refsource_UBUNTU, Third-party advisory
- marc.info?l=linux-netdev&m=151370451121029&w=2x_refsource_MISC, Mailing list, Patch, Third-party advisory
- marc.info?t=151370468900001&r=1&w=2x_refsource_MISC, Mailing list, Third-party advisory
- usn.ubuntu.comUSN-3632-1Vendor advisory, x_refsource_UBUNTU, Third-party advisory
- bugzilla.redhat.comshow_bug.cgi?id=1531174x_refsource_MISC, Issue tracking, Patch, Third-party advisory
- kernel.orgpub/linux/kernel/v4.x/ChangeLog-4.14.11x_refsource_MISC, Release notes
- github.comtorvalds/linux/commit/21b5944350052d2583e82dd59b19a9ba94a007f0x_refsource_MISC, Patch
- access.redhat.comRHSA-2018:1062Vendor advisory, x_refsource_REDHAT, Third-party advisory
- access.redhat.comRHSA-2018:0654Vendor advisory, x_refsource_REDHAT, Third-party advisory
- access.redhat.comsecurity/cve/CVE-2017-15129x_refsource_MISC, Third-party advisory
- securityfocus.com102485Vulnerability database, x_refsource_BID, Broken link
- seclists.orgoss-sec/2018/q1/7x_refsource_MISC, Mailing list, Third-party advisory
- access.redhat.comRHSA-2018:0676Vendor advisory, x_refsource_REDHAT, Third-party advisory
- git.kernel.orgcgit/linux/kernel/git/torvalds/linux.git/commit/?id=21b59443500…x_refsource_MISC, Patch
- usn.ubuntu.comUSN-3617-2Vendor advisory, x_refsource_UBUNTU, Third-party advisory
- usn.ubuntu.comUSN-3619-1Vendor advisory, x_refsource_UBUNTU, Third-party advisory
- access.redhat.comRHSA-2019:1946Vendor advisory, x_refsource_REDHAT, Third-party advisory
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2017-15129"><img src="https://intel.neosec.eu/badge/cve/CVE-2017-15129.svg?lang=en" alt="CVE-2017-15129 – NEOSEC Intel" height="20"></a>