Privilege escalation in Linux kernel - CVE-2017-1000111
Published: August 11, 2017 / Updated: August 15, 2017
Vulnerability identifier: #VU7865
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-2017-1000111
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local attacker to gain elevated privileges on the target system.
The weakness exists in the packet_set_ring function due to improper implementation of raw packet sockets in the networking subsystem of the affected software that handles synchronization. A local attacker with CAP_NET_RAW permissions can open a raw packet socket, trigger a race condition, eventually cause use-after-free error and execute arbitrary code with root privileges.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists in the packet_set_ring function due to improper implementation of raw packet sockets in the networking subsystem of the affected software that handles synchronization. A local attacker with CAP_NET_RAW permissions can open a raw packet socket, trigger a race condition, eventually cause use-after-free error and execute arbitrary code with root privileges.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
Linux kernel
Amazon Linux AMI
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server (for IBM Power LE) - 4 Year Extended Update Support
SUSE Linux
Ubuntu
Fedora
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel
Red Hat Virtualization Host
Amazon Linux AMI
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server (for IBM Power LE) - 4 Year Extended Update Support
SUSE Linux
Ubuntu
Fedora
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel
Red Hat Virtualization Host
How to mitigate CVE-2017-1000111
Update to the latest version.
https://github.com/GulajavaMinistudio/linux/pull/55/commits/c27927e372f0785f3303e8fad94b85945e2c97b7
https://github.com/GulajavaMinistudio/linux/pull/55/commits/c27927e372f0785f3303e8fad94b85945e2c97b7
kernel (Red Hat package) - addressed in versions 2.6.32-696.16.1.el6, 3.10.0-693.5.2.el7
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.5.2.rt56.592.el6rt, 3.10.0-693.5.2.rt56.626.el7
kernel - addressed in versions 4.12.8-200.fc25, 4.12.8-300.fc26
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.5.2.rt56.592.el6rt, 3.10.0-693.5.2.rt56.626.el7
kernel - addressed in versions 4.12.8-200.fc25, 4.12.8-300.fc26
External References
Related Security Bulletins
- Privilege escalation in Linux Kernel
- OpenSUSE update for Linux Kernel
- OpenSUSE update for Linux Kernel
- OpenSUSE update for Linux Kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (Trusty HWE)
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel
- Ubuntu update for Linux kernel (HWE)
- Ubuntu update for Linux kernel
- Amazon Linux AMI update for kernel
- Red Hat update for kernel
- Red Hat update for kernel-rt
- Red Hat update for kernel
- Fedora 26 update for kernel
- Fedora 25 update for kernel
- Red Hat Enterprise MRG 2 update for kernel-rt