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

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
7.2
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

http://www.ubuntu.com/usn/USN-3151-4
UBUNTU USN-3151-4
https://github.com/torvalds/linux/commit/84ac7260236a49c79eede91617700174c2c19b0c CONFIRM
http://www.ubuntu.com/usn/USN-3152-2
UBUNTU USN-3152-2
http://rhn.redhat.com/errata/RHSA-2017-0387.html
REDHAT RHSA-2017:0387
https://bugzilla.redhat.com/show_bug.cgi?id=1400019 CONFIRM
http://www.ubuntu.com/usn/USN-3152-1
UBUNTU USN-3152-1
http://www.ubuntu.com/usn/USN-3151-2
UBUNTU USN-3151-2
http://www.ubuntu.com/usn/USN-3151-1
UBUNTU USN-3151-1
http://www.ubuntu.com/usn/USN-3150-2
UBUNTU USN-3150-2
http://www.ubuntu.com/usn/USN-3150-1
UBUNTU USN-3150-1
http://www.ubuntu.com/usn/USN-3149-2
UBUNTU USN-3149-2
http://www.ubuntu.com/usn/USN-3149-1
UBUNTU USN-3149-1
http://www.securitytracker.com/id/1037968
SECTRACK 1037968
http://www.securitytracker.com/id/1037403
SECTRACK 1037403
http://www.securityfocus.com/bid/94692
BID 94692 Linux Kernel CVE-2016-8655 Local Race Condition Vulnerability Release Date:2017-03-07
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00077.html
SUSE SUSE-SU-2016:3206
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00087.html
SUSE SUSE-SU-2016:3247
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00055.html
SUSE SUSE-SU-2016:3116
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00056.html
SUSE SUSE-SU-2016:3117
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00067.html
SUSE SUSE-SU-2016:3169
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00070.html
SUSE SUSE-SU-2016:3183
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00073.html
SUSE SUSE-SU-2016:3197
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84ac7260236a49c79eede91617700174c2c19b0c CONFIRM
http://rhn.redhat.com/errata/RHSA-2017-0402.html
REDHAT RHSA-2017:0402
http://rhn.redhat.com/errata/RHSA-2017-0386.html
REDHAT RHSA-2017:0386
http://www.openwall.com/lists/oss-security/2016/12/06/1
MLIST [oss-security] 20161206 CVE-2016-8655 Linux af_packet.c race condition (local root)
http://packetstormsecurity.com/files/140063/Linux-Kernel-4.4.0-AF_PACKET-Race-Condition-Privilege-Escalation.html
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00076.html
SUSE SUSE-SU-2016:3205
http://www.ubuntu.com/usn/USN-3151-3
UBUNTU USN-3151-3
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00054.html
SUSE SUSE-SU-2016:3113
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00044.html
SUSE SUSE-SU-2016:3096
https://www.exploit-db.com/exploits/40871/
EXPLOIT-DB 40871
https://www.exploit-db.com/exploits/44696/
EXPLOIT-DB 44696
https://source.android.com/security/bulletin/2017-03-01.html CONFIRM

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