CVE-2016-8655: Linux AF_PACKET race condition enabling local privilege escalation
- Vendors
- LinuxCanonical
CVE-2016-8655 is a race condition in the Linux kernel AF_PACKET subsystem affecting kernels through version 4.8.12. The vulnerability involves the packet_set_ring and packet_setsockopt functions and can be triggered by a local user with CAP_NET_RAW capability changing a socket version. Exploitation can cause a use-after-free, enabling privilege escalation or denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local attacker with CAP_NET_RAW capability can gain elevated privileges or cause a denial of service through a kernel use-after-free.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, consider disabling unprivileged user namespaces (e.g., via sysctl kernel.unprivileged_userns_clone=0) to reduce the attack surface. Restrict CAP_NET_RAW capability to trusted users only. Monitor for suspicious activity indicative of local privilege escalation attempts. Note that these mitigations do not fully eliminate the risk and patching is strongly recommended.
Remediation
Patch, then assume compromise.
Upgrade to a patched Linux kernel version (4.4.0-53.74 or later for Ubuntu 14.04/16.04, or the equivalent patched version for other distributions). Ensure all systems are running a kernel version that includes the fix for CVE-2016-8655. The fix involves proper locking in the affected functions to prevent the race condition and use-after-free.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2016-8655 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2016-8655?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2016-8655, the earliest disclosed Aug 12, 2016.
- Is there a patch for CVE-2016-8655?
- Upgrade to a patched Linux kernel version (4.4.0-53.74 or later for Ubuntu 14.04/16.04, or the equivalent patched version for other distributions). Ensure all systems are running a kernel version that includes the fix for CVE-2016-8655.
- What products are affected by CVE-2016-8655?
- Linux Kernel and Canonical Ubuntu Linux.
- How severe is CVE-2016-8655?
- CVE-2016-8655 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 11.1% (96th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.