What’s Vulnerable › Vulnerabilities
CVE-2017-15129
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-01-09 · updated 2026-06-17
- Weakness: CWE-362
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.
Affected products
- Canonical Ubuntu Linux: 14.04, 16.04, 17.10
- Fedoraproject Fedora: 27
- Linux kernel: from 4.0 before 4.14.11; 4.15-rc1, 4.15-rc2, 4.15-rc3, 4.15-rc4 — fixed in 4.14.11
- Red Hat Enterprise Linux: 7.0
- RedHat Enterprise Linux Compute Node Eus: 7.4
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Eus: 7.4, 7.6, 7.7
- RedHat Enterprise Linux For Ibm Z Systems: 7.0
- RedHat Enterprise Linux For Ibm Z Systems Eus: 7.4
- RedHat Enterprise Linux For Power Big Endian: 7.0
- RedHat Enterprise Linux For Power Big Endian Eus: 7.4
- RedHat Enterprise Linux For Power Little Endian Eus: 7.4
- RedHat Enterprise Linux For Real Time: 7.0
- RedHat Enterprise Linux For Real Time For Nfv: 7
- RedHat Enterprise Linux For Scientific Computing: 7.0
- RedHat Enterprise Linux Server: 7.0
- RedHat Enterprise Linux Server Aus: 7.4
- RedHat Enterprise Linux Server Tus: 7.4, 7.6, 7.7
- RedHat Enterprise Linux Server Update Services For Sap Solutions: 7.4
- RedHat Enterprise Linux Workstation: 7.0
How to fix
Upgrade to a fixed version: Linux kernel 4.14.11. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=21b5944350052d2583e82dd59b19a9ba94a007f0
- http://seclists.org/oss-sec/2018/q1/7
- http://www.securityfocus.com/bid/102485
- https://access.redhat.com/errata/RHSA-2018:0654
- https://access.redhat.com/errata/RHSA-2018:0676
- https://access.redhat.com/errata/RHSA-2018:1062
- https://access.redhat.com/errata/RHSA-2019:1946
- https://access.redhat.com/security/cve/CVE-2017-15129
- https://bugzilla.redhat.com/show_bug.cgi?id=1531174
- https://github.com/torvalds/linux/commit/21b5944350052d2583e82dd59b19a9ba94a007f0
- https://marc.info/?l=linux-netdev&m=151370451121029&w=2
- https://marc.info/?t=151370468900001&r=1&w=2
Get alerted when CVE-2017-15129 or the next vulnerability affects your stack