NetSight
medium4.7

CVE-2017-15129

A use-after-free vulnerability was found in network namespaces code affecting the Linux kernel before 4.14.11.

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 4.0 before 4.14.11
Version 4.15
FedoraprojectFedora
Version 27
CanonicalUbuntu Linux
Versions 14.04, 16.04, 17.10
RedhatEnterprise Linux
Version 7.0
RedhatEnterprise Linux Compute Node Eus
Version 7.4
RedhatEnterprise Linux Desktop
Version 7.0
RedhatEnterprise Linux Eus
Versions 7.4, 7.6, 7.7
RedhatEnterprise Linux For Ibm Z Systems
Version 7.0
RedhatEnterprise Linux For Ibm Z Systems Eus
Version 7.4
RedhatEnterprise Linux For Power Big Endian
Version 7.0
RedhatEnterprise Linux For Power Big Endian Eus
Version 7.4
RedhatEnterprise Linux For Power Little Endian Eus
Version 7.4

Weakness classification

References