CWE
362 416 415
Advisory Published
CVE Published
Updated

CVE-2017-15129: Race Condition

First published: Thu Jan 04 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 get_net_ns_by_id() 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 we believe it is unlikely. References: <a href="https://marc.info/?l=linux-netdev&amp;m=151370451121029&amp;w=2">https://marc.info/?l=linux-netdev&amp;m=151370451121029&amp;w=2</a> <a href="https://marc.info/?t=151370468900001&amp;r=1&amp;w=2">https://marc.info/?t=151370468900001&amp;r=1&amp;w=2</a> (a whole thread) <a href="http://seclists.org/oss-sec/2018/q1/7">http://seclists.org/oss-sec/2018/q1/7</a> An upstream patch: <a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=21b5944350052d2583e82dd59b19a9ba94a007f0">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=21b5944350052d2583e82dd59b19a9ba94a007f0</a>

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Kernel<4.14.11
Linux Kernel>=4.0<4.14.11
Linux Kernel=4.15-rc1
Linux Kernel=4.15-rc2
Linux Kernel=4.15-rc3
Linux Kernel=4.15-rc4
Red Hat Fedora=27
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=17.10
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux Compute Node EUS=7.4
Red Hat Enterprise Linux Desktop=7.0
Red Hat Enterprise Linux Server EUS=7.4
Red Hat Enterprise Linux Server EUS=7.6
Red Hat Enterprise Linux Server EUS=7.7
Red Hat Enterprise Linux for IBM Z Systems=7.0
Red Hat Enterprise Linux for IBM Z Systems (s390x)=7.4
Red Hat Enterprise Linux for Power, big endian=7.0
Red Hat Enterprise Linux for Power, Big Endian EUS=7.4
Red Hat Enterprise Linux for Power, little endian - Extended Update Support=7.4
Red Hat Enterprise Linux for Real Time=7.0
Red Hat Enterprise Linux for Real Time for NFV=7
Red Hat Enterprise Linux for Scientific Computing=7.0
Red Hat Enterprise Linux Server=7.0
Red Hat Enterprise Linux Server=7.4
Red Hat Enterprise Linux Server=7.4
Red Hat Enterprise Linux Server=7.6
Red Hat Enterprise Linux Server=7.7
Red Hat Enterprise Linux Server Update Services for SAP Solutions=7.4
Red Hat Enterprise Linux Workstation=7.0
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.133-1
6.12.22-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2017-15129?

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

  • How severe is CVE-2017-15129?

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

  • 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.

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203