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…
Check your servers for CVE-2016-8655
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-8655 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
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.
Exploitation
EPSS 11.1%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.6% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-8655 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-8655RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-8655Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-8655
trivy image --scanners vuln IMAGE | grep CVE-2016-8655
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- USN-3151-3 ubuntu.com · vendor advisory
- SUSE-SU-2016:3096 lists.opensuse.org · vendor advisory
- https://github.com/torvalds/linux/commit/84ac7260236a49c79eede91617700174c2c19b0c github.com
- SUSE-SU-2016:3206 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:3169 lists.opensuse.org · vendor advisory
- USN-3150-2 ubuntu.com · vendor advisory
- USN-3149-2 ubuntu.com · vendor advisory
- USN-3150-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:3117 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:3197 lists.opensuse.org · vendor advisory
- RHSA-2017:0402 rhn.redhat.com · vendor advisory
- USN-3151-1 ubuntu.com · vendor advisory
15 more
- RHSA-2017:0387 rhn.redhat.com · vendor advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84ac7260236a49c79eede91617700174c2c19b0c git.kernel.org
- USN-3149-1 ubuntu.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1400019 bugzilla.redhat.com
- SUSE-SU-2016:3247 lists.opensuse.org · vendor advisory
- USN-3151-2 ubuntu.com · vendor advisory
- SUSE-SU-2016:3183 lists.opensuse.org · vendor advisory
- USN-3152-1 ubuntu.com · vendor advisory
- USN-3152-2 ubuntu.com · vendor advisory
- RHSA-2017:0386 rhn.redhat.com · vendor advisory
- USN-3151-4 ubuntu.com · vendor advisory
- SUSE-SU-2016:3116 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:3113 lists.opensuse.org · vendor advisory
- https://source.android.com/security/bulletin/2017-03-01.html source.android.com
- SUSE-SU-2016:3205 lists.opensuse.org · vendor advisory
Exploits and proof of concept
Other references
- 94692 securityfocus.com · vdb entry
- 1037968 securitytracker.com · vdb entry
- http://packetstormsecurity.com/files/140063/Linux-Kernel-4.4.0-AF_PACKET-Race-Condition-Privilege-Escalation.html packetstormsecurity.com
- [oss-security] 20161206 CVE-2016-8655 Linux af_packet.c race condition (local root) openwall.com · mailing list
- 1037403 securitytracker.com · vdb entry
Source: the record CVE-2016-8655 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse