CVE-2016-8655 Race condition in n/a

High 7.8 Published Updated

Local attackers with CAP_NET_RAW can exploit a race condition in the Linux kernel packet socket implementation to gain privileges or cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-8655?

CVE-2016-8655 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 8 Dec 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-416, CWE-362

Which versions are affected by CVE-2016-8655?

It affects 2 products.

Linux distribution packages (15)
kernel-rt Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-debug Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-debug-debuginfo Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-debug-devel Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-debuginfo Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-debuginfo-common-x86_64 Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-devel Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-doc Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-firmware Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-trace Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-trace-debuginfo Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-trace-devel Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-vanilla Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-vanilla-debuginfo Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt
kernel-rt-vanilla-devel Red Hat:enterprise_mrg:2:server:el6All versions1:3.10.0-514.rt56.215.el6rt

Products include Canonical Ubuntu Linux, Linux kernel.

How do I fix CVE-2016-8655?

Apply the vendor's patch.

Is CVE-2016-8655 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-8655 exists.

Public exploit code: 1 Metasploit module, 4 Exploit-DB entries and 6 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-8655, GHSA-3x7h-7xqw-rj45, RHSA-2017:0402, UBUNTU-CVE-2016-8655, USN-3149-1, USN-3151-1 and 3 more.

Is CVE-2016-8655 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free