the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2016-8655

Race condition in net/packet/af_packet.c in the Linux kernel through 4.8.12 allows local users to gain privileges or cause a denial of service (use-after-free) by leveraging the CAP_NET_RAW capability to change a socket version, related to the packet_set_ring and packet_setsockopt functions.
Publish Date : 2016-12-08 Last Update Date : 2018-05-24
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Denial Of ServiceGain privileges
CWE ID 416

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2017:0386: kernel security, bug fix, and enhancement update (Important) oval:com.redhat.rhsa:def:20170386 unix
RHSA-2017:0387: kernel-rt security and bug fix update (Important) oval:com.redhat.rhsa:def:20170387 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2016-8655

# Product Type Vendor Product Version Update Edition Language
1 OS Linux Linux Kernel 4.8.12 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Linux Linux Kernel 1

- References For CVE-2016-8655
SECTRACK 1037968
SECTRACK 1037403
BID 94692 Linux Kernel CVE-2016-8655 Local Race Condition Vulnerability Release Date:2017-03-07
SUSE SUSE-SU-2016:3206
SUSE SUSE-SU-2016:3247
SUSE SUSE-SU-2016:3116
SUSE SUSE-SU-2016:3117
SUSE SUSE-SU-2016:3169
SUSE SUSE-SU-2016:3183
REDHAT RHSA-2017:0402
REDHAT RHSA-2017:0386
MLIST [oss-security] 20161206 CVE-2016-8655 Linux af_packet.c race condition (local root)
SUSE SUSE-SU-2016:3205
SUSE SUSE-SU-2016:3113
SUSE SUSE-SU-2016:3096

- Metasploit Modules Related To CVE-2016-8655

AF_PACKET chocobo_root Privilege Escalation
This module exploits a race condition and use-after-free in the packet_set_ring function in net/packet/af_packet.c (AF_PACKET) in the Linux kernel to execute code as root (CVE-2016-8655). The bug was initially introduced in 2011 and patched in 2016 in version 4.4.0-53.74, potentially affecting a large number of kernels; however this exploit targets only systems using Ubuntu (Trusty / Xenial) kernels 4.4.0 < 4.4.0-53, including Linux distros based on Ubuntu, such as Linux Mint. The target system must have unprivileged user namespaces enabled, two or more CPU cores, and SMAP must be disabled. Bypasses for SMEP and KASLR are included. Failed exploitation may crash the kernel. This module has been tested successfully on Linux Mint 17.3 (x86_64); Linux Mint 18 (x86_64); and Ubuntu 16.04.2 (x86_64) with kernel versions 4.4.0-45-generic and 4.4.0-51-generic.
Module type : exploit Rank : good Platforms : Linux

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.