CVE-2016-8655

high
Published 2016-12-08 ยท Modified 2026-05-06
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.8

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.

Predictions

Exploit likelihood
100%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-40871 local linux_x86-64 verified
rebel ยท 2016-12-06

Linux Kernel 4.4.0 (Ubuntu 14.04/16.04 x86-64) - 'AF_PACKET' Race Condition Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.
EDB-47170 local windows_x86-64
bcoles ยท 2018-12-29

Linux Kernel 4.4.0-21 < 4.4.0-51 (Ubuntu 14.04/16.04 x64) - 'AF_PACKET' Race Condition Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.
EDB-44696 local linux verified
Metasploit ยท 2018-05-22

Linux 4.4.0 < 4.4.0-53 - 'AF_PACKET chocobo_root' Local Privilege Escalation (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

AF_PACKET chocobo_root Privilege Escalation
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

linux Linux kernel Affected 1 release
VersionStatusFixed in
โ€” Affected 3.2.85
suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
ubuntu Ubuntu Affected 4 releases
VersionStatusFixed in
16.10 Affected โ€”
16.04 Affected โ€”
14.04 Affected โ€”
12.04 Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 4.8.12-2
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 4.8.15-1
sid Fixed 4.8.15-1
forky Fixed 4.8.15-1
bullseye Fixed 4.8.15-1
bookworm Fixed 4.8.15-1

References

CWEs

CWE-362 CWE-416

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.