Use-after-free in Linux kernel - CVE-2016-8655

 

Use-after-free in Linux kernel - CVE-2016-8655

Published: December 8, 2016 / Updated: June 3, 2024


Vulnerability identifier: #VU90824
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-8655
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to execute arbitrary code.

The vulnerability exists due to a use-after-free error within the packet_setsockopt() and packet_set_ring() functions in net/packet/af_packet.c. A local user can execute arbitrary code.


Affected software

Linux kernel
Arch Linux
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Slackware Linux
Fedora
MRG Realtime
linux-grsec
kernel-rt (Red Hat package)
linux-lts
linux-4.4.38/kernel-generic
linux-4.4.38/kernel-huge
linux-4.4.38/kernel-modules
linux-4.4.38/kernel-headers
Linux
linux-zen
kernel

How to mitigate CVE-2016-8655

Install update from vendor's website.

linux-grsec - update to 1
kernel-rt (Red Hat package) - addressed in versions 3.10.0-514.rt56.215.el6rt, 3.10.0-514.10.2.rt56.435.el7
linux-lts - update to 4.4.36-1
linux-4.4.38/kernel-generic - update to 4.4.38
linux-4.4.38/kernel-huge - update to 4.4.38
linux-4.4.38/kernel-modules - update to 4.4.38
linux-4.4.38/kernel-headers - update to 4.4.38_smp
Linux - update to 4.8.12-2
linux-zen - update to 4.8.12-2
kernel - addressed in versions 4.8.13-100.fc23, 4.8.13-200.fc24, 4.8.13-300.fc25

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins