CVE-2017-15129

kernel: net: double-free and memory corruption in get_net_ns_by_id()

Published Jan 9, 2018 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-3617-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3617-2 Linux (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3617-3 Linux kernel (Raspberry Pi 2) vulnerabilities
Ubuntu USN Ubuntu USN USN-3619-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3619-2 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3632-1 Linux kernel (Azure) vulnerabilities
History

No history.

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 7:50 PM
Reserved
Oct 8, 2017, 12:00 AM
Status
Modified
Published
Jan 9, 2018, 7:29 PM
Modified
Jun 17, 2026, 1:07 AM
Severity
Moderate
Public date
Dec 19, 2017, 12:00 AM