CVE-2017-15129: Race Condition

Published Jan 4, 2018
·
Updated

A use-after-free vulnerability was found in a network namespaces code affecting the Linux kernel since v4.0-rc1 through v4.15-rc5. The function getnetnsbyid() does not check for the net::count value after it has found a peer network in netnsids 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 we believe it is unlikely.

References:

https://marc.info/?l=linux-netdev&m=151370451121029&w=2

https://marc.info/?t=151370468900001&r=1&w=2 (a whole thread)

http://seclists.org/oss-sec/2018/q1/7

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=21b5944350052d2583e82dd59b19a9ba94a007f0

Other sources

A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11. The function getnetnsbyid() in net/core/netnamespace.c does not check for the net::count value after it has found a peer network in netnsids 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.

Launchpad

Affected Software

32 affected componentsFixes available
Linux Linux kernel<4.14.11
Linux Linux kernel>=4.0<4.14.11
Linux Linux kernel=4.15-rc1
Linux Linux kernel=4.15-rc2
Linux Linux kernel=4.15-rc3
Linux Linux kernel=4.15-rc4
Fedoraproject Fedora=27
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
redhat Enterprise Linux=7.0
redhat Enterprise Linux Compute Node Eus=7.4
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.4
redhat Enterprise Linux Eus=7.6
redhat Enterprise Linux Eus=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
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Server Update Services For Sap Solutions=7.4
redhat Enterprise Linux Workstation=7.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Event History

Jan 4, 2018
Data Sourced
via Red Hat·06:21 PM
DescriptionSeverityAffected Software
Jan 9, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:31 PM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·01:57 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·03:42 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-15129?

CVE-2017-15129 is a use-after-free vulnerability found in the Linux kernel before version 4.14.11.

2

How severe is CVE-2017-15129?

CVE-2017-15129 has a severity level of medium.

3

How does CVE-2017-15129 impact Linux systems?

CVE-2017-15129 can lead to a double free and may allow an attacker to execute arbitrary code or cause a denial of service.

4

Which Linux kernel versions are affected by CVE-2017-15129?

Linux kernel versions before 4.14.11 are affected by CVE-2017-15129.

5

Is there a fix for CVE-2017-15129?

Yes, updating the Linux kernel to version 4.14.11 or later fixes CVE-2017-15129.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203