Use After Free in Linux Kernel
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.111, 96.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
6 public repositories with exploit or proof-of-concept code for this CVE:
- martinmullins/CVE-2016-8655_Android (12 stars, last pushed 2017-07-01): Android attempt at PoC CVE-2016-8655
- LakshmiDesai/CVE-2016-8655 (5 stars, last pushed 2016-12-08)
- WhatsWrongAndWhy/CVE-2016-8655 (last pushed 2026-07-15)
- KosukeShimofuji/CVE-2016-8655 (last pushed 2016-12-12): Linux af_packet.c race condition (local root)
- agkunkle/chocobo (last pushed 2016-12-09): Chocobo Root (CVE-2016-8655) Analysis
- scarvell/cve-2016-8655 (last pushed 2016-12-07): PoC for CVE-2016-8655 that causes a kernel panic
Also mentioned in 59 other repositories (0dayhunter/Linux-exploit-suggester, 84KaliPleXon3/linux-exploit-suggester, AabyssZG/AWD-Guide, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3151-3 (vendor-advisory, Third Party Advisory)
- SUSE-SU-2016:3096 (vendor-advisory, Mailing List, Third Party Advisory)
- github.com/torvalds/linux/commit/84ac7260236a49c79eede91617700174c2c19b0c (Patch, Third Party Advisory)
- SUSE-SU-2016:3206 (vendor-advisory, Mailing List, Third Party Advisory)
- SUSE-SU-2016:3169 (vendor-advisory, Mailing List, Third Party Advisory)
- USN-3150-2 (vendor-advisory, Third Party Advisory)
- USN-3149-2 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/94692 (Third Party Advisory, VDB Entry, vdb-entry)
- www.securitytracker.com/id/1037968 (Third Party Advisory, VDB Entry, vdb-entry)
- USN-3150-1 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.