CVE-2017-15129
A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11.
Published 8 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
0.36% probability of exploitation in the next 30 days, higher than 30% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
Affected products
- n/a Linux kernel v4.0-rc1 through v4.15-rc5
Classification
- Weakness
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
- Linux kernel (RSS, critical only)
References
- usn.ubuntu.com /3617-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /3619-2/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /3617-3/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- marc.info /?l=linux-netdev&m=151370451121029&w=2 · x_refsource_MISC, x_transferred
- marc.info /?t=151370468900001&r=1&w=2 · x_refsource_MISC, x_transferred
- usn.ubuntu.com /3632-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- bugzilla.redhat.com /show_bug.cgi?id=1531174 · x_refsource_MISC, x_transferred
- kernel.org /pub/linux/kernel/v4.x/ChangeLog-4.14.11 · x_refsource_MISC, x_transferred
- github.com /torvalds/linux/commit/21b5944350052d2583e82dd59b19a9ba94a007f0 · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2018:1062 · vendor-advisory, x_refsource_REDHAT, x_transferred
- access.redhat.com /errata/RHSA-2018:0654 · vendor-advisory, x_refsource_REDHAT, x_transferred
- access.redhat.com /security/cve/CVE-2017-15129 · x_refsource_MISC, x_transferred
- securityfocus.com /bid/102485 · vdb-entry, x_refsource_BID, x_transferred
- seclists.org /oss-sec/2018/q1/7 · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2018:0676 · vendor-advisory, x_refsource_REDHAT, x_transferred
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=21b5944350052d2583e82dd59b19a9ba94a00 · x_refsource_MISC, x_transferred
- usn.ubuntu.com /3617-2/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /3619-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- access.redhat.com /errata/RHSA-2019:1946 · vendor-advisory, x_refsource_REDHAT, x_transferred
Sources
- CVE List: CVE-2017-15129
- NVD: CVE-2017-15129
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.